Results 1 to 3 of 3

Thread: Unix command for making files

  1. #1
    Mr.Bill's Avatar
    Mr.Bill is offline One is glad to be of service
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Blog Entries
    1
    Thanks
    72
    Thanked 350 Times in 182 Posts

    Unix command for making files

    I need to create around 120 files all in the same directory and want to know is there a faster method that does not require confirming everyone

    right now I am trying "pico filename" then control +X and then Y which is a pain and want to know is there an easier way so I can just paste and go.

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

  2. #2
    Mr.Bill's Avatar
    Mr.Bill is offline One is glad to be of service
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Blog Entries
    1
    Thanks
    72
    Thanked 350 Times in 182 Posts
    Ok found out how I need to use
    touch filename

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

  3. #3
    SeriousBiz's Avatar
    SeriousBiz is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    Spain
    Posts
    57
    Thanks
    2
    Thanked 8 Times in 7 Posts
    Yes, I was about to tell you that you can use the PHP touch() function which does basically the same. It creates the file if it doesn't exist and if it does, it updates its last modified date to the current one.

    But I guess it's no longer needed
    Free Male Enhancement Pills Affiliate Program for Webmasters and Internet Marketers
    $25/$30 per free trial. Converts like crazy, even on untargeted traffic (it does for me ).

Similar Threads

  1. command line or cron job ?
    By SonnyCooL in forum Managing
    Replies: 3
    Last Post: 26 October, 2010, 18:13 PM
  2. COMMAND & CONQUER 3 TIBERIUM WARS
    By chatterbox in forum Gaming
    Replies: 5
    Last Post: 7 January, 2010, 08:17 AM
  3. Replies: 3
    Last Post: 14 May, 2009, 10:07 AM
  4. Invalid command 'RewriteEngine'
    By smokeyjoe in forum Translation Script Support
    Replies: 2
    Last Post: 22 December, 2008, 14:20 PM
  5. Extremely Basic Unix Run Down
    By Charles in forum Managing
    Replies: 2
    Last Post: 18 December, 2008, 16:56 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •