MIS Linx Intro
MIS Linx Intro
Understanding GNU/Linux
$
#
ls
tail
head
rm
mkdir
You have been given a text file having a list of
10 directory names to be created. Suggest a
solution?
for name in `cat abc.txt`; do mkdir $name; done
CLI – Command Line Interface
mv
cp
find
>
>>
|
Partition Geometry
auto/noauto
dev/nodev
exec/noexec
ro/rw
acl
quota
Mounting a partiton read-only:
mount -o remount, ro <mount point>
Introduction to 'vim'
Creat a file
Editing a file
Saving a file
Navigating a file
Syntax highlighting
Copying content within a file
Deleting content within a file
Opening multiple files
Searching a file
User and Group Management
/etc/passwd
/etc/group
/etc/shadow
/etc/sudoers
Format: usernames/group servername =
(usernames command can be run as) command
How to add a user?
How to add a group?
How to change passwords?
Finding useful user information
whoami
who
last, last <user>
groups
lsof -u
Shell command history
Process identification and review
ps -aux
pstree
ps -u <username>
ps -ef |grep <process name>
ps -u <username>
Use the man page and -o parameter with its
valuse to generate process information
/proc