Monday, November 24, 2008

How to group UNIX Solaris, Linux commands

Simply group them in a small bracket and separate them by semi colon (;)

123-bash: (ls -1;pwd;cd /tmp/curl)

It will list the files in CWD first, print the directory you are in, cd to /tmp/curl

No comments: