Bash scripts for a social media network. A server and clients that can add eachother, message eachother and view the message walls. Using P.sh and V.sh to deal with concurrency issues such as context switching or two clients making a request at the same time.
- clone repository
- open 2 terminal windows.
- run bash server.sh or ./server.sh in one terminal. this will have the server create a server.pipe and wait for instructions from user.
- In the second terminal input as follows: ./client.sh $clientID $request [args].
- the arguments range from 1)create - creates a user 2)add - adds one user to anothers friend list 3)post - post a message from one user to another 4)show - shows a user's wall 5)shutdown - terminates the session with the server and deletes the pipe.