Skip to content

Instantly share code, notes, and snippets.

View nadeem-khan's full-sized avatar

Nadeem Khan nadeem-khan

View GitHub Profile
@nadeem-khan
nadeem-khan / Git-Commands
Last active December 9, 2016 11:53
Git Commands
git log -n 2
git log --since=2012-06-15
git log --until=2012-06-15
git log --author="Nadeem"
git log --oneline
git log SHA1..SHA2 --oneline
git log SHA..index.html
git log --format=short
git show SHA
git show --format=online HEAD
@nadeem-khan
nadeem-khan / Linux-Commands.md
Last active September 10, 2018 12:40
Common Server Related Linux Commands.md

Generic commands

find -name skype
whereis drush
sh file.sh //(installing .sh files)
cat file.txt //(open file)
touch file.txt //(creates an empty file)
makedir -p abc/def/ghi //(will make all folders)
less etc/file.txt

echo $PATH