| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,865
» Latest member: asabinney
» Forum threads: 9,445
» Forum posts: 62,329
Full Statistics
|
| Online Users |
There are currently 1341 online users. » 0 Member(s) | 1337 Guest(s) Applebot, Baidu, Bing, Google
|
| Latest Threads |
Not Able to Install Googl...
Forum: Installing Software
Last Post: Orson_Yancey
6 hours ago
» Replies: 17
» Views: 764
|
Can't test LinuxLite 7.6 ...
Forum: Installing Linux Lite
Last Post: SharkyEXE
Yesterday, 12:24 PM
» Replies: 24
» Views: 11,356
|
Can't test LinuxLite 7.6 ...
Forum: Installing Linux Lite
Last Post: SharkyEXE
Yesterday, 08:10 AM
» Replies: 0
» Views: 29
|
Cant find up-to-date driv...
Forum: Video Cards
Last Post: justsumrandomcreture
01-13-2026, 02:18 AM
» Replies: 0
» Views: 83
|
update error - PPA (stace...
Forum: Updates
Last Post: stevef
01-12-2026, 11:19 AM
» Replies: 1
» Views: 110
|
trying to update (while) ...
Forum: Installing Linux Lite
Last Post: stevef
01-11-2026, 08:27 AM
» Replies: 1
» Views: 106
|
Troubles installing 7.6 o...
Forum: Installing Linux Lite
Last Post: stevef
01-09-2026, 01:59 PM
» Replies: 3
» Views: 240
|
redshift-gtk
Forum: Other
Last Post: di0lh0
01-09-2026, 01:31 AM
» Replies: 1
» Views: 149
|
Linux Lite 7.8 RC1 Releas...
Forum: Release Announcements
Last Post: sqwuade
01-08-2026, 08:01 PM
» Replies: 23
» Views: 4,222
|
why that change in system...
Forum: Installing Linux Lite
Last Post: valtam
01-02-2026, 11:49 PM
» Replies: 3
» Views: 534
|
|
|
| Changing loging shell and/or terminal prompt |
|
Posted by: Moltke - 09-17-2018, 11:34 PM - Forum: Tutorials
- Replies (2)
|
 |
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 Code: $ cp ~.bashrc .bashrc.bak
but it's really not neccesary. Like I said, Linux's smart enough not to let you screw things up ;D
In order to change your login shell simply type in your terminal:
If the command above doesn't work you may use:
One or the other will list all installed/available shells in your system, to change the current shell for one of those available type:
Code: $ chsh -s desired shell's name
for example
You'll be asked to type your password, do so then logout/login back, open a terminal and type:
your new shell's name should be displayed. In our example it'd show:
![[Image: 5bvaz4.jpg]](http://i66.tinypic.com/5bvaz4.jpg)
Changing the terminal prompt is quite easy using the command for example, this is how my terminal prompt is configured: Code: $ PS1='\[\e[1;36m\][\t \u \[\e[0m\]\W \$]'
where; \e= An ASCII escape character (033), 1;36m\= bold font and cyan color, \t= current time, \u= current logged user, \W= current working directory, \$= current prompt symbol.
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:
Code: $ nano .bashrc #change nano for your preferred editor, i.e; vi
and add something like this: export PS1='\[\e[1;36m\][\t \u \[\e[0m\]\W \$] '
Well, 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 |
|
Posted by: Shanti - 09-17-2018, 08:34 PM - Forum: Introductions
- Replies (3)
|
 |
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.
|
|
|
| Tunnel Gre problem between two hosts (vps and dedicated server) |
|
Posted by: AleDevite - 09-17-2018, 02:52 PM - Forum: Other
- Replies (10)
|
 |
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
|
|
|
| Pro Bash Programming |
|
Posted by: bitsnpcs - 09-17-2018, 02:06 AM - Forum: Scripting and Bash
- Replies (2)
|
 |
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)
|
|
|
| Day has been turn upside down |
|
Posted by: bluzeo - 09-16-2018, 04:36 PM - Forum: Off Topic
- Replies (1)
|
 |
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.
|
|
|
| Can't get Epson WF-2760 Scanner to work in Linux Lite 4.0 |
|
Posted by: Abw - 09-16-2018, 04:51 AM - Forum: Printing and Scanning
- Replies (2)
|
 |
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
|
|
|
| Keyboard layout for Acer Aspire One |
|
Posted by: Domenico Crimaldi - 09-16-2018, 04:49 AM - Forum: Other
- Replies (1)
|
 |
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
|
|
|
|