Very useful Linux terminal commands

2008 septembrie 11
by Andrei

Command What does it do?
tar xvf MyCuteApp.tar extract the the application from the archive
cd MyCuteApp navigates to the extracted folder
./configure configures the app you want to install
make compiles the app
su allows system wide changes
make install installs the application
pwd shows current folder
cd /home/user/MyFolder/ navigating to a folder
ls /home list of what’s in a folder
mkdir NewFolder create a new folder
Action Example for Folder Example for File
Copy cp Folder /user/home -r cp File /user/home/
Move mv /user/home/Folder /media/USBStick/ mv /user/home/picture.jpg /media/USBStick
Remove rm /user/home/Folder -r rm /user/home/picture.jpg
Show the current date and time date
Show this month’s calendar cal
How much time did I spend at the computer uptime
Who are you? whoami
Brag about how much free RAM you have on Linux free
Where is that application I just installed whereis [app]
Disk space usage df -h

Shutdown:

sudo shutdown [-h][-r] now

to shutdown or restart your linux box. Remember to remove the brackets and use only one at a time option.

Show the manual for a command:

man command

One Response leave one →
  1. 2009 martie 6

    thanx for admin

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS