Re: Creating files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kevin.kempter@xxxxxxxxxxxxxxxxx wrote:
> On Thursday 20 April 2006 13:52, Gene Heskett wrote:
>> On Thursday 20 April 2006 14:10, Ali Helmy wrote:
>>> Hey mates,
>>>
>>> Can anyone tell me of a method to create a file (empty, no extension)
>>> from the shell? I usually use nano, vim or emacs and just save and
>>> empty buffer, but is there some-other single line syntax to creating
>>> a file? something like [mkdir DirName] in creating directories
>> Have you never heard of 'touch'?
> 
> Likewise you can re-direct nothing to a filename like this (without the double 
> quotes of course):
> 
> "> newfile"

kevin, that is the most phenomenal thing i've seen since i've started
using linux.  i laughed when i read it -  because it's a great way to do
it!  although i wasn't the one asking the question, that's a great way
to think outside the box.

-- 
Anthony

Website: http://messinet.com
Gallery: http://gallery.messinet.com/main.php?g2_itemId=34

GnuPG Key / Fingerprint:
0xB0014A4E / 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

Registered Linux User #389089 - Get counted!: http://counter.li.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux