Informantion and Digital Security Assignment 3
Informantion and Digital Security Assignment 3
Unix :
1. mkdir: This command is used to create a new directory (folder) in the file
system.
3. cat >a.txt: This command is used to create a new file named "a.txt" and
allows you to input text into the file. You can press Ctrl+D to signal the end of
input.
7. cal: Shows a calendar for the current month or a specified month and year.
10. chmod 761 a.txt: Changes the file permissions of "a.txt" to allow the owner to
read, write, and execute, while others can only read and execute.
11. ls -l: Lists files and directories in the current directory with detailed
information, including permissions.
13. mv: This command is incomplete. It is used for moving or renaming files and
directories. You would need to specify the source and destination.
These commands are fundamental in Unix-like operating systems and are used for
various system and file management tasks.
DOS:
1. dir: Lists the files and directories in the current directory.
6. copy con a.txt: Allows you to create a new text file named "a.txt" and input
text into it. You can press Ctrl+C to signal the end of input.
11. date: Displays the current date and allows you to set it.
These commands are fundamental for working with the Windows Command Prompt
and performing various tasks such as file management, navigation, and system
configuration.
DOS Hands-On
UNIX Hands-On