Skip to content

ls clone for the class CS361 Advanced Programming in the UNIX Environment taught by Jan Schaumann

Notifications You must be signed in to change notification settings

johnholloway77/LS_Midterm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LS_Midterm: A UNIX File System Tool

This application was designed for FreeBSD and serves as the midterm assignment for the class CS631 - Advanced Programming in the Unix Environment, taught by Jan Schaumann.

Assignment Requirements:

The objective of this assignment is to write a significant system tool from scratch. In doing so, you will learn many details of the UNIX filesystem and the general system concepts covered in class. The detailed assignment requirements can be found here.

Building the Program

To build the program, run cmake in the main directory of the program. Ensure you have cmake installed on your system.

To build the program, follow these steps:

  1. Navigate to the main directory of the program.
  2. Run the following commands:
make

To remove the only object files after compiling the binary run the following command

make clean-obj

To remove all files created during the make process including the binary run the following

make clean

Running the Program

./ls_midterm [option] [path] ...

Replace [options] with any applicable flags and [path] with the directories or files you want to analyze. The program will list the contents of the specified directory, formatted according to the provided options.

Memory Management

This program has been carefully developed to handle memory management correctly, ensuring no memory leaks. Valgrind was used extensively to check for and fix any memory issues.

About

ls clone for the class CS361 Advanced Programming in the UNIX Environment taught by Jan Schaumann

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published