50040/how-to-check-the-directory-is-present-in-shell-script-or-not
Hi,
To check the directory is present in the shell script, you can use the following solution below:
if [ -d "$DIRECTORY" ]; then
# Control will enter here if $DIRECTORY exists. fi
I hope it will work.
You have some example jars in your ...READ MORE
One of the options to check the ...READ MORE
mr-jobhistory-daemon. sh start historyserver READ MORE
The sole purpose of the virtual machine ...READ MORE
Hey, Grunt shell is a shell command.The Grunts ...READ MORE
Firstly you need to understand the concept ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
In your case there is no difference ...READ MORE
Hi, You can check this example to see ...READ MORE
Hi, You can simply run the following commands ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.