Poonam Prajapati @poonam
23 Total Points
1 Best Answers
0 Posts
0 Snippits
Answers
To check if a directory exists in a shell script:
if [ -d "$DIRECTORY" ]; then
# Control will enter here if $DIRECTORY exists.
fi
Or to check if a directory doesn't (...)
0
0
Use
shell> sudo debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password mypassword"
shell> sudo debconf-set-selections <<< "mysql-community-server
(...)
0
0
Best answer Read answer