mkdir: Make a Directory
rm [-rf]: Remove files
history [-c]: View Recently used commands the -c to clear it
fsck: Filesystem consistency check and repair
kill <process>: Stops a process from running
passwd: Change the password
rmdir: Delete a Directory
who: prints all users logged on
whoami: Prints Current user ID
*remember man is good to you... its the MANUAL*
cd <directory>
Change directory to <directory> Note: ../ is to go back a directory.
chmod a+x <file>
Change permission of file to all + excecute.
ls
List the stuff in this directory.
rm <file>
Delete <file>. Note: You may need command 2.
top
shows top processes, use kill -9 [PID]
to kill process in top if oyu type k it writes kill
vi <file>
Edit file in vi text editor Note: Type ":qa!" without the quotes and press enter to quit WITHOUT saving.
./<file>
Excecute <file>.
mv <file> <newfilename>
Rename <file> to <newfilename>. Note: If the new file name has a directory in it as in "../Desktop/file.txt" will move the file back one directory into desktop and name it file.txt.
su
Become root. Note: sudo <command> is a command to do a function as root.
shutdown now
Shutdown the computer... NOW!
cc <file>
Compile c source code. Note: gcc <file> is another compiler.
pwd - displays the path to your current directoy. cd /usr/share/, then pwd, would result in: /usr/share.
clear - clears everything from your console screen
cat - cat <filename> echos the content of a file to your console window
less - echos the contents of a file to the window one page at a time, advanced by spacebar.
Those are the basic commands... for more indetailed advice, goto to this website. It has a detailed overview of ALL the current linux commands
http://www.linuxdevcenter.com/linux/cmd/
Recent comments
1 day 1 hour ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 6 hours ago
2 days 8 hours ago