Linux is an open-source operating system based on the Unix architecture, widely used for its stability, security, and flexibility. It powers servers, desktops, and embedded systems, offering A wide range of distributions like Ubuntu, Fedora, and CentOS.
CGI (Common Gateway Interface) is A protocol used to enable interaction between web servers and external programs, allowing dynamic content generation on websites.
GUI (Graphical User Interface) is A visual interface that allows users to interact with Ad system or software through graphical elements like windows, icons, and buttons, instead of using text-based commands.
Windows uses GUI where Linux uses both CLI & GUI.
-
pwd
: Gives Information of on what directory you are right now. (Parent) -
ls
: Gives what your current pwd directory contains. (Childrens) -
mv
: Move Command
Example :mv txt1 folder/
This command Move txt1 inside folder file
-
cp
: Copy Command
Example :cp txt2 folder/
This command Copy txt2 inside folder file
-
cd
: Used when we need to enter inside some other directory. Example :cd <directory>
Through this command we can enter inside desired directory. You can use
ls
Command afterward to Go inside<directory>
directory.
You can usecd ..
Command afterward to goto home directory. -
mkdir
: used to make directory.
Example :mkdir fl
through this command you can make directory inside or outside your directory.
- Root User : Controls Terminal as Admin.
- Regular User : A regular user with limited access.
To use terminal as Admin use command
sudo su
.