skip to main | skip to sidebar

puretechie

Our technical scratch pad

Monday, November 19, 2007

Simple But intriguing

1) How does one create a file starting with hyphen(-)?
2) How does one remove a file starting with hyphen(-)?


My Solution
===========
1)
bash-2.05$touch a
bash-2.05$tar cvf -c.tar a
2)bash-2.05$ rm ./-c.tar
Posted by Shantanu at Monday, November 19, 2007 1 comment:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

My photo
Shantanu
shantanugudihal.com
View my complete profile

Links

  • phrack magazine

Blog Archive

  • ►  2024 (4)
    • ►  February (2)
    • ►  January (2)
  • ►  2023 (1)
    • ►  February (1)
  • ►  2016 (1)
    • ►  September (1)
  • ►  2013 (3)
    • ►  July (2)
    • ►  June (1)
  • ►  2012 (4)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
  • ►  2011 (2)
    • ►  October (1)
    • ►  February (1)
  • ►  2010 (1)
    • ►  August (1)
  • ►  2009 (4)
    • ►  December (1)
    • ►  September (1)
    • ►  July (1)
    • ►  February (1)
  • ►  2008 (8)
    • ►  October (1)
    • ►  September (2)
    • ►  June (1)
    • ►  May (3)
    • ►  April (1)
  • ▼  2007 (20)
    • ▼  November (1)
      • Simple But intriguing
    • ►  October (4)
    • ►  August (1)
    • ►  June (2)
    • ►  May (2)
    • ►  April (1)
    • ►  March (5)
    • ►  February (4)
  • ►  2006 (26)
    • ►  December (2)
    • ►  October (2)
    • ►  September (2)
    • ►  August (5)
    • ►  July (3)
    • ►  June (1)
    • ►  April (3)
    • ►  March (1)
    • ►  February (3)
    • ►  January (4)
  • ►  2005 (1)
    • ►  December (1)