- Which command would you use to check the path of mv command?
- Which command would you use to edit events 56 to 60 using text editor emacs?
- What is the syntax for the command you use to re-execute a specific even or command?
- What command do you use to view the range of commands from event 23 to 33?
- Which command would you use to restrict the CPU time usage for a user's session?
- Which component of the Pluggable Authentication Modules (PAM) facility performs the authentication operation?
- Which command would you use to set full permission for the owner and group and no permission to other users on the files /home/projects/database?
- What does the command fsck /dev/sda1 does?
- What is the main purpose of mounting the file system?
- Which command will display date and time?
- Which command will take you to the Documents directory inside your home directory?
- Which command clones the content of one device to another?
- Which cp command option enables you to copy the contents of a directory and its subdirectories?
- Which wc command option returns number of characters in a file?
- Which command would you use to send a kill signal to all the processes that are running kpoker command?
- Which command can you use to cause the automatic compilation of source files?
- Which file is generated by the configure command?
- Which runlevel indicates that the system is in multiuser mode running the graphical login program?
- Which of the below file can be used to add a banner in your Linux machine?
- How many KILL signal are there by default in a Linux system?
- Which UNIX service requires TCP wrappers to perform IP based access control?
- Which command do you use to access /var/log/messages file?
- Which command can you use to make /var/log/errors utilize less space in the directory?
- Which option would you use to force the logrotate program to rotate the log files?
- Which command tells the logrotate program to retain logs for a month?
where mv
findout mv
path mv
which mv
!! emacs
emacs -e 56 61
fc -e emacs
fc -e emacs 56 61
fc !!
fc !s
fc -e texteditor command
fc -s command
fc -l 23 33
fc -l 23 to 33
fc -r 23 33
history 23 33
edquota
logcheck
ps -aux | grep getty
ulimit
Configuration file procedure
Module
Service
Session
chmod 660 /home/projects/database
chmod 440 /home/projects/database
chmod 550 /home/projects/database
chmod 770 /home/projects/database
fsck resets the file permissions on the file system /dev/sda1
fsck repairs the msdos filesystem on /dev/sda1
fsck repairs the UNIX file system on /dev/sda1
fsck unmounts the filesystem and then repairs /dev/sda1
To change permission of the filesystem
To change the ownership of the filesystem
To check and repair the filesystem
To connect the filesystem to the UNIX root filesystem
echo date
echo $DATE
echo "date"
echo `date`
cd /home/Documents
cd ~/Documents
cd /Documents
cd /root/Documents
cp
dd
mv
clone
-r
-m
-b
-s
-l
-m
-c
-r
kill -6 poker
kill -HUP poker
killall -KILL poker
kill poker
configure
make
ldconfig
make install
make.conf
Makefile
config.log
make_install
3
4
5
6
/etc/banner
/etc/logininfo
/etc/issue
/etc/info
61
62
63
64
cron
inetd
syslog
xinetd
last
first
stat
lastlog
compress
copytruncate
create
truncate
logrotate -d
logrorate -f
logrotate -r
logrotate -s
compress 4
create 4
rotate 4
weekly