what are the most useful commands to query the receiver in linux?
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
-
Comment
-
Re: command linux
In some receivers running linux maybe you can get a command prompt running "ssh"Comment
-
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
-
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
-
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
Comment