mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-13 04:02:18 -04:00
move shell scripts and zsh and add fav vscode themes
This commit is contained in:
parent
40077637ce
commit
e6794a8954
43 changed files with 55 additions and 34 deletions
15
shell/shell_scripts/find_if_file_exists.sh
Executable file
15
shell/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