I was asked this question but didn't know what it does. I know chmod and its usages but what does this exactly do ?
I am writing shell script and I need to display my output at the same time however it doesn't work with 2> somefile.txt and if I do | tee -a somefilel it will not overwrite which I need to . <> ...
What is the proper way to make a directory that I created and all of its contents readable/writeable/executable only by me, and no one else? Is this sufficient: chmod g-rx mydir/ this should make ...
How to chmod 755 all directories but no file (recursively) ? Inversely, how to chmod only files (recursively) but no directory ?