Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@arthurHebert-Ryan as you know RH7 (and therefore centos7) is EOL. Sadly RedHat has been trying to Nerf all downstream (Oracle, Centos, Alma, Rocky) for some time and is throwing FUD out there.
@ManuelJordan it’s not really used anymore, it was used back in the days of big honkin’ Solaris boxes. It was used to get the machine where the OS wasn’t running, whether that meant power off or drop to the equivalent of bios or whatever.
@ManuelJordan write permissions, yes. Think of a directory as a scratchpad that lists “these are all the files just under me”. To delete a file you kinda rewrite that scratchpad. But don’t need to rewrite anything above you. Other perms are important, i have some kid errands to finish but there’s some combination of missing R and X flags on parent dire that would make this difficult
Tip: use a slash at the end of your directory. I.e. mv $FILE PropertyName/. Why? Typo protection. If you instead did mv $FILE PropetyName you’ve just renamed a bunch of files to the same file name, meaning only the last one in the list is still around, and you can’t get the others back.
@mercury0114 the shell sees the pipe, calls the pipe(2) syscall, and hooks up A and B to the pipe in the kernel. the second time you run it, same thing happens, pipe(2) syscall, new buffer in the kernel, hook up the new version of A and new B to the pipe.