Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [shared-file]

The tag has no usage guidance.

2
votes
4answers
157 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 = ...
0
votes
1answer
95 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-- /...