Useful Commands for Linux Users – Episode 6
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.
rename 'y/A-Z/a-z/' *
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:
find ~ -empty
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:
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:
CTRL + L
Like us on Facebook
This week Top Posts
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- Twelve Vulnerabilities Have Been Fixed In Ubuntu 12.04, Time To Update : Canonical has released security updates for Ubuntu 12.04 LTS and advices to update your system as so...1 comment |
- TeamViewer 9 Final Has Been Released! : TeamViewer is a commercial all-in-one software that can be used for remote control, desktop sharing,...0 comments |
- How To Upgrade From Ubuntu 13.04 Raring To Ubuntu 13.10 Saucy Salamander : Ubuntu 13.10 Saucy will be released on October 17th. Hope it will come with lot of improvements and ...0 comments |
- Configure Your Browser To Use Tor On Ubuntu/Debian/Linux Mint : Tor, The Onion Router, is a network of Virtual Tunnels that allows users to communicate securely and...0 comments |
- Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comments |
- TeamViewer 9 Final Has Been Released!
- Twelve Vulnerabilities Have Been Fixed In Ubuntu 12.04, Time To Update
- OpenLDAP Installation and Configuration in Ubuntu 12.10/13.04/13.10 And Debian 6/7
- Configure Your Browser To Use Tor On Ubuntu/Debian/Linux Mint
- Setup A Full Featured ITIL Management System Using Integria IMS On CentOS 6
- Install LibreOffice 4.1.3 in Elementary OS ‘Luna’
- How To Install Simple Scan in Crunchbang ‘Waldorf’
- Selene Media Encoder: Convert Audio, Video Files To Most Popular Formats
- Linux Kernel 3.12.2 Is Available For Download! Install / Upgrade Instructions
- CentOS 6.5 Has Been Officially Released!
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .