next up previous contents index
Next: B.3.6 Keeping a Copy Up: B.3 Entering Text Commands. Previous: B.3.4 Introduction To Terminal   Contents   Index

B.3.5 A Brief List of Linux Text Commands

My recommendation is that you purchase a text that sets out in rather detailed fashion all of the common commands that ship with Linux. Beyond this there are also a set of commands that may be specific to the distribution that you are using and you should consult a manual specific to that.

The listing below are those that I commonly deal with during a Linux session.



Table B.1: Short List of File Commands
What It Does Command Sample
List Directory Contents ls ls -l /home/ray/*.rpm
Change Working Directory cd cd /usr/local/emc
Copy File cp cp emc.ini mymill.ini
Move File mv mv mymill.ini bobmill.ini
Remove File rm rm mymill2.ini
Change File Owner chown chown ray mymill.*
Change File Group chgrp chgrp operators mymill.*
Change File Permissions chmod chmod a+rwx mymill.*
Make a Directory mkdir mkdir /usr/local/emc2
Remove a Directory rmdir rmdir /usr/local/emc2
View All Contents of File cat cat /usr/local/emc/emc.run
View Chunks of File more more /usr/local/emc/emc.run




Table B.2: Short List of General Commands
What It Does Command
Super User Mode su
Who Am I whoami
Where Am I pwd
Drive Free Space df
Shut Down PC halt -n
Reboot PC reboot



next up previous contents index
Next: B.3.6 Keeping a Copy Up: B.3 Entering Text Commands. Previous: B.3.4 Introduction To Terminal   Contents   Index
root 2003-05-26