cli:

Super Useful Bash Commands

List all services sudo service --status-all Create a nested directory if it doesn’t exist already. mkdir -p /nested/directory To list detailed information about all items (visible and invisible) in the current directory (the -a option is to show all files, the -l option is to show details) ls -al To list the contents of your Documents folder and all sub folders (this may take a while if you have a large Documents folder) ls -R ~/Documents Find process which is listening to port 3000, and kill that process or process group sudo lsof -i :3000 kill -9 <PID> kill -9 -<PID> [Dangerous] Recursively delete EVERYTHING files rm -rf /tmp/* // everything in '/tmp/' folder rm -rf .

by lek tin in "linux" access_time 4-min read