Experiment 2
Experiment 2
OBJECTIVE
Start Raspberry Pi and try various Linix commands in command terminal window:
ls, cd, touch, mv, rm, man, mkdir, rmdir, tar, gzip, cat, more, less, ps, sudo, cron, chown, chgrp,
ping etc
COMMANDS: -
10) ls or list
Syntax: $ ls
Example: The ls command prints out the contents of a directory
11) more
more is one of the oldest terminal pagers in the UNIX ecosystem. Originally, more could
only scroll down, but now we can use it to scroll up one screen-full at a time, and scroll down
either one line or one screen-full:
more filename.txt
12) chown
USER is the user name or the user ID (UID) of the new owner. GROUP is the name of the
new group or the group ID (GID). FILE(s) is the name of one or more files, directories or
links. Numeric IDs should be prefixed with the + symbol.