Files that have a dash at the start of their name have to be handled with special options because a dash is also used for arguments of the commands. In this video i display some examples.
cat ./-ls
cat -- -l
rm -- -ls
Solaris Administration secrets and programming
Files that have a dash at the start of their name have to be handled with special options because a dash is also used for arguments of the commands. In this video i display some examples.
cat ./-ls
cat -- -l
rm -- -ls
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jul | Sep » | |||||
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
1 user commented in " Manage files with a dash in their name "
Follow-up comment rss or Leave a Trackbackvery interesting men!!!
Leave A Reply