Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
51 views3 pages

Untitled Document

The document provides an overview of several essential Linux command-line utilities, including mkdir for creating directories, ls for listing directory contents, pwd for printing the current working directory, and cd for changing directories. It also mentions the help command for learning about built-in commands, the date command for displaying and setting the system date and time, and the history command for viewing recently used commands. Each command is briefly explained along with its functionality and usage.

Uploaded by

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

Untitled Document

The document provides an overview of several essential Linux command-line utilities, including mkdir for creating directories, ls for listing directory contents, pwd for printing the current working directory, and cd for changing directories. It also mentions the help command for learning about built-in commands, the date command for displaying and setting the system date and time, and the history command for viewing recently used commands. Each command is briefly explained along with its functionality and usage.

Uploaded by

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

Roll no 192010051

mkdir:​mkdir command in Linux allows the user to create directories (also referred to as
folders in some operating systems ). This command can create multiple directories at once
as well as set the permissions for the directories. It is important to note that the user
executing this command must have enough permissions to create a directory in the parent
directory, or he/she may recieve a ‘permission denied’ error.

ls:​The ls command is a command-line utility for listing the contents of a directory or


directories given to it via standard input. It writes results to standard output. The ls command
supports showing a variety of information about files, sorting on a range of options and
recursive listing.

pwd:​The pwd command is a command line utility for printing the current working directory. It
will print the full system path of the current working directory to standard output. By default
the pwd command ignores symlinks, although the full physical path of a current directory can
be shown with an option.

cd:​The cd Command. The cd command is used to change the current directory (i.e., the
directory in which the user is currently working) in Linux and other Unix-like operating
systems. It is similar to the CD and CHDIR commands in MS-DOS. The items in square
brackets are optional.
Help​:If you are new to LINUX operating system and having trouble dealing with the
command-line utilities provided by LINUX then you really need to know first of all about the
help​ command which as its name says help you to learn about any built-in command.

date:​date command is used to display the system date and time. date command is also
used to set date and time of the system. By default the date command displays the date in
the time zone on which unix/linux operating system is configured.You must be the
super-user (root) to change the date and time.
history:​In Linux, there is a very useful command to show you all of the last commands that
have been recently used. The command is simply called history, but can also be accessed
by looking at your . bash_history in your home folder. By default, the history command will
show you the last five hundred commands you have entered.

You might also like