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

    Favorite Linux Commands

    IT Discussion
    fun command line commands linux
    20
    74
    14.5k
    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.
    • DustinB3403D
      DustinB3403
      last edited by

      That is not a favorite, I try to avoid rebooting my systems if they don't absolutely need it.

      JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 2
      • travisdh1T
        travisdh1
        last edited by

        In addition to the 3 you listed.
        glances - the shell system monitor to use, everything including temp sensors if configured. Replaced htop, iftop, and iotop for me.
        screen - because it's just handy to be able to leave programs running and logout at the same time.

        1 Reply Last reply Reply Quote 5
        • JaredBuschJ
          JaredBusch @DustinB3403
          last edited by

          @DustinB3403 said:

          That is not a favorite, I try to avoid rebooting my systems if they don't absolutely need it.

          I reboot pretty much everything, including the bare metal hypervisor, at least every other month.

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

            @JaredBusch said:

            @DustinB3403 said:

            That is not a favorite, I try to avoid rebooting my systems if they don't absolutely need it.

            I reboot pretty much everything, including the bare metal hypervisor, at least every other month.

            Even once a month, I'd not consider it a favorite. A necessary evil, yes. Gotta keep the hardware in check. Glances, screen, sudo, wget, and crtl+r(history search) get used almost every time I hit a server. So minimum of 3 times a day.

            1 Reply Last reply Reply Quote 2
            • scottalanmillerS
              scottalanmiller @DustinB3403
              last edited by

              @DustinB3403 said:

              That is not a favorite, I try to avoid rebooting my systems if they don't absolutely need it.

              that's a bad practice. Weekly or monthly are the only two cycles I'd consider. If you haven't rebooted recently, you don't know that it is coming back after a disaster.

              http://www.smbitjournal.com/2011/02/why-we-reboot-servers/

              Uptimes of longer than 30 days should be an alert, something to worry about.

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

                Glances, tmux, and I use find a lot

                1 Reply Last reply Reply Quote 2
                • RamblingBipedR
                  RamblingBiped
                  last edited by

                  "sudo !!", "tail -f", the unholy trinity that is "grep/awk/sed", and vim (all from within tmux).

                  stacksofplatesS 1 Reply Last reply Reply Quote 2
                  • coliverC
                    coliver
                    last edited by

                    @travisdh1 said:

                    crtl+r(history search)

                    This one I didn't know this will be extremely helpful.

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

                      @coliver said:

                      @travisdh1 said:

                      crtl+r(history search)

                      This one I didn't know this will be extremely helpful.

                      Ya it's nice, ctrl+a, ctrl+e, and ctrl+d are nice too so you can stay at "home" on the keyboard.

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

                        @RamblingBiped said:

                        "sudo !!", "tail -f", the unholy trinity that is "grep/awk/sed", and vim (all from within tmux).

                        I don't use awk as much as I should, I essentially use it for a glorified csv reader haha

                        1 Reply Last reply Reply Quote 0
                        • quicky2gQ
                          quicky2g
                          last edited by

                          http://www.tecmint.com/20-funny-commands-of-linux-or-linux-is-fun-in-terminal/

                          "sl" is one of my favs.

                          1 Reply Last reply Reply Quote 0
                          • quicky2gQ
                            quicky2g
                            last edited by

                            I use SNMPv3 alot from the CLI:

                            snmpbulkwalk -v 3 -u myusername -a SHA -A myauthpass -l authPriv -x AES -X myprivpass 10.1.1.1 system
                            
                            1 Reply Last reply Reply Quote 0
                            • quicky2gQ
                              quicky2g
                              last edited by

                              Hardware commands are always great:

                              https://www.maketecheasier.com/gather-hardware-information-in-linux

                              lspci

                              Anything in /proc

                              I LOVE LOVE LOVE htop

                              1 Reply Last reply Reply Quote 1
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                I honestly don't like htop very much. I prefer regular top. I find the output more useful.

                                quicky2gQ 1 Reply Last reply Reply Quote 0
                                • quicky2gQ
                                  quicky2g @scottalanmiller
                                  last edited by

                                  @scottalanmiller said:

                                  I honestly don't like htop very much. I prefer regular top. I find the output more useful.

                                  htop works much better to see multi-CPU utilization though. Filtering is really nice too.

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @quicky2g
                                    last edited by

                                    @quicky2g said:

                                    @scottalanmiller said:

                                    I honestly don't like htop very much. I prefer regular top. I find the output more useful.

                                    htop works much better to see multi-CPU utilization though. Filtering is really nice too.

                                    Ah, I never find CPU utilization to be something that I need to watch. Looks neat and impressive on the screen, but once I know the percentage of CPU, I don't care about seeing a chart, but I need to see load numbers, processes and memory stats.

                                    1 Reply Last reply Reply Quote 0
                                    • MattSpellerM
                                      MattSpeller
                                      last edited by

                                      I use dd a lot

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

                                        @MattSpeller said:

                                        I use dd a lot

                                        boobs

                                        MattSpellerM 1 Reply Last reply Reply Quote 0
                                        • MattSpellerM
                                          MattSpeller @stacksofplates
                                          last edited by

                                          @johnhooks said:

                                          @MattSpeller said:

                                          I use dd a lot

                                          boobs

                                          80085?

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

                                            @MattSpeller said:

                                            @johnhooks said:

                                            @MattSpeller said:

                                            I use dd a lot

                                            boobs

                                            80085?

                                            8008135

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