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.
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 |
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 |