Posts Tagged ‘Bash’

Howto : Twitter from Command Line…

January 25th, 2010

This is a tutorial explaining how to post to Twitter using command-line in Linux, without needing to even open up your web browser….

First, install the curl package:

sudo apt-get install curl

Next, create a script anywhere in your $PATH, for example tweet.sh inside ~/bin, where ~ is your home directory (make sure ~/bin is included in your $PATH variable, in case echo $PATH doesn’t return it, edit ~/.bashrc and add a line like this: export PATH=/home/USER/bin/:$PATH)…

The script tweet.sh should contain the following: Read the rest of this entry »

Tags: , , , , , ,
Posted in Techi Gyaan | Comments (0)

How to Work with Bash History!!!

August 6th, 2009

Although there are many shells available for Fedora, RedHat and its clones, such as tcsh, ksh, sh and the like, up until now bash still remains the default shell of choice. This does not come as a surprise because bash (which stands for Bourne Again Shell) has numerous lightning fast built-in commands that can manipulate and explore system on large and limited scales. Read the rest of this entry »

Tags: ,
Posted in Fun Gyaan | Comments (0)