DEV Community

Discussion on: Linux's commands and tricks I'm using in my daily job as a developer

Collapse
 
vinayhegde1990 profile image
Vinay Hegde

If you've a common SSH login with sudo (shouldn't be the case mostly), do be careful with !! as you could end up running a potentially dangerous command in a hurry.

You could use sudo lsof -i :80 to identify which app is taking up a port instead of netstat & ps

Also zless to view gzipped logs without extraction & wget -c URL to retry downloads in case of issues.