Useful bash aliases

alias rast='sudo service apache2 start' alias rare='sudo service apache2 restart' alias cdwdir='cd /mnt/c/inetpub/wwwroot/lre-player/' #here put your actual path lre_repack() { declare -r CUR_DIR=$PWD; echo $CUR_DIR; cdwdir; webpack; echo $CUR_DIR; cd $CUR_DIR; }
make sure your run
[$ source ~/.bash]
after you done editing your .bash file

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.