My Shit

Wednesday, July 25, 2012

Bash Tips

To  save a file to stdout and also to a file

ls -al | tee blah.txt
for more explanation of the technique check out this blog

Examples of cut
http://linux.101hacks.com/linux-commands/cut-command-examples/


Posted by Abhinav at 9:22 AM No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2016 (1)
    • ►  July (1)
  • ►  2014 (3)
    • ►  August (1)
    • ►  April (2)
  • ►  2013 (1)
    • ►  June (1)
  • ▼  2012 (1)
    • ▼  July (1)
      • Bash Tips
  • ►  2011 (2)
    • ►  August (1)
    • ►  March (1)
  • ►  2009 (2)
    • ►  May (2)
  • ►  2008 (5)
    • ►  December (3)
    • ►  January (2)
  • ►  2006 (5)
    • ►  March (5)
  • ►  2005 (25)
    • ►  December (2)
    • ►  November (4)
    • ►  September (3)
    • ►  July (1)
    • ►  May (4)
    • ►  March (4)
    • ►  February (6)
    • ►  January (1)

About Me

Abhinav
This is my sounding board. Nothing to sound off though
View my complete profile

My Payroll

  • http://krishashok.wordpress.com/
Simple theme. Powered by Blogger.