Linux Tutorials | sort command GeeksforGeeks

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • This video is contributed by Anant Patni.
    Please Like, Comment and Share the Video among your friends.
    Install our Android App:
    play.google.co...
    If you wish, translate into local language and help us reach millions of other geeks:
    www.youtube.com...
    Follow us on Facebook:
    / gfgvideos
    And Twitter:
    / gfgvideos
    Also, Subscribe if you haven't already! :)
    #likethisvideo #linux #geeksforgeeks

КОМЕНТАРІ • 28

  • @riccoc.6507
    @riccoc.6507 2 роки тому +3

    Thank you bro that was a good lesson

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

    thank you i want to learn more keep upload educational tutorial vids

  • @brandondang7651
    @brandondang7651 3 роки тому +2

    Really helpful video. Thank you!!

  • @kumargunjan428
    @kumargunjan428 3 роки тому +2

    beautifully explained!

  • @aer0449
    @aer0449 Рік тому

    Geeks For Geeks

  • @CaribouDataScience
    @CaribouDataScience 11 місяців тому

    Thanks, that was helpful.

  • @BrayanRodriguez-mw7iw
    @BrayanRodriguez-mw7iw 3 роки тому +1

    awesome explanation!

  • @moyukh2007
    @moyukh2007 Рік тому

    Fantastic

  • @heba-ok6vb
    @heba-ok6vb 7 місяців тому

    Thank you ♥

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

    Kahi domblach kalal ny asel kon shikwtai hoi random ky sorting vailai ,evdh eg ghetyat hoi ,ky nav lihun kadu kuth sort zalai bghayla

  • @astonmargolis4391
    @astonmargolis4391 Рік тому

    appreciate it !

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

    Thank you

  • @shaik.m.abdullah027
    @shaik.m.abdullah027 5 років тому +1

    thanks for your effort. keep video size small like this one.

  • @iAmIfyEmmanuel
    @iAmIfyEmmanuel 3 роки тому +1

    no sort -o ?

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

    If i want to sort first directories and then its size, how do we do it?

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

    Love u bro

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

    What if I want to actually sort the contents of the file?

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

      $ sort file1 > file2
      For the above, file2 will be created, based on the output of your command.
      file1 will remain unchanged.
      Note that when you redirect output via the ">" symbol, it will create the file (in this case, "file2") if the file does not exist. If file2 already existed, then ">" would delete it and recreate it with the output of your command. Using ">>" will append to an existing file.

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

    What should I use if I want to remove duplicated items in a file for example duplicated names or numbers?

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

      sort -u or you can use sort with the uniq command

  • @Selflearningca
    @Selflearningca Рік тому

    what is the command to save the file after arranged

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

    I need help,
    I want to sort in bash file,
    Example....
    a="10"
    b="100"
    C="1000"
    I want to sort this
    $a $b $c
    How to sort ?? Please tell me!

  • @venkatnarayanareddy1179
    @venkatnarayanareddy1179 Рік тому

    what sort -k 2.2 filename , do

  • @mohdshahbaz2283
    @mohdshahbaz2283 Місяць тому

    fan ki awaz zada ati hain picha se

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

    Hey brother.I have tried but it doesn't work. I think -k function doesn't work on it. Could you tell me if you had same issue? BTW I am on Cent os 8 .

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

    Thank you