Reputation
563
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 8
Newest
 Critic
Impact
~29k people reached

  • 0 posts edited
  • 0 helpful flags
  • 7 votes cast
Apr
18
awarded  Critic
Apr
18
comment recursive mkdir
I commented initially because I think your comment that mkdir -p is not cross platform is wrong and misleading. I still believe it is.
Apr
18
comment recursive mkdir
The only complaint I see in those links about mkdir -p is the race condition in simultaneous execution of mkdir -p a/b and mkdir -p a/c, where both see a/ needs to be created, but the second process to call mkdir(2) finds that the other process has already created it. That isn't a concern in interactive use, and it certainly isn't "a few systems don't support it." Further, I don't think gnu make docs on on what utilities to use in makefiles is appropriately applied beyond that context. What's more likely to be present, mkdir that supports -p, or autoconf?. For me, the former.
Apr
17
comment recursive mkdir
"mkdir -p" is defined by posix. What unix or unix-like variants don't support it? (and it shouldn't be a shell built-in, though I guess there isn't any reason it couldn't be.) pubs.opengroup.org/onlinepubs/9699919799/utilities/mkdir.html
Aug
4
comment CentOS 7 Live - Read-only file system error
So there are only two filesystems, and both are mounted read-only? I'm not familiar with CentOS Live in particular, but that doesn't sound useful. Lastly, should shouldn't be able to create the subdirectory in /var/tmp/ if that filesystem is read-only. What is your full tar command?
Aug
4
answered CentOS 7 Live - Read-only file system error
Aug
4
awarded  Editor
Aug
4
revised Grep on single line
added 190 characters in body
Jul
28
answered Grep on single line
Jul
23
answered nc command can't lookup DNS name
Sep
13
awarded  Yearling
Sep
13
awarded  Yearling
Aug
9
awarded  Custodian
Aug
9
reviewed Approve Run a cron job every minute, meaning of syntax
Aug
9
answered Run a cron job every minute, meaning of syntax
Aug
2
comment In which cases is SIGHUP not sent to a job when you log out?
In addition to whether or not SIGHUP is sent, whether a process has defined a signal handler (and catches SIGHUP) or signal mask are additional factors in whether it is terminated when sent that signal. So just because it remains running after logout doesn't mean it wasn't sent that signal
Jul
29
answered Looping over a folder enter anyways the loop
Jul
26
awarded  Informed
Jul
2
answered Assigning a value with echo piped together with the bc command and using a variable as an argument
May
6
comment Is there a way to 'authorize' a command typed in by a user?
An experienced user would get around many if not all of those restrictions. "cp file1 file2" would turn into "cat < file1 > file2" (or use dd, or any other number of commands).