Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-19-2007, 08:53 AM   #1
LQ Newbie
Registered: Nov 2006
Distribution: Debian and Ubuntu
Posts: 18

Rep: Reputation: 0
qucik startup question

I am running debian server on my linux box, when the system boots or when i logout I would like to have a qucik script to clear the screen so that all that info is not displayed. Im still learning more about linux and am new to scripting in linux so if anyone could help me it would be appreciated. Thanks
Old 03-19-2007, 09:02 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
To clear your session when you logout, put the command "clear" in a users .bash_profile e.g.
$echo "clear" >> ~/.bash_profile
To clear login messages, try putting the command "clear" in your /etc/init.d/rc.local. If the file does not exist on your Debian system, use this guide to create it.

Last edited by reddazz; 03-19-2007 at 09:55 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 hd,2 os startup question MRDucks Linux - Newbie 9 09-04-2005 11:19 AM
X Startup Question gsibble Linux - General 5 11-27-2003 05:25 AM
Startup Question Mojojo Linux - General 1 06-07-2003 03:27 PM
NAT startup question WorldBuilder Linux - Networking 4 05-15-2003 11:47 AM
startup question Ryan_Sutton Linux - Newbie 4 06-04-2002 08:55 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration