Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. $ mypath="~/local/bin/"
  2. $ newFile="${mypath}newFile.sh"
  3. $ echo $newFile
  4. ~/local/bin/newFile.sh
  5.  
  6. $ touch $newFile
  7. touch: ~/local/bin/newFile.sh: No such file or directory
  8.  
  9. $ touch "${mypath}newFile.sh"
  10. touch: ~/local/bin/newFile.sh: No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement