-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommand.h
More file actions
27 lines (19 loc) · 692 Bytes
/
command.h
File metadata and controls
27 lines (19 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Description: Project 1 header file. Contains function declarations for the commands listed in the project
* Description.
*
* Author: Jared Hall
*
* Date: 09/22/2019
*
* Notes:
* 1. Do not edit this file.
*/
void listDir(); /*for the ls command*/
void showCurrentDir(); /*for the pwd command*/
void makeDir(char *dirName); /*for the mkdir command*/
void changeDir(char *dirName); /*for the cd command*/
void copyFile(char *sourcePath, char *destinationPath); /*for the cp command*/
void moveFile(char *sourcePath, char *destinationPath); /*for the mv command*/
void deleteFile(char *filename); /*for the rm command*/
void displayFile(char *filename); /*for the cat command*/