#! /bin/bash echo -e "Enter the name of the file: \c" # -e flag for /c so the cursor stays on the same line read file_name if [ -d $file_name ] # {-f... for regular file }, {-d ... for directory } # {-c ... for character special file } , { -b ... for...
Markdown supported · ⌘↵ to post
No responses yet.