This project consists of several tasks related to shell scripting. Each task involves manipulating directories, and files, and executing various commands. This project aims to demonstrate proficiency in shell scripting and command-line operations.
The project includes the following tasks:
- Print the absolute path name of the current working directory.
- Display the contents list of the current directory.
- Change the working directory to the user's home directory.
- Display the current directory contents in long format.
- Display the current directory contents, including hidden files (starting with '.').
- Create a directory named 'my_first_directory' in the '/tmp/' directory.
- Move the file 'betty' from '/tmp/' to '/tmp/my_first_directory'.
- Delete the file 'betty' from '/tmp/my_first_directory'.
- Delete the directory 'my_first_directory' from the '/tmp' directory.
- Change the working directory to the previous one.
- List files in the current directory, parent directory, and '/boot/' directory in long format.
- Print the type of the file named 'iamafile' in the '/tmp/' directory.
- Create a symbolic link to '/bin/ls', named 'ls', in the current working directory.
- Copy all HTML files from the current working directory to the parent of the working directory, considering only newer versions.
- Move all files beginning with an uppercase letter to the '/tmp/u' directory.
- Delete all files in the current working directory that end with the character '~'.
- Create the directories 'welcome/', 'welcome/to/', and 'welcome/to/school' in the current directory.
- List all files and directories of the current directory, separated by commas.
Each task can be completed independently using the provided instructions and commands. You may need to adjust file paths and permissions based on your system configuration.