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
What language is bash?
Why is used in shell scripting?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
What is .sh file in mac?
What are the different variables present in linux shell?
How do I read a .sh file?
Write down the syntax for all the loops in shell scripting.
How to open a read-only file in the shell?
What is batch file programming?
How to find duplicate record in file using shell script?
What is a shell made of?
What are the different types of commonly used shells on a typical linux system?
What is the first line in every perl script called?
How to write a function?
What is mac default shell?