Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- if[$# -eq2]
- then if[-f$1]
- then if[-f
- then echo"The file does not exists"
- else echo"I'm copying the file"
- fi
- else echo"The file specified in argument 1 does not exists"
- fi
- else echo"2 parameter required"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement