UNIX2
UNIX2
Utility commands.
UNIX commands.
THEORY -
Unix commands are a set of commands that are used to interact with the Unix
operating system. Unix is a powerful, multi-user, multi-tasking operating system
that was developed in the 1960s by Bell Labs. Unix commands are entered at
the command prompt in a terminal window, and they allow users to perform a
wide variety of tasks, such as managing files and directories, running
processes, managing user accounts, and configuring network settings. Unix is
now one of the most commonly used Operating systems used for various
purposes such as Personal use, Servers, Smartphones, and many more. It was
developed in the 1970’s at AT& T Labs by two famous personalities Dennis M.
Ritchie and Ken Thompson.
The most important part of the Linux is Linux Kernel which was first released
in the early 90s by Linus Torvalds.There are several Linux distros available
(most are open-source and free to download and use) such as Ubuntu,
Debian, Fedora, Kali, Mint, Gentoo, Arch and much more.
1.who : The ‘$ who’ command displays all the users who have logged into the
system currently. As shown above, on my system I am the only user currently
logged in.The thing tty2 is terminal line the user is using and the next line gives
the current date and time.
3. mkdir : The ‘$ mkdir’ stands for ‘make directory’ and it creates a new
directory.We have used ‘$ cd’ (which is discussed below) to get into the newly
created directory and again on giving ‘$ pwd’ command,we are displayed with
the new ‘newfolder’ directory.
5. cd : The ‘$ cd’ command stands for ‘change directory’ and it changes your
current directory to the ‘newfolder’ directory.You can understand this a double-
clicking a folder and then you do some stuff in that folder.
7. touch : The ‘$ touch’ command creates a file(not directory) and you can
simple add an extension such as .txt after it to make it a Text File.
8.cal: The ‘$ cal’ means calendar and it simply display calendar on to your
screen.