Tuesday, October 9, 2012

Linux commands: Cygwin


+ pwd : show current home path
+ cd /cygdrive/c : to access c drive outside Cygwin home
+ ls : list all files or folders
+ grep "Response Time" MyTest*>test.txt : extract all lines which has text “Response Time” in all files AppmntSched and output to test.txt
+ grep "Response Time" MyTest.log>test.txt : extract all lines which has text “Response Time” in AppmntSched.log and output to test.txt

No comments:

Post a Comment