Skip to content

Instantly share code, notes, and snippets.

@AvinashDalvi89
Last active May 26, 2022 05:36
Show Gist options
  • Save AvinashDalvi89/7a2b94b8ea44ba2986b15ec448c00533 to your computer and use it in GitHub Desktop.
Save AvinashDalvi89/7a2b94b8ea44ba2986b15ec448c00533 to your computer and use it in GitHub Desktop.
Useful handy command
// tracking linux or ubuntu
sudo tail /var/log/apache2/error.log
// or macOS error log
/private/var/log/apache2/error_log
// check disk space in ubuntu
df -h
// Grep command to search into files
grep -lrnw '/root/Desktop/ipozal' -e 'geolocation'
// to check space of EBS volume in terminal
df -hT /dev/xvda1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment