Can I list the filesystems a running kernel can support?
I’m trying to detect what filesystems a kernel can support. Ideally in a little list of their names but I’ll take anything you’ve got.
I’m trying to detect what filesystems a kernel can support. Ideally in a little list of their names but I’ll take anything you’ve got.
In Windows, if I wanted to find a string across all files in all subdirectories, I would do something like
I think I rather understand how file permissions work in Linux. However, I don’t really understand why they are split into three levels and not into two.
I’m wondering if I can use the directory listing of /sys/module instead of lsmod to get a list of currently loaded modules.
I have a card reader attached on /dev/sdb.
How can I determine or set the size limit of /etc/hosts? How many lines can it have?
I got into a little debate with someone yesterday regarding the logic and/or veracity of my answer here, vis., that logging and maintaining fs meta-data on a decent (GB+) sized SD card could never be significant enough to wear the card out in a reasonable amount of time (years and years). The jist of the counter-argument seemed to be that I must be wrong since there are so many stories online of people wearing out SD cards.
I’m attempting to limit a process to a given number of CPU cores. According to the taskset man page and this documentation, the following should work:
Does the command pwd in a shell script output the directory the shell script is in?
I have a USB key that contains my keepass2 password database and I’d like to perform some actions when it is plugged into my computer, namely: