{ 1 comment }
command substitution
I have setup a shell variable called dest=”/nas100/backups/servers/z/zebra/mysql.tgz”. How do I find out filename (mysql.tgz) and extension (.tgz) in bash program running under Linux or Unix operating systems?
How do I assign the output of a shell command to a shell variable under Unix like operating system? For example, I want to store the date command output to a variable called $now. How do you do that?
{ 3 comments }
Can you explains UNIX ksh for loop syntax which can repeatedly execute a block of statements with a simple ksh script example?
{ 0 comments }



