ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Favorite Linux Commands

    IT Discussion
    fun command line commands linux
    20
    74
    14.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brianlittlejohnB
      brianlittlejohn @travisdh1
      last edited by

      @travisdh1 said:

      @johnhooks said:

      @Lakshmana said:

      My favourite linux command is "ls"
      "cd"

      I use those quite a bit also.

      I use them all the time, doesn't mean I like them. At least ls is shorter than dir.

      I always end up typing dir on my linux machines and ls on my windows machines.... it just frustrates me...

      RamblingBipedR 1 Reply Last reply Reply Quote 1
      • NicN
        Nic
        last edited by

        Back in the day, one of my faves was "rn" 🙂

        1 Reply Last reply Reply Quote 0
        • RamblingBipedR
          RamblingBiped @brianlittlejohn
          last edited by

          @brianlittlejohn Switch to powershell and always use "ls"

          1 Reply Last reply Reply Quote 1
          • travisdh1T
            travisdh1
            last edited by

            This thread deserves more attention than it gets. I was getting annoyed with dd and no status display today (lots of Raspberry Pis to image.) This time I know the exact size of the sd cards being imaged tho, so pv is very helpful.

            dd if=/home/comtech/rpi.img | pv -s 16g | dd of=/dev/mmcblk0 bs=4k

            [root@localhost comtech]# dd if=/home/comtech/rpi.img | pv -s 16g | dd of=/dev/mmcblk0
            ^[34MiB 0:01:37 [ 249KiB/s] [==>                                                                        ]  2% ETA 1:17:2
            
            dafyreD 1 Reply Last reply Reply Quote 3
            • dafyreD
              dafyre @travisdh1
              last edited by

              @travisdh1 said in Favorite Linux Commands:

              This thread deserves more attention than it gets. I was getting annoyed with dd and no status display today (lots of Raspberry Pis to image.) This time I know the exact size of the sd cards being imaged tho, so pv is very helpful.

              dd if=/home/comtech/rpi.img | pv -s 16g | dd of=/dev/mmcblk0 bs=4k

              [root@localhost comtech]# dd if=/home/comtech/rpi.img | pv -s 16g | dd of=/dev/mmcblk0
              ^[34MiB 0:01:37 [ 249KiB/s] [==>                                                                        ]  2% ETA 1:17:2
              

              This isn't installed by default on some systems, but i easy & quick to add.

              1 Reply Last reply Reply Quote 0
              • dbeatoD
                dbeato
                last edited by

                Mine has been grep and cat.

                1 Reply Last reply Reply Quote 1
                • black3dynamiteB
                  black3dynamite
                  last edited by

                  When I want to use virt-manager from my Mac.

                  ssh -Y username@ip-address
                  virt-manager &
                  
                  1 Reply Last reply Reply Quote 0
                  • stacksofplatesS
                    stacksofplates
                    last edited by stacksofplates

                    I use ^ quite frequently any more.

                    1 Reply Last reply Reply Quote 0
                    • EddieJenningsE
                      EddieJennings
                      last edited by

                      free -h

                      black3dynamiteB 1 Reply Last reply Reply Quote 0
                      • black3dynamiteB
                        black3dynamite @EddieJennings
                        last edited by

                        @eddiejennings said in Favorite Linux Commands:

                        free -h

                        I tend to use free -hm

                        1 Reply Last reply Reply Quote 1
                        • black3dynamiteB
                          black3dynamite
                          last edited by

                          cat <<EOF | sudo tee /home/user/Documents/hello-MangoLassi.txt
                          Hello MangoLassi!
                          EOF
                          1 Reply Last reply Reply Quote 0
                          • wirestyle22W
                            wirestyle22
                            last edited by

                            history as of late 😕 lol

                            travisdh1T 1 Reply Last reply Reply Quote 1
                            • travisdh1T
                              travisdh1 @wirestyle22
                              last edited by

                              @wirestyle22 said in Favorite Linux Commands:

                              history as of late 😕 lol

                              ctrl + r Searches typed query in command history.

                              JaredBuschJ 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @travisdh1
                                last edited by

                                @travisdh1 said in Favorite Linux Commands:

                                @wirestyle22 said in Favorite Linux Commands:

                                history as of late 😕 lol

                                ctrl + r Searches typed query in command history.

                                Pretty much this. Use it all the time.

                                stacksofplatesS 1 Reply Last reply Reply Quote 0
                                • stacksofplatesS
                                  stacksofplates @JaredBusch
                                  last edited by

                                  @jaredbusch said in Favorite Linux Commands:

                                  @travisdh1 said in Favorite Linux Commands:

                                  @wirestyle22 said in Favorite Linux Commands:

                                  history as of late 😕 lol

                                  ctrl + r Searches typed query in command history.

                                  Pretty much this. Use it all the time.

                                  I've been using ZSH and I have it automatically do that.

                                  stacksofplatesS 1 Reply Last reply Reply Quote 1
                                  • stacksofplatesS
                                    stacksofplates @stacksofplates
                                    last edited by

                                    @stacksofplates said in Favorite Linux Commands:

                                    @jaredbusch said in Favorite Linux Commands:

                                    @travisdh1 said in Favorite Linux Commands:

                                    @wirestyle22 said in Favorite Linux Commands:

                                    history as of late 😕 lol

                                    ctrl + r Searches typed query in command history.

                                    Pretty much this. Use it all the time.

                                    I've been using ZSH and I have it automatically do that.

                                    So as I type it dynamically auto suggests things. Then just hit ctrl+e to auto complete.

                                    0_1522599044824_auto.png

                                    1 Reply Last reply Reply Quote 1
                                    • hobbit666H
                                      hobbit666
                                      last edited by

                                      Die die die

                                      Sorry that's what I shout when something doesn't work as I'm a newbie lol

                                      1 Reply Last reply Reply Quote 0
                                      • black3dynamiteB
                                        black3dynamite
                                        last edited by

                                        Finding a file or folder without seeing any permission denied texts.
                                        find / -name "filetofind" 2>/dev/null

                                        1 Reply Last reply Reply Quote 1
                                        • 1
                                        • 2
                                        • 3
                                        • 4
                                        • 4 / 4
                                        • First post
                                          Last post