We consider file name as “ishan.txt” !/bin/bash if [ -e $1/ishan.txt ]; then echo “file is present” else cp -r ishan.txt $1 fi sh script.sh /path to the folder
Bash
Script for wordpress version with user information
Kindly download the following script and execute the script using the following command. [root@arunlal ~]# wget lintechops.com/wp-version.sh[root@arunlal ~]# sh wp-version.sh Output be like. abxxxcd ‘4.4.18’; abxxxdc ‘4.9.10’; abxxxfg ‘4.0.26’; abxxxtr ‘3.9.27’; acxxxje ‘4.0.26’; apxxxit ‘3.8.5’;