Skip to content

vvhawk/UNIX-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNIX Commands 🛠️

This project was completed for my university class on systems.

We implemented common UNIX commands used to manage system files and directories (ls, find, tree) in C.

Simply put, a directory is a fancy name for a folder. On your computer, you have many folders for your applications. These folders are used to store files with important data.

Folders can even contain more folders. This is the basis for file organization.

If you're new to or a little fuzzy on files and directories learn more here.

All code was developed and tested remotely on Rutgers Instructional Lab Machines. Remote connection was established using SSH.

A Makefile is provided for build automation.

Below I've included an overview of the commands implemented.

For each command...

I run the actual command,

compile the corresponding program using "make program-name" ,

and run using "./program-name" to show that the results are the same.

List contents of a directory

ls -l option

ls -l (lowercase “l” for “long”), prints the “long format” with extra information about each file

Recursively searches and finds files/directories matching a pattern given as a command-line argument

Recursively searches and prints files/directories as a tree

Credits

Instructor
Jeffrey Ames

Vasanth Banumurthy
Aqil Farooqui
Sameed Hussain

About

systems project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published