- Nishant Shrivastava
nishant@weboniselab.com
github : nishant-shrivastava
twitter : n1shant

Content
//Listing the files under folder (or location)$ ls//Shows you the current Path [Print Working Directories]$ pwd//Creating a file$ touch test_file.txt//Writting into a file : The Shell Way$ echo "I command thee..! Write on to the file." > test_file.txt//Read a file$ cat test_file.txt//Creating a link to the file$ ln test_file.txt wormhole.txt
//Creating a directory$ mkdir officers//Switching on to directories$ cd officers/$ touch captains.log$ cd ../$ mkdir kirk//Creating a Soft Link$ ln -s officers/ kirk///Copying the whole directory$ cp -r officers captains//Removing directories$ rm -r officers
- READ- WRITE- EXECUTE
~/.bash_profile//For increasing the size of the lines, written on historyexport HISTFILESIZE=10000export HISTSIZE=10000// For changing the setting to append the history, not rewrite it// whenever you open up a Terminalshopt -s histappend// To overcome history for multiple shell (for history)export PROMPT_COMMAND='history -a'
- Quick Start :
Creating a repository//intialize the git repository$ git init//Adds all the new (uncommited) files to the local repository$ git add .//commit all the files to the local repository (along with a message)$ git commit -m 'Bruce Wayne is not Batman..!!!'
- Cloning a repository
$ git clone git@github.com:vparihar01/gitbabu.git
$ mkdir BTLV-Webo$ cd BTLV-Webo$ git init$ git commit -m 'Here goes the first commit'$ git remote add origin git@github.com:btlventures/BTLV-Webo.git$ git pull origin master$ git push -u origin master
