My New Direction

Linux, coding, etc… and a really amusing name….
  • Home
  • About This Site
Switcher

Archive

Archive for October, 2009

Automatically repeating a command in Linux

October 19th, 2009
No comments

Sometimes it’s nice to watch a folder or service without repetitively running the command and hitting enter over and over.  Use  the command Watch to automate this task.  Below is an example to watch ps aux while grepping for “ssh”

watch -n 1 “ps aux | grep ssh”

admin Linux Tutorials

RSS feed
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Pages

  • About This Site

Categories

  • .NET
  • AMS Legal
  • GTK Themes
  • Icons
  • Linux Apps
  • Linux Games
  • Linux News
  • Linux Tutorials
  • Metacity Themes
  • PHP
  • Screenshots
  • Uncategorized
  • Wallpaper

Links

  • Avanti Window Manager
  • Beryl Project
  • Gnome-Look
  • Gui Styles
  • Rick Emersion
  • Screenlets

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Categories

  • .NET
  • AMS Legal
  • GTK Themes
  • Icons
  • Linux Apps
  • Linux Games
  • Linux News
  • Linux Tutorials
  • Metacity Themes
  • PHP
  • Screenshots
  • Uncategorized
  • Wallpaper

Archives

  • June 2010
  • October 2009
  • September 2009
  • July 2009
  • February 2009
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • January 2008
  • December 2007
  • October 2007
  • August 2007
  • July 2007
  • May 2007
  • April 2007
  • March 2007

Meta

  • Log in
Top WordPress
Copyright © 2007-2010 My New Direction
Theme by mg12. Valid XHTML 1.1 and CSS 3.