Re: Some Unix Questions

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 03/29/04

  • Next message: Fred Ma: "locale? Regex[p] collating elements?"
    Date: Mon, 29 Mar 2004 04:40:35 GMT
    
    

    On 28 Mar 2004 19:30:03 -0800, David McGeorge <soalvajavab1@yahoo.com> wrote:
    >
    >
    > How can I list contents of a directory and all of its subdirectories,
    > providing full details, but only regular files that haven't been
    > accessed in the last 2 days?
    >
    > How can I delete all files older than 1 year from a directory?
    >
    > What utility would you use to swap columns 1 and 2 in a text file?
    >
    > How can I replace a string "2001" for "2002" in a text file?
    >
    > Howe can I cut off the first column in a text file?
    >
    > Thanks a lot.
    >
    >
    >
    > __________________

    Well, you actually DO the reading you were assigned in class, and then
    you'll know.

    Or be close, anyway.

    Then you give it a shot and post your efforts here for commentary.

    Not going to learn how to use Nix if you aren't very comfortable with
    a lot of reading, and forever....

    AC


  • Next message: Fred Ma: "locale? Regex[p] collating elements?"

    Relevant Pages

    • Re: Problems using recursion while browsing directories
      ... > I'm trying to learn some C, reading my book, Beginning Linux Programming ... > through directory's and print all its subdirectories. ... > void printdir(char *dir, int depth) ...
      (comp.lang.c)
    • Re: Sub-optimal libcs read-ahead buffering behaviour
      ... > unwanted I/O errors or unexpected device behaviour by accidently reading ... If user don't use specifical setvbuf on chardev, ... while read/write buffering is controlled. ... sense in-buffer data for regular files for both SEEK_SET and SEEK_CUR. ...
      (freebsd-current)
    • Re: listing nondirectories
      ... In a directory containing a mix of regular files and subdirectories, ... fail to return any matches? ... ls will print the files adding the appropriate suffix to the ...
      (comp.unix.shell)
    • Re: Question about reading a directory
      ... I know, its not really a TK-question, but I dont know a better way. ... Is there such a fast way to check if a directory contains subdirectories ... Which results in reading the whole directory. ...
      (comp.lang.perl.tk)
    • Some Unix Questions
      ... How can I list contents of a directory and all of its subdirectories, ... but only regular files that haven't been ... What utility would you use to swap columns 1 and 2 in a text file? ... Howe can I cut off the first column in a text file? ...
      (comp.unix.questions)