I am listing some linux commands which can help you to get arround Linux (RHEL 5)
Command Uses
clear Clearing the screen
date To see The current date and time
date 12923202009 Sets the time and date to
cal display current month calendar
cal 2010 display calendar for 2010
pwd your current location in system
cat filename show the contect of the file specified, on the screen
head filename show the first 10 lines of the file specified, on the screen
tail filename show the last 10 lines of the file specified, on the screen
rm filename Removes a file
rm -rf Dirname deletes NON-Empty directory
rmdir Dirname removes a EMPTY dir
locate filename finds all files matching the filename (you are required to run updatedb before running this command)
find / -name filename search for the file in the system
cd location changing directory to the specified location
EX: cd /etc
seq 100 display a count from 1 to 100 on screen
man commandname To get help on the specified command
chvt 3 switching to CUI tty3 from GUI terminal window
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
No comments:
Post a Comment