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

    Starting points: (RE)Learning Linux commands

    IT Discussion
    6
    32
    4338
    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.
    • gjacobse
      gjacobse last edited by

      Not having spent much time in the Linux / Unix command line in more than 20 years,.. I've lost all of that knowledge and with having a [email protected] account, find that I really need that knowledge again to really be able to use [email protected] I'm not looking do do programing / coding but basic points of use.

      There is a lot of potential for the [email protected] service and the builds I have on a desktop and laptop here in the office. But past the GUI, I'm out of my element.

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @gjacobse last edited by

        They way I learn Linux was just by building shell only machines years ago and learned as I needed to do stuff. Google should help if you need it,

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

          Which Linux OS are you installing? Ubuntu and Debian are similar. CentOS 6 to CentOS 7 was a big leap in how things are done.

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

            I assume that you are good with the common ls, cd, ssh, pwd, mv and similar navigational commands?

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

              To see memory utilization, use free -m

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

                To see disk space utilization use df -h

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

                  To see processes running in a nice, "live" table use top

                  1 Reply Last reply Reply Quote 0
                  • gjacobse
                    gjacobse last edited by

                    CentOS on [email protected] and local
                    LinuxMint

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

                      Which CentOS? Version matters a bit.

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

                        First thing to do with any CentOS...

                        yum -y install epel-release
                        
                        JaredBusch 1 Reply Last reply Reply Quote 0
                        • scottalanmiller
                          scottalanmiller last edited by

                          In CentOS you have YUM to make things easy. To install any software you just use...

                          yum install softwarename
                          
                          1 Reply Last reply Reply Quote 0
                          • scottalanmiller
                            scottalanmiller last edited by

                            And to fully update your system just run....

                            yum update
                            
                            1 Reply Last reply Reply Quote 0
                            • scottalanmiller
                              scottalanmiller last edited by

                              Be sure to install sysstat (System Stats) and htop (Horizontal TOP? Honestly, no idea what it stands for.)

                              yum -y install sysstat htop
                              
                              coliver 1 Reply Last reply Reply Quote 0
                              • scottalanmiller
                                scottalanmiller last edited by

                                Once you have sysstat installed and it has sat around for ten minutes or more you will start to get details in your sar reports. This is one of the most important tools in your Linux arsenal. Once it has sat around you can see all kinds of details as to how it has been running....

                                sar
                                
                                1 Reply Last reply Reply Quote 0
                                • coliver
                                  coliver @scottalanmiller last edited by

                                  @scottalanmiller said:

                                  Be sure to install sysstat (System Stats) and htop (Horizontal TOP? Honestly, no idea what it stands for.)

                                  yum -y install sysstat htop
                                  

                                  From http://hisham.hm/htop/index.php?page=faq:

                                  What does the 'h' in 'htop' stand for?

                                  Well, the short explanation is a little obvious: the "h" stands for "Hisham", my name. 🙂

                                  The long explanation is that what inspired me to write htop was pinfo, an improved man and info reader that adds lots of features (in my machines 'man' is an alias to 'pinfo -m'). It was written by a guy called Przemek Borys. Since 'pinfo' was "a better info" and he named it "pinfo" ("Przemek's Info"), I decided to try to make "a better top" so I called it "htop" ("Hisham's top"). So yes, it is after my own name, but it's also a homage to another nice piece of software!

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

                                    And of course the uptime command is super handy.

                                    -bash-4.2$ uptime
                                     14:39:39 up 6 days, 16:17,  1 user,  load average: 0.27, 0.16, 0.15
                                    
                                    1 Reply Last reply Reply Quote 1
                                    • gjacobse
                                      gjacobse last edited by

                                      Yum -
                                      So one of the goals is to have ManageEngine running. I've uploaded the .bin file, WHile I know I didn't need to.. it's done..

                                      would it be

                                      yum - y install (filename)?

                                      coliver scottalanmiller 2 Replies Last reply Reply Quote 0
                                      • coliver
                                        coliver @gjacobse last edited by

                                        @g.jacobse said:

                                        Yum -
                                        So one of the goals is to have ManageEngine running. I've uploaded the .bin file, WHile I know I didn't need to.. it's done..

                                        would it be

                                        yum - y install (filename)?

                                        http://www.manageengine.com/products/service-desk/help/adminguide/introduction/installation-linux.html#lin2

                                        While I think YUM has a local installation option, I don't think it will work with bin files.

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

                                          @g.jacobse said:

                                          Yum -
                                          So one of the goals is to have ManageEngine running. I've uploaded the .bin file, WHile I know I didn't need to.. it's done..

                                          would it be

                                          yum - y install (filename)?

                                          @g.jacobse said:

                                          Yum -
                                          So one of the goals is to have ManageEngine running. I've uploaded the .bin file, WHile I know I didn't need to.. it's done..

                                          would it be

                                          yum - y install (filename)?

                                          @g.jacobse said:

                                          Yum -
                                          So one of the goals is to have ManageEngine running. I've uploaded the .bin file, WHile I know I didn't need to.. it's done..

                                          would it be

                                          yum - y install (filename)?

                                          A bin is a binary, like a Windows installer. It's not an RPM, which is an installation file. To install a binary, on any OS, just run it.

                                          gjacobse 1 Reply Last reply Reply Quote 1
                                          • gjacobse
                                            gjacobse @scottalanmiller last edited by

                                            @scottalanmiller
                                            Not sure why that quoted three time...

                                            I feel I hear Foghorn Leghorn's voice here... "No no no son,.. your don't it all wrong..."

                                            doingitwrong.png

                                            ? StrongBad 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post