≡ Menu

syntax

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…]

I'm using GeSHi under php to highlight a source code. How do I turn on or off line numbers using GeSHi?
[click to continue…]

Linux/Unix: Bash Set Shell Variable Command

How do I set or create variables within my shell script or at command line under Linux and Unix like operating systems?
[click to continue…]

Linux / Unix AWK: Read a Text File

How do I read a text file using awk pattern scanning and text processing language under Linux / Unix like operating systems?
[click to continue…]

Linux Move Directory Command

I am new to Linux and command line. How do I move a directory under Linux operating systems?
[click to continue…]

I need to create a log file using the following format:

myapp_monday.log
myapp_tuesday.log
....
...
myapp_sunday.log

How do I create log filename with day of the week in it under Linux or Unix operating systems?
[click to continue…]

Linux Unlock An Account

How do I unlock an user account (user login id) under Linux operating systems?
[click to continue…]