Useful Commands for Linux Users

Using the command-line in your everyday activities more than the GUI sometimes shows the geek you are. If you haven’t read the Episode 5 of this tutorial, here it is.

Here is another useful commands that will help you to make good use of the terminal.

Command execution time

The command below prints out the duration or how long a command takes before it is executed:


Display processing tree

This is helpful to display the process tree:


Change all file names to lowercase

This command changes file names containing capitals to lowercase in current directory, it really good for renaming images from a digital camera which contains Uppercase, lowercase and numbers to lowercase and numbers only.


Viewing installed packages

This command enables you to view packages installed on your computer:


Listing hardware connected to ports

Hardware connected to USB ports:


Also, for PCI:

Listing empty files and directories

With this command, you can find all empty files and directory in your current directory:


For empty files in the home directory from your present working directory use:

Linux distribution info

This prints information about the Linux distribution you are using:


Let terminal guess commands 

Some commands are very difficult to recall in certain situations , thus the apropos command prints possible commands relating to a specific text and what they do:


Clearing Terminal

Don’t be worried about this command. Everyone knows about it. Simple:

But a simpler and faster way of doing this is to do this:


About these ads

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s