Skip to content

Instantly share code, notes, and snippets.

@aminelch
Last active April 29, 2019 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aminelch/6f14fbf6cf0510d2b8678bbd4b425d11 to your computer and use it in GitHub Desktop.
Save aminelch/6f14fbf6cf0510d2b8678bbd4b425d11 to your computer and use it in GitHub Desktop.
qlq commandes utiles
#simple unzip
unzip latest.zip
#To unzip a ZIP file in a different directory than the current one, use the -d switch.
unzip filename.zip -d /path/to/directory
#To enable and disable services to auto-start at reboot, use the following commands
#Enable service
chkconfig httpd on
#Disable service
chkconfig httpd off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment