Linux, 5linux – Grass Valley K2 Edge Engineering Manual v4.1 User Manual
Page 22

K2 Edge Engineering Manual- document version: 4.1 - Page 22
5
Linux
K2 Edge uses the Linux operating system. In this section we will cover a number of Linux commands
which we will use during this training.
On older systems, replace the /system directory with the /publitronic directory.
Command Example Usage
Description when used and with option
grep
grep ‘text’
file.txt
text search and filter
– can be combined with other
commands using pipe |
ls
ls –l
lists files in the current directory (-l gives long listing)
ls
ls –l |grep pt
adding the pipe symbol (|) and grep, filters the result (in this
case by pt)
cd
cd /system
change to the specified directory
man
man ls
shows a manual for the command (in this case ls)
ifconfig
shows network configuration
cat
cat blade.ini
will display a text file on the screen (in this case blade.ini)
less
less blade.ini
similar to
cat but allows searching by using ‘/’ & ‘?’
tail
tail –f blade.ini
used to view the last 10 lines of a file
df
df
shows current disk usage
ps
ps aux
detailed listing of all processes running
ps
ps aux |grep play
detailed listing of running processes w
ith “play” in the name
killall killall nexos
killall of the nexos processes