728x90

Operating System/O.S(Arif Butt) 11

Device Files , Terminal Attributes, Time Management (Lec25,Lec26, Lec27)

basically terminal is a file that program can read or write. major number = 8 identifies the driver associated with the device. for exmaple , /dev/null and /dev/zero are both managed by drvier 1, whereas virtual consoles and serial terminals are managed by driver 4. minor number = 0,1,2 used only by the drvier specified by the major number. the minor number provides a way for the driver to diffe..

File System Architecture , Links, Special File Permission , Access Control Lists (Lec 20,21,23,24)

in this file system there are 498784 inodes and so on.' tune2fs == allows the system adminstrator to adjust various tunable filesystem parameters on linux ext2, ext3, ext4 filesystems. i only typed less /etc/passwd but when you check out with lsof command with pid there are many files opened , because of dependency. 0u , 1u, 2u is the file descriptor stdin, stdout, stderr , and we have our less ..

User Management ,Disk Geometry, Partition ,Formatting,mounting(Lec15,16,17,18,19)

$ su == substitute user // $su - unset Enviornment variable and working directory to use sudo 1. to use sudo your username should be inside /etc/sudoers to chage this file you should always use $visudo command 2. # usermod -G sudo k == make username member of this group 3. can check with $ less /etc/group command /etc/passwd (store user account information) 7 columns 1. username 2. password exis..

728x90