Last active
August 11, 2019 15:22
-
-
Save dasbairagya/8ce94f132e56f4c899d3ea8a6f192cee to your computer and use it in GitHub Desktop.
Some useful Linux commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USEFULL COMMANDS------------------------------------------------- | |
๐๏ธ man ls [to get the all info with the ls command] | |
q [ to quit the man command] | |
๐ค๏ธ gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize' [ minimize item on click from dock menu] | |
๐คฉ๏ธ ln -s /opt/lampp/htdocs ./Desktop [create soft link-shortcut of htdocs to desktop] | |
๐ค๏ธ gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize' [ minimize item on click from dock menu] | |
๐๏ธthird party directory: /etc & /usr/share | |
๐๏ธLamp Service Commands------------- | |
๐๏ธ sudo systemctl status apache2 | |
๐๏ธ sudo systemctl restart apache2 | |
๐๏ธsudo service apache2 restart | |
๐๏ธ Install Sticky Notes------------------------------------------- | |
๐๏ธ sudo add-apt-repository ppa:umang/indicator-stickynotes | |
๐๏ธ sudo apt-get update | |
๐๏ธ sudo apt-get install indicator-stickynotes | |
๐๏ธ Install cheese------------------------------------------------- | |
๐๏ธ sudo apt-get install cheese ๐ต๏ธ[install comand line for webcam] | |
cheese [to open cheese] | |
๐๏ธFind Error in php file via console ------------------------------ | |
๐๏ธ php -l filename.php[find the error of a file eg.index.php] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment