Skip to main content

All Questions

Tagged with
0 votes
1 answer
580 views

mkdir as another user based on configuration file

We have a shared Linux environment where most files are mounted to many machines on a NFSv3 share, which we do not control. Since we only have basic filesystem permissions available (No ACLs), we are ...
anthozep's user avatar
  • 101
3 votes
1 answer
749 views

Is mkdir -p safe to parallelize?

I'm writing Makefile rules like this: out/%.x: ... mkdir -p $(@D)/ ... I intend to parallelize this Makefile (-j), which will trigger many mkdir -p's to simultaneously. Is this safe? Or do ...
user541686's user avatar
  • 3,103
7 votes
2 answers
6k views

Is it possible to detect file or folder creation/deletion in real time?

I want to monitor file or folder creation/deletion instantaneously, is it possible? EDIT:I am using Ubuntu 16.04
kenn's user avatar
  • 783
13 votes
1 answer
2k views

How many directories can be nested?

I'm curious, how many folders can be nested, and why? Is there a limit? What I mean by nested is when folders are in this structure: folder |_ folder |_ folder |_ folder |...
Aaron Esau's user avatar
3 votes
1 answer
520 views

Create directories from lines of a file [duplicate]

I'm cating a file, and the output is something like this: Help me my friend Temptation Sorrow True Love Vanilla Sky I was here SOS ... I'm trying to create directory of all of these lines. What I ...
Parsa Samet's user avatar