Commands
Commands
$ cat file1
{WELCOME TO}
Information Technology
$ cat state.txt
Andhra Pradesh
Arunachal Pradesh
Assam
Bihar
Chhattisgarh
$ cat capital
Itanagar
Dispur
Hyderabad
Patna
Raipur
#!/bin/bash
target_file="/root/hello.sh"
if test -f "$target_file"
then
echo "$target_file exist."
else
echo "$target_file does not exist."
fi
#!/bin/bash
#num1=30
#num2=40