If you already have the PID of a process, running the following command will get you the process name ls -l /proc/PID/exe
Getting the ip address is pretty simple. hostname -i To know the hostname, just drop the -i hostname While at it, to know what user you are signed in as, just type whoami
Simply pipe the output of your command to the tee command. See examples below. ls | tee filename The tee command overwrites the output file. To append, use $ ls | tee –a file...
If you dont really want to open sublime text from Unity(which is the desktop manager for Ubuntu), just use this command and save yourself some mouse movements. subl &
Type the following command in your terminal lsb_release -a
If you need to continuously switch between two different directories from the command line or in a shell script, this is a super handy command to do just that. cd –
On your terminal, use this command to create any number of nested directories in a single command. mkdir -p dir1/dir2/dir3/dir4/dir5