linux bash

How do I auto Logout my shell user in Linux after certain minutes of inactivity?

{ 0 comments }

Q. 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. A. There are many ways to find out if a directory is empty or not under UNIX / Linux bash shell. You can use find [...]

{ 19 comments }