Professional Documents
Culture Documents
cat Command
6. date Command
Description: The date command is used to display the system date and time.
By default the date command displays the date in the time zone on which
Unix/Linux operating system is configured.
Syntax: date
Example: date
Output:
7. history command
8. uname Command
Description: ‘pwd’ stands for ‘Print Working Directory’. As the name states,
command ‘pwd’ prints the current working directory or simply the directory
user is, at present. It prints the current directory name with the complete path
starting from root (/).
Syntax: pwd
Example: pwd
Output:
10. ls Command
Description: The ls command lists files and directories within the file system,
and shows detailed information about them.
Syntax: ls
Output:
11. head Command
Description: The ‘tail’ command is used to display the last ten lines of one or
more file. By default, it displays last 10 lines of a file.
Syntax: tail <file name>
Example: tail krishti.txt
Output:
13. mv Command
14. rm Command
Description: cp stands for copy. This command is used to copy files or group
of files or directory.
Syntax: cp [option] source destination
Example: cp krishti.txt file.txt
Output: