Josif_tepe

Untitled

Jan 21st, 2026
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. if [ -f "target.txt" ]; then
  3.     echo "File found!"
  4.     mv target.txt target.rename
  5. else
  6.     echo "File is missing!"
  7.     touch target.txt
  8. fi
Advertisement
Add Comment
Please, Sign In to add comment