C implementation of Unix commands and system calls
- cat - concatenates files and prints on standard output
- ls - lists the directory contents
- kill - sends a signal to a process
- wc - prints newline, word and byte contents for each file
- ps - lists the current running processes
- rm - removes files and directories (does not delete if the provided file is a directory.)
- rm2 ./a.out rm file_1 file_2 .... file_n :deletes n files without confirmation. ./a.out rm -i file_1 file_2 .... file_n : deletes n files after the user confirms the deletion. (doesn't check for directory)
- rm3 does not delete if the provided file is a directory.
- rm -r does not delete the directory. But goes into the directories and deletes non-directory files.
POSIX Thread library:
- pthread.c - simple implementation of pthread library