Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

command linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • valrug
    Board Senior Member
    • Nov 2011
    • 253

    command linux

    what are the most useful commands to query the receiver in linux?
  • housy01
    Senior Member
    • May 2011
    • 120

    #2
    Re: command linux

    Can you explain what do you mean by query your box.
    You can use all basically linux commands you know...

    Comment

    • fackie
      Newbie
      • Nov 2011
      • 2

      #3
      Re: command linux

      As @housy01 says, it will depend on what you want to achieve. Good starting points to keep things in check are the likes of "ps -ef", "top", "netstat -an", and a few others.

      Please expand on what you're trying to achieve.

      Comment

      • PYO
        Junior Member
        • Jul 2012
        • 24

        #4
        Re: command linux

        I think the best command to query receiver connected to LAN will be:
        telnet ip_address_of_receiver.

        Comment

        • fran.javi.fer
          Newbie
          • Dec 2012
          • 6

          #5
          Re: command linux

          Originally posted by valrug
          what are the most useful commands to query the receiver in linux?
          What kind of receiver?

          Comment

          • mahrkpat
            Experienced Board Member
            • Jun 2012
            • 1493

            #6
            Re: command linux

            Originally posted by fran.javi.fer
            What kind of receiver?
            Obviously it has to be a linux based receiver but not a closed one eg dreambox.
            Liked my post then push the sigpic button.

            Comment

            • besit
              Board Senior Member
              • Aug 2011
              • 343

              #7
              Re: command linux

              Strange kind of question
              To know it's alive "ping box_name"
              To get the command prompt "telnet box_name"
              To transfer config files "ftp" or run ftp gui like cuteftp
              These are all beautiful commands.

              Comment

              • fran.javi.fer
                Newbie
                • Dec 2012
                • 6

                #8
                Re: command linux

                In some receivers running linux maybe you can get a command prompt running "ssh"

                Comment

                • joseram2000
                  Board Senior Member
                  • Nov 2010
                  • 271

                  #9
                  Re: command linux

                  The best way is to do it through ssh, directly from a PC with Linux distribution, or from windows with putty,

                  Comment

                  • luk4asz
                    Experienced Board Member
                    • Feb 2011
                    • 613

                    #10
                    Re: command linux

                    For me, the most important is ftp (totalcommander).
                    I only use a few commands:
                    top
                    killall -9 name_process
                    netstat-an
                    mkdir
                    rmdir
                    passwd
                    cat
                    and it is good to know vi or something like to editing text files.

                    Comment

                    • kalpikos
                      Experienced Board Member
                      • Sep 2011
                      • 7663

                      #11
                      Re: command linux

                      The most useful command for me is "reboot".

                      I use it from DCC and telnet in order to reboot my box,
                      when I'm away from my home.
                      If You Like My Post..... Please Press the Thanks Button

                      Comment

                      • cisko
                        Banned
                        • Sep 2012
                        • 237

                        #12
                        Re: command linux

                        ssh is the best way to query linux system. If your box doesn't support ssh, use telnet, is the same but without SSL connection.

                        To check status of some parameters, if the program support this function, you can use a webpage. Of corse this is the best way, but this is not a general method.

                        Comment

                        • aplok
                          Experienced Board Member
                          • Jun 2013
                          • 1155

                          #13
                          Re: command linux

                          - to open a session onto your box, from a console

                          telnet ip
                          root
                          dreambox


                          - to get the PATH

                          root@dreambox:~> echo $PATH
                          /sbin:/bin:/var/bin:/var/sbin:/tmp


                          - to list the command in the PATH

                          root@dreambox:~> for aa in $(echo $PATH |sed 's/:/ /g'); do echo; echo --- $aa; ls $aa; done

                          --- /sbin
                          automount hdparm init mkswap start-stop-daemon telnetd
                          chroot hotplug insmod poweroff streampes udhcpc
                          crond httpd klogd rdate streamsec udpstreampes
                          dropbear ifconfig loadkmap reboot streamts
                          dropbearkey in.ftpd logread rmmod swapoff
                          dropbearmulti in.telnetd losetup route swapon
                          halt inetd lsmod scp syslogd

                          --- /bin
                          [ cp etherwake gzip mkdir pwd su uniq
                          ash crontab expr head mknod reset sync unix2dos
                          awk date false hostname more rm tail uptime
                          basename dd find id mount rmdir tar usleep
                          boot df flashtool inadyn mv sed telnet vi
                          bunzip2 dmesg free kill nc sh test wc
                          busybox dos2unix fusermount killall netstat showlogo top wget
                          bzcat du gdaemon lcdoff nslookup sleep touch which
                          cat dvbnet grab ln passwd smbmnt true whoami
                          chgrp echo grep logger pidof smbmount tty xargs
                          chmod enigma gtraffic login ping sort udhcpc yes
                          chown env gtrans ls prockill streamripper umount zcat
                          clear eraseall gunzip md5sum ps stty uname

                          --- /var/bin
                          CCcam_2.1.4 CCcaminfo.so enigmanet inadyn

                          --- /var/sbin
                          ls: /var/sbin: No such file or directory

                          --- /tmp
                          gdaemon.socket hotplug.socket mmi.socket



                          - to see the command available in your shell

                          root@dreambox:~> busybox --help
                          BusyBox v1.01 (2009.12.12-13:19+0000) multi-call binary

                          Usage: busybox [function] [arguments]...
                          or: [function] [arguments]...

                          BusyBox is a multi-call binary that combines many common Unix
                          utilities into a single executable. Most people will create a
                          link to busybox for each function they wish to use and BusyBox
                          will act like whatever it was invoked as!

                          Currently defined functions:
                          [, ash, awk, basename, bunzip2, busybox, bzcat, cat, chgrp, chmod, chown, chroot, clear, cp, crond, crontab,
                          date, dd, df, dmesg, dos2unix, du, echo, env, expr, false, find, free, grep, gunzip, gzip, halt, hdparm, head,
                          hostname, httpd, id, ifconfig, inetd, init, insmod, kill, killall, klogd, ln, loadkmap, logger, login, logread,
                          losetup, ls, lsmod, md5sum, mkdir, mknod, mkswap, more, mount, mv, nc, netstat, nslookup, passwd, pidof, ping,
                          poweroff, ps, pwd, rdate, reboot, reset, rm, rmdir, rmmod, route, sed, sh, sleep, sort, start-stop-daemon,
                          stty, su, swapoff, swapon, sync, syslogd, tail, tar, telnet, telnetd, test, top, touch, true, tty, udhcpc,
                          umount, uname, uniq, unix2dos, uptime, usleep, vi, wc, wget, which, whoami, xargs, yes, zcat



                          - to get help of the command ls

                          root@dreambox:~> ls --help
                          BusyBox v1.01 (2009.12.12-13:19+0000) multi-call binary

                          Usage: ls [-1AacCdeFilnpLRrSsTtuvwxXhk] [filenames...]


                          - to do all the best out of your box

                          --hxxp://www.dreambox.it/guide_base_comandi_telnet.htm

                          toc
                          Managing files and directories
                          The wildcard
                          Other concepts
                          Managing disks and magnetic tapes
                          Directory mounting
                          The devices
                          Copy a file on disk msdos 1.4
                          Format a floppy disk compatible with windows
                          Copying to a diskette
                          Processes & Multitasking
                          Commands for managing devices
                          Store Commands
                          Basic controls for the system administrator and the user
                          Configuration Commands
                          Checking Port Status
                          Booting and Shutdown
                          Start and Stop EMU
                          Changing Channels
                          Change MAC Address
                          Change date and time
                          How to create a SWAP File
                          Activate the swap file
                          NOTE

                          Comment

                          Working...