Linux Tutorial 9 How To Use The Cat Command

Поділитися
Вставка
  • Опубліковано 18 вер 2024

КОМЕНТАРІ • 18

  • @reverseila4363
    @reverseila4363 4 роки тому +3

    Very clear. Thanks a milion.

    • @howtocodewell
      @howtocodewell  4 роки тому

      Thank you. I'm glad you found it helpful

  • @nickzhao832
    @nickzhao832 4 роки тому +2

    At 9:25, the line numbers don't add up to the total number of lines in both files. Instead they go 1,1,2,3,4,5

  • @seanlowe5547
    @seanlowe5547 3 роки тому

    Thanks

  • @manuelapostol7664
    @manuelapostol7664 4 роки тому +1

    great tutorial

  • @AbdulKhan-np8tk
    @AbdulKhan-np8tk 4 роки тому +2

    can i add more words into the line number 3 or 4, if yes how?

    • @howtocodewell
      @howtocodewell  4 роки тому

      Can you give me a timestamp in the video so I can check where you mean?

  • @arrikd8358
    @arrikd8358 5 років тому +2

    Hopefully you will read this. I don't understand the first line of the man cat. What happens when the file is empty or - (dash)...?

    • @howtocodewell
      @howtocodewell  5 років тому +1

      Hi Arrive, I'm not sure I understand the question. Are you able to give me a time reference in the tutorial?

    • @arrikd8358
      @arrikd8358 5 років тому

      @@howtocodewell Thanks for responding. I was refering to the first and second sentences. 1:10

  • @khonnhek3743
    @khonnhek3743 4 роки тому +1

    I am not understand $cat 12 12 12 > 12
    why is no more output on this command : $ cat 12 .
    thank you

    • @howtocodewell
      @howtocodewell  4 роки тому +1

      The > stream overrides the contents of the file.

    • @khonnhek3743
      @khonnhek3743 4 роки тому

      @@howtocodewell thank you so much for helping

  • @cjtyler01
    @cjtyler01 2 роки тому

    I am trying to use cat to put the information from multiple files into a single file. The issue I am having is I don't want that information to print in the terminal when I run the command. Note: I don't have sudo permissions.

    • @howtocodewell
      @howtocodewell  2 роки тому

      Great question

    • @howtocodewell
      @howtocodewell  2 роки тому

      I would use > to redirect the stdIn
      cat file.txt > another_file.txt