ln -sfn [linkbase] [linktarget]Makes a symbolic link and if the link already exists it creates it with the new options. This does not work for files since thenparameter stand fpr directory.
mysqldump -u root -p [DB-NAME] | gzip > [DB-NAME].sql.gzdump a DB and gzip it.zcat [DB-NAME].sql.gz | mysql -u root -p [DB-NAME]import a gzipped dumb to DB.
git clone [repo url] --branch [branch name]to clone a repo with a specific branchgit rebase -i [Startpoint of changes commit/branch]leads to rebasegit cherry-pick [lost commit]if your Branch Label was set wrong f.e. you accidentaly killed one commit cou can checkout that branch and cherry pick the commit into
composer run-script post-update-cmd -vvv -- --redeployredeploys a composer project
if you're on php5.5 then it is sudo php5enmod xdebug sudo php5dismod xdebug
for higher versions it is sudo phpenmod module sudo phpdismod module