Westminster Road
umask value will result in default access permissions of 600 (rw——) for files and 700 (rwx——–) for directories
0077
077
cmd unmount /mnt with error message. umount: /mnt: device is busy
user has a file open in /mnt directory
cmd used to modify quota settings
edquota
following cmds will mount an already inserted CDROM in /dev/sr0 onto an existing directory /mnt/cdrom when issued with root priv
mount -t cdrom /dev/sr0 /mnt/cdrom
in compliance with FHS what directories are doc files found
/var/share/doc
common linux cmds for file management
mv
cp
mkdir
cmd display inode usege of each mounted filesystem
df -i
cmd shows all libraries required by binary executable or another shared library
ldd
SysV init config file used to set default run level
inittab
instead of supplying explicit device in /etc/fstab for mounting, what other options may be used to id the intended partition
LABEL
UUID
option must be passed to a filesystems entry in /etc/fstab in order to mount the file system without root priveleges
user
cmd will change CR-LF pairs in an imported text file, userlist.txt to linux standard LF characters and store it as newlist.txt
tr -d ‘\r’ < userlist.txt > newlist.txt
normal mode in VI what char can be used to begin a reverse search
?
chown cmd will change ownership to dave and the group to staff on a file named data.txt
chown dave:staff data.txt
what does mount -a do
mounts all filesystems listed in /etc/fstab that have option auto set.
vi editor what cmd will copy (but not paste) from current line at the cursor and the following 16 lines (17 lines total).
17yy
cmd shows definition of given shell cmd
type
process ID number of init process on a SysV init based system
1
cmd used to search executable file foo when it has been placed in a directory not included in $PATH
find
cmd print working directory in bash shell
pwd
21, My Desk
FHS where should binaries that have been compiled by sys admin be placed in order to be made available to all users on the system
/usr/local/bin
cmd changes ownership of file.txt to the user dan and the group staff
chown dan:staff file.txt
describes a difference between GHU GRUB Legacy and GRUB 2
Partition numbers start at 0 in GRUP Legacy and 1 in GRUB 2