
Notes
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
Use “admin2” for CLI access
logout/exit/<ctrl>d % Exits session
<ctrl>c % To break out if locked
su “uname” % Switch User . Add –l to
use login directory
pwd % Show current Directory
ls % List the current directory in short
format
ll % List the current directory in long
format
tail <logfile> % Display 10 (default)
most recent entries in a log file
tail –100 <logfile> % Display 100 most
recent entries in a log file
tail –f <logfile> % Live monitor events
as they are written to a log file
tail –f <logfile> | grep <string>
Live monitor events as they are written
to log file and only display lines
containing <string>
Stop ageing of LINUX passwords.
Login as root
passwd “Username” –x -1
e.g. > passwd root –x -1
mount /dev/sda1 /<temp dir name> -t
vfat % Mounts a usb stick onto a
temporary directory
umount /dev/sda1 % Unmount the usb
stick before removing
networkconfig Config IP Addresses
datetimeconfig Set date and time
CS 1000 Rel 7.5 16/04/2013
Copyright Amlex Associates Ltd
192
Kommentare zu diesen Handbüchern