Trendnxt Linux l1
Trendnxt Linux l1
Trendnxt Linux l1
Command used to view all the mounted partitions along with accessible permissions
df h
mounts
cat /proc/mounts ------------->>>>>>>> ANSWER
fdisk –l
You have a user user1 and you want to add him to sysusers as a secondary group of users
usermod –G sysusers user1 ------------->>>>>>>> ANSWER
usermod –g sysusers user1
=======================================================================
/dev is the location
Device drivers
device files.
Kernel modules
device files
=======================================================================
nfs
=======================================================================
lvcreate
=======================================================================
/etc/resolv.conf
=======================================================================
Command used to view all the mounted partitions along with accessible permissions
df h
mounts
cat /proc/mounts
fdisk –l
df -h
=======================================================================
/etc/inittab
=======================================================================
Command gives more detailed information of mountpoint which are mounted on server
df h
mounts
cat /proc/mounts
fdisk –l
cat /proc/mounts
=======================================================================
Which command is used to list all possible partition types and their respective partition id's
fdisk -l
df -h
/proc/part
fdisk -l
=======================================================================
Netstat -rn
=======================================================================
bash
=======================================================================
/etc/hosts.allow
=======================================================================
Bootloader is available in :
/boot
=======================================================================
swap
=======================================================================
/etc/squid/squid.conf
=======================================================================
history 5
=======================================================================
Command to modify the exsisting secondary group for existing user in Rhel 5
useradd
usermod
useradd –g
modprobe
usermod
=======================================================================
You have a user user1 and you want to add him to sysusers as a secondary group of users
usermod –G sysusers user1
usermod –g sysusers user1
usermod –G sysusers user1
Softlink
=======================================================================
env
=======================================================================
Which command in Linux is used to change the run level of a running service
runlevel
chkconfig
service
all of the above
chkconfig
=======================================================================
List the pending jobs of a user
at
atq
at -f
atq
=======================================================================
daemon used for ftp
ftp
vsftpd
vsftpd
=======================================================================
slackware
=======================================================================
=======================================================================
ssh
=======================================================================
/etc/profile
=======================================================================
If you want to forcefully umount the Filesystem directory /data of /dev/sdb1
fuser -l /data
fuser –l /data /dev/sdb1
umount –f /data
fuser –km /data
none
umount –f /data
=======================================================================
Which option is used with e2fsck utility option used to autorepair the file system without
prompting
e2fsck –p
=======================================================================
=======================================================================
=======================================================================
=======================================================================
=======================================================================
=======================================================================
=======================================================================
ls -a
=======================================================================
Current directory is shown by
.
..
a
=======================================================================
What is pwd
=======================================================================
df -T
=======================================================================
ping
=======================================================================
ufs
=======================================================================
Which initialization script file is executed after all other init script startup
/etc/inittab
/etc/rc
/etc/rc.sysinit
/etc/rc.local
=======================================================================
passwd -l
=======================================================================
passwd -u
=======================================================================
SIGH KILL SIGNAL ----------- Iska answer kill -1 PID aayega
=======================================================================
Which option is used with e2fsck utility option used to autorepair the file syatem without
prompting
e2fsck –c
e2fsck –n
e2fsck –p ------------->>>>>>>> ANSWER
e2fsck –r