Stringing Together Linux Commands
If you're lazy or you're trying to optimize your time by being more efficient with your keystrokes, here's a tip for you.
To execute multiple commands in a single line you can concatenate them together by using the semi-colon.
Example: To see the date and time stamp and then look at your mail queue count you could do this:
$ date; qmailctl queue |wc -l
Thu Dec 4 11:07:26 EST 2008
11178
- matt.goodwin's blog
- Login to post comments
