Guest User

Untitled

a guest
Apr 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1.  
  2. fs="xfs"
  3.  
  4. for fs in ext2 ext3 ext4 reiserfs jfs xfs
  5. do
  6.     echo -n "$fs: "
  7.     case $fs
  8.     in
  9.     ext2)
  10.         echo obsolete. come on
  11.         ;;
  12.     ext[34])
  13.         echo linux extended file system
  14.         ;;
  15.     xfs)
  16.         echo "need -f"
  17.         ;;
  18.     *)
  19.         echo nothing special known about it
  20.     esac
  21. done
Add Comment
Please, Sign In to add comment