The following bash scripts are designed to test the student knowledge on scripting.
1. 0-current_working_dictory
- This script prints the absolute path name of the current working directory.
2. 0-1-listit
- This script displays the contents list of your current directory.
3. 0-2-bring_me_home
- Changes the working directory to the user's home directory.
4. 3-listfiles
- Displays current diectory contents in a long format
5. 4-listmorefiles
- Display current directory contents, including hidden files, in long format
6. 5-listfilesdigitonly
- Display current directory contents
- Long format
- with user and group IDs
- hidden files
7. 6-firstdirectory
- Creates a directory named holberton in the /tmp/ directory
8. 7-movethatfile
- Move file `betty` from `/tmp/` to `/tmp/holberton`
9. 8-firstdelete
- Delete the file `betty` in `/tmp/holberton`
10. 9-firstdirdeletion
- Delete the directory `holberton` that is in the `/tmp` directory
11. 10-back
- Changes the working directory to the previous one.
12. 11-lists
- Lists all files in the current directory, parent directory of the working directory, and the /boot directoryin long format.
13. 12-file_type
- Prints the type of the file `iamafile`
14. 13-symbolic_link
- Create a symbolic link to `/bin/ls`, named `_ls_`
15. 14-copy_html
- copies all the HTML files from teh current working directory to the parent of the working directory
- Only files that did not exist in the parent of the working directory or were newer than versions in the parent of the working directory
16. 15-lets_move
- Moves all files beginning with an uppercase letter to the directory `/tmp/u`
17. 16-clean_emacs
- Deletes all files in the current working directory that end with the character `~`.
18. 17-tree
- Creates the directories `welcome/`, `welcome/to/` and `welcome/to/holberton` in the current directory.
19. 18-commas
- Lists all the files and directories of the current directory, seperated by commas.
truong21/holberton-system_engineering-devops
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|