Mystery of binary files
This is about files straight from the compiler, say g++, and the -o (outfile) flag.
This is about files straight from the compiler, say g++, and the -o (outfile) flag.
I can do df . to get some of the info on the mount that the current directory is in, and I can get all the info I want from mount. However I get to much info (info about other mounts). I can grep it down, but am wondering if there is a better way.
While browsing through the Kernel Makefiles, I found these terms. So I would like to know what is the difference between vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?
I want to kill all running processes of a particular user from either a shell script or native code on a Linux system.
I want to display all the characters in a file between strings “xxx” and “yyy” (the quotes are not part of the delimiters). How can I do that ? For example, if i have input “Hello world xxx this is a file yyy”, the output should be ” this is a file “
How can we extract specific files from a large tar.gz file? I found the process of extracting files from a tar in this question but, when I tried the mentioned command there, I got the error:
I’m starting X as a user and need to set my keyboard brightness in /sys/class/leds/asus::kbd_backlight/brightness. The /sys/ directory gets recreated after reboot, so the permissions will reset too. How do I set it up so I don’t need to make the file writable by all users after every boot?
I know how to create and use a swap partition but can I also use a file instead?
Is there any standard that covers the portability of running a command after variable assignment on the same line?
I have the following content in in /etc/udev/rules.d/81-external-disk.rules: