How do I change user password using a shell script under FreeBSD operating systems?
{ 6 comments }
How do I skip bash for loop if certain condition is satisfied under UNIX / Linux / BSD / OS X?
{ 1 comment }
How do I replace a string with another string in all files? For example, ~/foo directory has 100s of text file and I’d like to find out xyz string and replace with abc. I’d like to use sed or any other tool to replace all occurrence of the word.
{ 51 comments }
How do I check whether a directory is empty or not under Linux / UNIX using a shell script? I’d like to take some action if directory is empty.
{ 28 comments }