Thursday, April 4, 2013

Linux tips

Copy shell script from inside
cp $0 destination

Remove file with name starting with dash
rm -- -file-with-weird-prefix


No comments:

Post a Comment