Tips &Tricks Blog

0

can not run shell script from command line on mac

To run any script you need to have executable write of that script. chmod 755 ./script_name.sh chmod 755 – gives you full permission. It gives only read and execute permission to everyone else.

0

How to check your ubuntu version

Occasionally you might want to know the version of ubuntu when installing a package. I usually use the following command $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy DISTRIB_DESCRIPTION=”Ubuntu Saucy Salamander (development branch)”

0

How to remove untracked files using git?

git clean removes all the untracked files from the project. It is very in large projects where you have lots of build related, log files which are not necessary to build the product. If...