Questions tagged [shared-file]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

How to share a folder between two users on the same linux laptop

Ubuntu 20.4 installed with user Marco created other user Polo by going to |settings > Users > Add User| created "commonDir" folder in Marco's home directory. |right click > new ...
user avatar
  • 3
0 votes
1 answer
131 views

How to make Samba serve a single File next to other Share Definitions

For sake of convinience, I'd like samba to share a file next to the other defined directories. Windows Users can access my samba shares by going to "Network" -> "STORAGE". In ...
user avatar
2 votes
4 answers
1k views

The file used by parent and child process

#include <stdio.h> #include <unistd.h> #include <sys/wait.h> int main( int argc, char *argv[] ){ FILE *fptr; pid_t pid; fptr = fopen("Shared File.txt", "a"); pid = ...
user avatar
  • 601
1 vote
1 answer
605 views

What's the best, secure way to share some .bashrc source between users and root?

How's the best, secure way to have /root/.bashrc and /home/user/.bashrc include a common .bash.shared file? In other words like this: /root/.bashrc --sources--> .bash.shared <--sources-- /...
user avatar