40-7705ii-UM
Page 95
Rev 1 June 11, 2018
Appendix A
Common Linux Commands
Below are some of the more common commands you will be using on the Linux
operating system:
cat:
concatenate files and print on standard output. Ex: cat {filename}<Enter>
cd:
change directory
clear:
clear the screen.
cp:
copy files
grep:
find lines matching a certain pattern. Ex: grep {string} {filename}<Enter>
ifconfig:
displays current TCP/IP settings.
less:
filter for viewing files and directories. Ex: less {filename}<Enter>
locate:
locates files that matches a certain pattern. Ex: locate {filename}<Enter>
ls:
list
:
directory contents
mcopy:
copy files to a disk DOS. Ex: mcopy {filename} {destination ie a:}<Enter>
mdir:
list directory contents on a DOS contents.
mkdir:
make a new directory
passwd:
change a user password.
ping:
used to test IP connection to another node on the network.
ps:
dispaly a process status.
Below are some advanced commands not commonly used or needed but could be useful
for advanced users. Use caution with some of these as incorrect usage could cause a file
or system to be modified and stop normal operation.
etc:
system configuration file
.
date:
used to set the time and date of the server. It is very important that time between multiple
MultiNet Receivers be synchronized. Type
man date<Enter>
for usage information.
find:
find files.
halt:
shut down system
host:
look up host information.
hostname:
display system’s hostname
.
mv:
move or rename files.
reboot:
to reboot the computer.
root:
the user that owns the operating system and control the computer
setup:
A “Text Mode Setup Utility” that can be used to configure the system including time zone,
network settings, keyboard, mouse, printer to name a few.
shutdown -h now:
to stop or halt the computer now.
shutdown -r now:
to reboot the computer now.
which:
display a program’s executable path
whereis:
locate binary, sources and manual pages for a command.
who:
show the users who are logged in
whoami:
show the users who you are currently logged in as.
tzselect:
To set the time zone where the MultiNet receiver is located.