How to make terminal ask for password every time you type sudo command

On December 19, 2009, in password, sudo, terminal, by Dipin Krishna

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 […]

 

Check your unread messages in Gmail, from terminal

On September 24, 2009, in gmail, terminal, by Dipin Krishna

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 . […]

 

Search Google.com from the Linux command line

On September 6, 2009, in command, Google, search, terminal, by Dipin Krishna

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 […]

 

Keyboard shortcuts that you can use within terminal

On August 29, 2009, in keyboard, shortcuts, terminal, by Dipin Krishna

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: a terminal-based package manager

On August 26, 2009, in aptitude, package manager, terminal, by Dipin Krishna

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 […]

 

Howto: disable beep sound in Terminal mode

On August 20, 2009, in beep, disable, terminal, by Dipin Krishna

Some of you may be annoyed with the beep sound in terminal.If you want to get rid of that just follow these steps: Applications -> Accessories -> Terminal Terminal Edit Menu -> Current Profile… General Tab -> General -> Terminal bell (Un-Checked) ————————————————————————— The GNU/Linux Advanced Administration: In this ebook “The GNU/Linux Operating System”, the […]

 

Search