Reputation
9,777
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 29 49
Impact
~514k people reached

Jul
24
comment How to delete files only, but keep the directory structure?
@slm: The templates also don't show the escaping of the semicolon, which is generally necessary when using a shell to execute find. I think the templates are meant to show which arguments the find command needs and don't worry about anything shell-related.
Jul
24
comment How to delete files only, but keep the directory structure?
From the GNU find manpage: "Notice that the braces are enclosed in single quote marks to protect them from interpretation as shell script punctuation." I'm not sure when it's necessary though. I mostly do it out of habit. The find command never sees the quotation marks. It just sees the {} marker as an argument.
Jul
24
comment How to delete files only, but keep the directory structure?
@slm: I'm not sure how portable that is. I've added it in as a secondary option. I just realized that my edit made my answer virtually identical to yours. Sorry about that; it was not my intent.
Jul
24
answered How to delete files only, but keep the directory structure?
Jul
24
revised cp: cannot stat `/vol/examples/tutorial/science.txt': No such file or directory
Fix formatting.
Jul
24
reviewed Looks OK How to backup all installed software/packages on AIX?
Jul
24
comment Where is the trash folder in FreeBSD / PCBSD?
You can search for the trash directory by running find ~ -maxdepth 3 -type d -iname '*trash*'. You may have to increase the maxdepth a bit.
Jul
24
revised Is this a typo in Bash manual's redirection section?
Fix formatting.
Jul
24
comment Silencing all stdout during bootup
@jdwiegman: I have added a bit to my answer. Let me know if it works.
Jul
24
revised Silencing all stdout during bootup
added 290 characters in body
Jul
24
revised linux shell: find -exec in find -exec
deleted 51 characters in body
Jul
24
comment linux shell: find -exec in find -exec
@StephaneChazelas: Thanks. I didn't know that.
Jul
24
answered linux shell: find -exec in find -exec
Jul
24
revised File uploads successfully however it is 0 bytes
added 59 characters in body
Jul
24
answered File uploads successfully however it is 0 bytes
Jul
24
comment File uploads successfully however it is 0 bytes
Mind adding that to your question? Formatting gets messed up in comments.
Jul
24
comment File uploads successfully however it is 0 bytes
Do you see any error messages? What does your ftp client say when you upload the file? Have you tried using a different ftp client? Have you tried uploading to multiple servers?
Jul
24
comment Change filename from lowercase to uppercase recursively
If possible, you should backup your files before running anything.
Jul
24
reviewed Close Assigning IP address to environment variable
Jul
24
revised Why is the first line comment of .sh file necessary?
added 2 characters in body