Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

cog (4665)

Journal of cog (4665)

Monday June 28, 2004
09:32 PM

Learn Linux

[ #19563 ]

A person who knows nearly nothing about Linux sent me a tar file... see what I got with that file and keep in mind the following notes:

swp files - if you're using vim, for instance, and have swap files in the directory, you might want to close vim before taring the directory...

a :w file - always save... but please do it only once!!! writing :w :w doesn't make it better!! :-) (ok, this could have happened to anyone, but be warned :-) )

a ~ file - ... WFT?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Is that "~file" or "file~"? the default backupext for vim is "~".
    • I know that, but the weird thing is that the filename is just a plain tilde... could it be that vim was opened without any arguments? but then again, that would result in a .swp file, right? Just ~ ... nothing more...
      • Actually this happens to me quite a bit. Remember that ~ is the shortcut to your home directory so :w ~/blah.foo

        will write to blah.foo in your home directory.

        Now if you type as fast as I do you pinky tends to hover over the enter key and not over the ;