when you type sudo command for the first time in a terminal it will ask you the sudo password.This password will be remembered by that terminal for 15 minutes by default. If you want terminal to ask for password each time you type sudo command just do as said below.1. Type at terminal sudo visudo
Using the following command, you can check your unread messages in gmail, from terminal: $ curl -u username –silent “https://mail.google.com/mail/feed/atom” | perl -ne ‘print “\t” if //; print “$2\n” if /(.*)/;’ replace username with your gmail username. This command will promt for your password, enter it and view your unread in your gmail account .
You can search Google.com from the Linux command line without using a command line web browser like lynx or Elinks. All u need is the curl and html2text packages installed. Then issue the following command: curl -A Mozilla http://www.google.com/search?q=Dipin+Krishna |html2text -width 60 where you can replace Dipin Krishna with another keyword of your choice. The
You can use keyboard shortcuts and other command line tricks to make entering commands easier and faster. You might already know about the ‘tab’ key which completes partial commands and even file and directory names. Here are some other keyboard shortcuts you can use within terminal: Ctrl-a Move to the start of the line.Ctrl-e Move
Aptitude is a terminal-based package manager that can be used instead of apt-get. Aptitude marks packages that are automatically installed and removes them when no packages depend on them. This makes it easy to remove applications completely. To use Aptitude, replace apt-get with aptitude in the command line. Example: sudo aptitude install packagenamesudo aptitude remove