Find the answer to your Linux question:
Page 4 of 4 FirstFirst 1 2 3 4
Results 31 to 34 of 34
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31

    Yeah I agree, I definately need to download it. I'm unable to download though at the minute and wont be able to until Monday of next week.

    I aren't sure if I understand what you mean by "conjunction".

    So right now I have:

    mv *.txt TxtFiles
    ls > TxtFilesMoved

    So the directory it's wanting to list is TxtFiles I think I called it.

    Should this therefore work do you think? :

    mv *.txt TxtFiles
    ls TxtFiles > TxtFilesMoved

    I think that'd work.

  2. #32
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Registered Linux User #371543!
    Get force-get May The Source Be With You

  3. #33

    Alright, thanks A LOT for the help. Hopefully I wont be bothering you anymore from now on.

  4. $spacer_open
  5. #34
    Incidentally, if you've only got a single file to count the lines of you don't need to use cat:
    cat Files | wc -l
    can be more efficiently coded as:
    wc -l <Files
    Using the input stream redirector stops wc from knowing the filename, so it just outputs the count.

Posting Permissions

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