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.
    • 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
          • Minion QueenM
            Minion Queen Banned
            last edited by

            ok so looking through the list of new posts.... this caught my eye fast 😳

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

              @johnhooks said:

              @MattSpeller said:

              @johnhooks said:

              @MattSpeller said:

              I use dd a lot

              boobs

              80085?

              8008135

              what was the one you had to hold the thing upside down for... oh geez lol

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

                @MattSpeller said:

                @johnhooks said:

                @MattSpeller said:

                @johnhooks said:

                @MattSpeller said:

                I use dd a lot

                boobs

                80085?

                8008135

                what was the one you had to hold the thing upside down for... oh geez lol

                ha 7734

                1 Reply Last reply Reply Quote 1
                • MattSpellerM
                  MattSpeller @Minion Queen
                  last edited by

                  @Minion-Queen said:

                  ok so looking through the list of new posts.... this caught my eye fast 😳

                  😇

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

                    List disk info (Lowercase L)

                    fdisk -l
                    

                    List hard drive model, serial and capabilities:

                    hdparm -I /dev/sda
                    

                    Hard drive speed:

                    hdparm -t /dev/sdd
                    

                    Hard drive temperature:

                    hddtemp -u C -n /dev/sda
                    

                    What software a web server is running:

                    curl -I http://www.newegg.com
                    

                    Kernel buffer messages:

                    dmesg
                    

                    File transfer with active speed:

                    rsync --progress --recursive source/* destincation
                    

                    Ping sweep a network with NMAP and just show up IP's:

                    sudo nmap -PO -sP -PE -n --open -v 10.1.1.1-10 | grep "scan report" | grep -v "host down" | sed 's/Nmap scan report for //g'
                    

                    Only show down/available IP's:

                    sudo nmap -PO -sP -PE -n --open -v 10.1.1.1-10 | grep "host down" | sed 's/Nmap scan report for //g' | sed 's/ [host down]//g'
                    

                    Ping a TCP port:

                    nping --tcp -p 80,443 www.newegg.com
                    

                    Stress test packets per second with ICMP (5,000 pings sent at rate of 100k per second):

                    nping --icmp 10.1.1.1 --rate 100000 -c 5000
                    

                    QoS EF ping:

                    ping -Q 0xB8 10.1.1.1
                    

                    Packet capture (CTRL + C when done):

                    sudo tcpdump -i eth0 -w testing.pcap
                    

                    View a packet capture for ICMP:

                    tcpdump -r testing.pcap -nnvvvSe | grep ICMP
                    

                    That's about all I got right now.

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

                      Some "not so standard" useful IP address stuff:

                      ip addr show eth0
                      ip -s link show eth0
                      
                      dafyreD 1 Reply Last reply Reply Quote 0
                      • dafyreD
                        dafyre @quicky2g
                        last edited by

                        @quicky2g said:

                        Some "not so standard" useful IP address stuff:

                        ip addr show eth0
                        ip -s link show eth0
                        

                        Supposedly, those are the new standards, ha ha ha.

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

                          @dafyre said:

                          @quicky2g said:

                          Some "not so standard" useful IP address stuff:

                          ip addr show eth0
                          ip -s link show eth0
                          

                          Supposedly, those are the new standards, ha ha ha.

                          Muscle memory has me stuck on

                          ifconfig
                          
                          dafyreD travisdh1T 2 Replies Last reply Reply Quote 4
                          • dafyreD
                            dafyre @quicky2g
                            last edited by

                            @quicky2g You and me both, lol.

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

                              Same here.

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

                                @quicky2g said:

                                @dafyre said:

                                @quicky2g said:

                                Some "not so standard" useful IP address stuff:

                                ip addr show eth0
                                ip -s link show eth0
                                

                                Supposedly, those are the new standards, ha ha ha.

                                Muscle memory has me stuck on

                                ifconfig
                                

                                Only the people here will understand how many times I've typed ifconfig instead of ipconfig, or ipconfig instead of ifconfig. So annoying (yes, I annoy myself.)

                                dafyreD 1 Reply Last reply Reply Quote 4
                                • dafyreD
                                  dafyre @travisdh1
                                  last edited by

                                  @travisdh1 said:

                                  @quicky2g said:

                                  @dafyre said:

                                  @quicky2g said:

                                  Some "not so standard" useful IP address stuff:

                                  ip addr show eth0
                                  ip -s link show eth0
                                  

                                  Supposedly, those are the new standards, ha ha ha.

                                  Muscle memory has me stuck on

                                  ifconfig
                                  

                                  Only the people here will understand how many times I've typed ifconfig instead of ipconfig, or ipconfig instead of ifconfig. So annoying (yes, I annoy myself.)

                                  Annoying yourself is fine. Arguing with yourself is fine... But if you start to hear voices arguing back... Then you should worry.

                                  However, I do feel your pain.

                                  quicky2gQ 1 Reply Last reply Reply Quote 3
                                  • quicky2gQ
                                    quicky2g @dafyre
                                    last edited by

                                    @dafyre said:

                                    @travisdh1 said:

                                    @quicky2g said:

                                    @dafyre said:

                                    @quicky2g said:

                                    Some "not so standard" useful IP address stuff:

                                    ip addr show eth0
                                    ip -s link show eth0
                                    

                                    Supposedly, those are the new standards, ha ha ha.

                                    Muscle memory has me stuck on

                                    ifconfig
                                    

                                    Only the people here will understand how many times I've typed ifconfig instead of ipconfig, or ipconfig instead of ifconfig. So annoying (yes, I annoy myself.)

                                    Annoying yourself is fine. Arguing with yourself is fine... But if you start to hear voices arguing back... Then you should worry.

                                    However, I do feel your pain.

                                    Only voices I hear arguing back are telling me to do dishes, take out the trash, etc....

                                    Those definitely aren't in my head 😏

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

                                      @scottalanmiller Have you tried glances yet? Just curious.

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

                                        No, I have not.

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

                                          Running it now...

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

                                            Really liking glances.

                                            My Ubuntu install:

                                            sudo apt-get install python-pip build-essential python-dev
                                            sudo pip install --upgrade glances
                                            sudo pip install bottle
                                            

                                            Optional for hardware sensors:

                                            sudo apt-get install lm-sensors
                                            sudo pip install PySensors
                                            

                                            Just running "glances" at cli got me the interface. Web server worked like this:

                                            sudo glances -w -B 10.1.1.1
                                            

                                            Worked at http://10.1.1.1:61208

                                            Ran a few simultaneous web server instances in the background for local network and Hamachi:

                                            sudo glances -w -B 10.1.1.1 &
                                            sudo glances -w -B 25.25.25.25 &
                                            

                                            Definitely going into rc.local now.

                                            Anyone get https working?

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