This bash alias will take a directory name or path as an argument. alias goto=’cd $1’alias goto=’cd $1′ This is an example of how this alias works. [email protected]:~$ goto /usr/share [email protected]:/usr/[email protected]:~$ goto /usr/share [email protected]:/usr/share$ This is a very neat bash trick. This might not work if the directory name uses spaces though. Generate a very …

To get the command line of a process without the ps command, and the PID of the command is known, use this command. This example is using a process with a PID of 3380. [email protected]:~$ cat /proc/3380/cmdline /usr/lib/vmware/bin/thnuclnt-pdir/tmp/vmware-jason/[email protected]:~$ cat /proc/3380/cmdline /usr/lib/vmware/bin/thnuclnt-pdir/tmp/vmware-jason/thnuclnt-3346-fg This will show the command line of the process without using the ps command. …