Nerd-Site “Seen it all - done it all - cant remember most of it”
www.nerd-site.com

My Linux Notebook


I made this notebook when i found something that i needed to work with linux. I hope this helps you.

NumberCommand lineWhat it is for



1. init 3 when typed into a terminal you will go to a non GUI mode
2. init 5 when typed into a terminal you will go to a GUI mode
3. ls Hello dir
4. cp Hello copy
5. mv Hello move
6. mount -t smbfs -o username=SOMEONE //computer-name/share-map /mountpointmount a windows share
7. uname -a linux kernel version info
8. rpm -q --qf '%{ARCH}\n' kernel use in fedore red hat
9. tar -zxvf filename.tar.gzunzipping a gzip tar file
10. bunzip2 filename unzipping a bz2 file extension
11. gcc -v check your gcc version
12. rm -r Directory Hello delete
13. chown owner directory change ownership
14. chgrp group directory change group ownership
15. chmod ugo +rwx filename change rights user, group, other : read, write, execute
16. chmod ugo -rwx filename remove rights
17. ps shows processes
18. kill process-id kill a process
19. more
20. less
21. rm -rf directory force delete a directory and all subdirectories
22. rpm -i package.rpm Install RPM package
23. rpm -q package name List packages installed with the following name ...
24. rpm -e package name Uninstall package
25. updatedb update database with you're files needed for the command locate
26. locate filename locate a file or directory
27. ls -l /dev/cdrom locate the where the cd-rom is attached to hda-hdd
28. ln -s /dev/hdb /dev/dvdcreate a symbolic link
29. ldconfig update library files
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
Last Update10-05-2008