0% found this document useful (0 votes)
3 views5 pages

Informantion and Digital Security Assignment 3

The document provides a list of fundamental commands for Unix and DOS operating systems, detailing their functions for file and directory management. Key Unix commands include mkdir, rmdir, cat, and chmod, while DOS commands include dir, cls, and copy. These commands are essential for navigating and managing files within their respective environments.

Uploaded by

bunnysrocks43
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views5 pages

Informantion and Digital Security Assignment 3

The document provides a list of fundamental commands for Unix and DOS operating systems, detailing their functions for file and directory management. Key Unix commands include mkdir, rmdir, cat, and chmod, while DOS commands include dir, cls, and copy. These commands are essential for navigating and managing files within their respective environments.

Uploaded by

bunnysrocks43
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Subject: 23FA CS 650 IS Information and Digital Security

Unix :

1. mkdir: This command is used to create a new directory (folder) in the file
system.

2. rmdir: It is used to remove an empty directory from 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.

4. cat a.txt: It displays the contents of the file "a.txt."

5. rm a.txt: Removes (deletes) the file "a.txt."

6. date: Displays the current date and time.

7. cal: Shows a calendar for the current month or a specified month and year.

8. ls: Lists the files and directories in the current directory.

9. clear: Clears the terminal screen.

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.

12. cp a.txt f1: Copies "a.txt" to a new file named "f1."

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.

2. cls: Clears the Command Prompt screen.

3. md: Creates a new directory (folder).

4. rd: Removes (deletes) a directory.

5. cd: Changes 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.

7. copy: Copies files or directories.

8. move: Moves files or directories.

9. del: Deletes files.

10. ren: Renames files or directories.

11. date: Displays the current date and allows you to set it.

12. ATTRIB[+ R|-R] [+A|-A] [+ H|-H] [+ S|-S] [d:][path]filename [/S] : Allows


you to change file attributes like read-only, archive, hidden, and system
attributes.

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

You might also like