Home

ttamniwdoog.com

Login

Website Magazine

Tags in Blog Vocab

admin Advanced Search Operators Block blog calendar ColorZilla command line cron Dell Precision 340 Derived Tables dig Drupal FireBug Firefox add-ons Google Google Analytics Joomla jos_users KeeneYPN linux LOCATE lynx MD5 mobile MX records MySQL mySQL table OPHCrack live CD Outlook Password php phpMyAdmin recovery salt single quotes SQL SQL Server tar Taxonomy Technorati Temp Tables tool ubercart Untar Web Development Toolbar wget Windows Windows Vista Windows XP YSlow
more tags

Navigation

  • Contact

Artisteer - Drupal Theme Generator

Stringing Together Linux Commands

Posted Thu, 12/04/2008 - 11:08 by matt.goodwin

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

  • Printer-friendly version
  • matt.goodwin's blog
  • share
  • Send to friend
Theme provided by Acquia, Inc. under GPL license from TopNotchThemes Drupal themes