Skip to content

Latest commit

 

History

History

Shell, Basics

Script Description
0️⃣-current_working_directory Prints the absolute path name of the current working directory.
1️⃣-listit Prints the contents list of your current directory.
2️⃣-bring_me_home Changes the working directory to the user’s home directory.
3️⃣-listfiles Displays the current directory contents in a long format.
4️⃣-listmorefiles Displays current directory contents, including hidden files.
5️⃣-listfilesdigitonly Displays the contents of the current directory in a detailed format, including the numeric representation of the user and group IDs, as well as any hidden files that start with a dot.
6️⃣-firstdirectory Creates a directory named my_first_directory in the /tmp/ directory.
7️⃣️-movethatfile Move the file betty from /tmp/ to /tmp/my_first_directory.
8️⃣-firstdelete Delete the file betty.
9️⃣-firstdirdeletion Delete the directory my_first_directory that is in the /tmp directory.
🔟-back Script that changes the working directory to the previous one.
11️-lists lists all files (even ones with names beginning with a period character, which are normally hidden) in the current directory and the parent of the working directory and the /boot directory (in this order), in long format.
12️-file_type Script that prints the type of the file named iamafile. The file iamafile will be in the /tmp directory when we will run your script.
13-symbolic_link Create a symbolic link to /bin/ls, named ls. The symbolic link should be created in the current working directory.
14-copy_html Create a script that copies all the HTML files from the current working directory to the parent of the working directory, but only copy files that did not exist in the parent of the working directory or were newer than the versions in the parent of the working directory.
100-lets_move Create a script that moves all files beginning with an uppercase letter to the directory /tmp/u.
101-clean_emacs Create a script that deletes all files in the current working directory that end with the character ~.
102-tree Create a script that creates the directories welcome/, welcome/to/ and welcome/to/school in the current directory.
103-commas Write a command that lists all the files and directories of the current directory, separated by commas (,).
school.mgc Create a magic file school.mgc that can be used with the command file to detect School data files. School data files always contain the string SCHOOL at offset 0.