Advertisement
Telaryon

Állománymásoló

Apr 28th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. if[$# -eq2]
  4.     then if[-f$1]
  5.         then if[-f
  6.                 then echo"The file does not exists"
  7.                 else echo"I'm copying the file"
  8.                 fi
  9.             else echo"The file specified in argument 1 does not exists"
  10.         fi
  11.     else echo"2 parameter required"
  12. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement