View Full Version : [all variants] Tilde in file generated by bash script question
October 10th, 2012, 10:26 PM
I wrote a script on bash and it ran with errors. I noticed that when my scripts have errors they generate another file with the name of my script, but with a tilde "~" in the front. Can someone explain the significance of this?
October 11th, 2012, 03:58 PM
Are you saying that if you've make a script called script.sh, you wind up with another file called script.sh~? If so, that's just a backup file generated by gedit text editor, among other programs. You can safely delete that as it holds little to no significance.
October 11th, 2012, 04:03 PM
Are you saying that if you've make a script called script.sh, you wind up with another file called script.sh~?
No, OP is saying that those files only exist if the script has an error :)
But I don't think OP is correct in his/her observations (and you are).
October 30th, 2012, 03:51 PM
What is OP?
October 30th, 2012, 03:57 PM
consult your nearest urbandictionary.com ;-)
usually OP means
Original Poster (in forums)
OverPowered (among gamers)
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.