≡ Menu

exec

Bash Shell Script To Test For Empty Folder

How do I check if a directory contains files? How do I find out if a directory contains files using bash shell under Linux or Unix like operating systems?
[click to continue…]

TCSH / CSH / C Shell Check Whether a Directory is Empty or Not

How do I check whether a directory is empty or not under Linux / UNIX using a TCSH / C shell script?
[click to continue…]

Linux exec-notify: Find Out Shell Escaping Applications [ Security Monitoring ]

How do I watch or monitor applications that executed on a system and executes external programs via "bash"?
[click to continue…]

Linux: Display Binary Object Section Size, Text & Data Segment Information

How do I find out the size of the bss, text segment and data segment for each object or binary file under Linux operating systems?
[click to continue…]

Linux / UNIX: Bash Find And Delete All Hidden Files Directories

How can I find all all hidden files and directories (starting with . character) under UNIX or Linux and delete them using bash or ksh shell?
[click to continue…]

Ubuntu Linux Disable control-alt-delete [CTRL-ALT-DEL] Emergency Keypress Handling

Q. How do I delete control-alt-delete emergency keypress handling to improve security of my Ubuntu Linux server?
[click to continue…]

Bash Shell Check Whether a Directory is Empty or Not

How do I check whether a directory is empty or not under Linux / UNIX using a shell script? I would like to take some action if directory is empty on a Linux or Unix like system. How can I check from bash/ksh shell script if a directory contains files? How do I check whether a directory is empty or not?
[click to continue…]

Linux Disable or Enable ExecShield Buffer Overflows Protection

Now that I have Cent OS (RHEL clone) installed on my IBM server, I'm wondering what is ExecShield and how do I disable the same?
[click to continue…]

Find Files By Access, Modification Date / Time Under Linux or UNIX

I do not remember where I saved pdf and text files under Linux. I have downloaded files from the Internet a few months ago. How do I find my pdf or text files?
[click to continue…]

Restrict SSH Access Using tcpd (TCPWrapper) on Linux or Unix

How do I use tcpd on a Linux to restrict ssh access?
[click to continue…]