Hi everyone! Hope you're all having a nice life! 
Today I'd like to share with you some basics on how to change the login shell and/or terminal prompt. It's a completely and entirely safe procedure which will make no harm to your system, because that's how smart Linux is
However, if it makes you feel better/safer, you can make a backup of your .bashrc file located in your home folder
$ cp ~.bashrc .bashrc.bakIn order to change your login shell simply type in your terminal:
$ chsh -lIf the command above doesn't work you may use:
$ cat /etc/shellsOne or the other will list all installed/available shells in your system, to change the current shell for one of those available type:
$ chsh -s desired shell's namefor example
chsh -s /bin/zshYou'll be asked to type your password, do so then logout/login back, open a terminal and type:
echo $SHELL$ /bin/zsh![[Image: 5bvaz4.jpg]](http://i66.tinypic.com/5bvaz4.jpg)
Changing the terminal prompt is quite easy using the command
$ PS1=ARGS$ PS1='\[\e[1;36m\][\t \u \[\e[0m\]\W \$]'resulting in this:
![[Image: 25ewhhh.jpg]](http://i68.tinypic.com/25ewhhh.jpg)
However, this is only temporary and it will be back to defaults in your next login, if you want to make it permanent edit your .bashrc file to make it so:
$ nano .bashrc #change nano for your preferred editor, i.e; viWell, that's it. This is the basics for changing the login shell and/or terminal prompt. Here's a couple of links to some very instructional sites/articles on these topics
https://bash.cyberciti.biz/guide/Changing_bash_prompt
https://wiki.archlinux.org/index.php/Com...ive_shells
Hope you find this helpful!
Hello
I seen Linux Lite last year for first time. I been looking around it, tonight is my first time online using it. I like it coz its nice and is fast.
Hello guys i need to resolve this problem (all server have installed centos 7): i'm trying to create a gre tunnel through vps (in Italy - OpenVZ)
and a dedicated server (in Germany), but they do not communicate internally (ping and ssh command tests).
Next i create a gre tunnel trought vps (in Italy - OpenVZ) and vps (in France - KVM OpenStack) and their communicate, i next i had create a tunnel trought vps (in France - KVM OpenStack) and a dedicated server (in Germany) their communicate.
I can not understand why the vps (in Italy - OpenVZ) and the dedicated server (in Germany) do not communicate,
ideas on how I can fix (I also tried with iptables disabled, firewalld is not enable)? Thanks
Quote: 1. VPS command for tunnel:
- echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
iptunnel add gre1 mode gre local VPS_IP remote DEDICATED_SERVER_IP ttl 255
ip addr add 192.168.168.1/30 dev gre1 ip link set gre1 up
2. Dedicated server command for tunnel:
- iptunnel add gre1 mode gre local DEDICATED_SERVER_IP remote VPS_IP ttl 255
ip addr add 192.168.168.2/30 dev gre1
ip link set gre1 up
Quote:[root@VPS ~]# ping 192.168.168.2
PING 192.168.168.2 (192.168.168.2) 56(84) bytes of data.
^C
--- 192.168.168.2 ping statistics ---
89 packets transmitted, 0 received, 100% packet loss, time 87999ms
[root@DE ~]# ping 192.168.168.1
PING 192.168.168.1 (192.168.168.1) 56(84) bytes of data.
^C
--- 192.168.168.1 ping statistics ---
92 packets transmitted, 0 received, 100% packet loss, time 91001ms
Quote:[root@VPS ~]# lsmod | grep gre
ip_gre 4242 -2
ip_tunnel 4242 -2 sit,ip_gre
gre 4242 -2 ip_gre
[root@DE ~]# lsmod | grep gre
ip_gre 22707 0
ip_tunnel 25163 1 ip_gre
gre 13144 1 ip_gre
I'm using a very old laptop with a not so good specs and I've decided to switch from Windows 7 to Linux Lite to maximize it. I'm a complete noob, don't know any codes whatsoever but I would like to learn.
How do I install Linux Lite using a virtual machine? I've been watching videos on YouTube but all of them already have a VM which confuses me if I have to download a VM or it is automatic if I click the install for Linux Lite link.
And what should I put in it?
My laptop specs:
laptop specs Acer Aspire 4730z
- processor Intel ® Pentium ® Dual CPU T3400 @ 2.16 GHz 2.17 GHz
RAM 3.00 Gb
System type 64-bit OS
local disk 79.4
yeah my laptop sucks, but it's working so I deal with it
I heard about this book kindly from [member=7109]Moltke[/member]
Thread for everyone to discuss learning from this book.
Chapter 1 highlight so far -
making the Hello World file using the terminal directly and saving to the bin folder, then altering its permissions, and running in terminal from its filename alone, gave me a big smile, it is so very concise and efficient a method. 8)
I heard about this book kindly from [member=7109]Moltke[/member]
Thread for everyone to discuss bash learning from this book.
Hey guys my day has suck and I’m over here listening to both sides but I agree with my grandpa i wasn’t treated right and left that job even though I was trying to keep that bridge open
God Not dead.
Hi, In my time with linux (all the way back to 2004) scan detection has always been an issue.. You got to wonder why it is no one has figured out how to make it full proof right out of the box. (Like Windows does) Anyway I'm liking Linux Lite over Ubuntu! surprise huh.My WF-2760 prints but the scanner is not detected. I'm not interested in config files being wrongly setup nor am I interested in any complicated solution. I'm to old to figure all this out. Does anyone have a simple solution? Real simple? If you think you can figure it out I'd be willing to give you the ID and temp password to Teamviewer so you can get on and get the scanner going, how bout that? This would be very much appreciated.
Thanks for helping, Andrew
Hi!
I love Linux.I am looking for the perfect distro suited to my needs.I am trying Linux Lite Live.I tried to use @ but was unable to.Then I changed the keyboard layout.But I still can't use the keyboard normally as I was used to.What shuold I change?Standard pc101?What?Thanks
Hi!
I love Linux.I am looking for the perfect distro suited to my needs.I am trying Linux Lite Live.I tried to use @ but was unable to.Then I changed the keyboard layout.But I still can't use the keyboard normally as I was used to.What shuold I change?Standard pc101?What?Thanks
