⟩ How do you print the lines between 5 and 10, both inclusive? a) cat filename | head | tail -6 b) cat filename | head | tail -5 c) cat filename | tail +5 | head d) cat filename | tail -5 | head -10
a) cat filename | head | tail -6
a) cat filename | head | tail -6
In the device driver model the device_driver object contains the a) name of the device driver b) embedded kobjects c) method for probing a device d) all of the mentioned
Which one of the following is a notification to user space from the kernel that something has changed in the system's configuration? a) hotplug event b) module event c) attach event d) none of the mentioned
In sysfs every subsystem has a) a shared attribute structure b) its own attribute structure c) both (a) and (b) d) none of the mentioned
Sysfs internally stores the pointer to the ____ that implements the directory in the file system. a) kobjects b) kstructures c) kinodes d) none of the mentioned
Kernel objects are exported as _____ via sysfs. a) regular files b) symbolic links c) directories d) none of the mentioned
Sysfs is initialised in ______ file via sysfs_init function. a) fs/sysfs/mount.c b) sysfs/mount.c c) fs/mount.c c) none of the mentioned
Attributes can be exported for objects in the form of _______ in the file system. a) regular files b) directories c) symbolic links d) none of the mentioned
sysfs is based on a) rootfs b) ramfs c) initramfs d) none of the mentioned
What is sysfs? a) it is a virtual filesystem b) users use it to get the information about the running kernel c) it is used for exporting kernel objects. d) all of the mentioned
How to get microseconds of system time from Redhat Linux 4.0?