mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-11 03:05:41 -04:00
add things resources from the last 5 years over machines
This commit is contained in:
parent
ac9c955e0b
commit
b0a4e417ee
77 changed files with 2327 additions and 84 deletions
15
shell_scripts/find_if_file_exists.sh
Executable file
15
shell_scripts/find_if_file_exists.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
if [ $# -ne 1 ]
|
||||
then
|
||||
echo "Usage - $0 file-name"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f $1 ]
|
||||
then
|
||||
echo "$1 file exist"
|
||||
else
|
||||
echo "Sorry, $1 file does not exist"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue