Answer Posted / pushkar
if [ -d $var ] ;then
rm -rf $var
fi
mkdir $var
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Suppose you execute a command using exec, what will be the status of your current process in the shell?
What is sudo command?
How can I send a mail with a compressed file as an attachment?
How does path variable work?
How to print pid of the current shell?
Is shell and terminal the same?
How do I run a script from command prompt?
How would you compare the strings in a shell script?
Is shell scripting a language?
What is awk in shell script?
Is shell scripting difficult?
Why are shell scripts used?
What is basename in shell script?
What is the default ubuntu terminal?
How do you create a shortcut in linux?