Skip to main content
Rich Homolka's user avatar
Rich Homolka's user avatar
Rich Homolka's user avatar
Rich Homolka
  • Member for 14 years, 11 months
  • Last seen more than 1 year ago
  • Chicago, IL
awarded
awarded
comment
What role does the /etc/sysconfig/httpd config file have in the configuration of Apache server?
@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.
awarded
awarded
awarded
awarded
awarded
awarded
comment
What is the difference between the shutdown, halt and reboot commands?
@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.
comment
Why can't I delete a file where I have group write permissions on?
@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
awarded
comment
How to loop in bash
@MarcusArmstrong do a “help extglob” in bash, it may help you match better.
comment
How to loop in bash
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.
awarded
awarded
Loading…
awarded
comment
Does pipe have to write temporary file?
@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.
awarded
1
2 3 4 5
81