LINUX :
Linux is based on the UNIX(uniplexed information and computing system) operating system. UNIX is a powerful, multi-user, multitasking operating system.
Architecture of Linux :
- Kernel.
- System Libraries.
- Shell.
- System Utilities.
DOCKER :
Docker is an OS‑level virtualization platform, which allows applications to share the host OS kernel instead of running a separate guest OS like in traditional virtualization.
WHY LINUX :
- Fast.
- Portable.
- Lightweight.
LINUX COMMANDS :
1.cd : is used to change the current working directory.
SYNTAX : cd directory_name
EXAMPLE :cd GFG
2.ls : is used to list files and directories present in the current working directory.
SYNTAX: ls [options] [directory]
EXAMPLE: ls
3.cp : is used to copy files or directories.
SYNTAX: cp source destination
EXAMPLE: cp file1.txt file2.txt
4.pwd : is used to display the full path of the current directory.
SYNTAX: pwd
EXAMPLE: pwd
5.mv : is used to move or rename files and directories.
SYNTAX: mv old_name new_name
EXAMPLE: mv old.txt new.txt
6.ln : is used to create links between files.
SYNTAX: ln -s source link_name
EXAMPLE: ln -s file1.txt link1.txt
7.mkdir : is used to create new directories or folders.
SYNTAX: mkdir directory_name
EXAMPLE: mkdir GfG
8.rmdir : is used to delete empty directories.
SYNTAX: rmdir directory_name
EXAMPLE: rmdir TestFolder
LINUX OS : Linux is a widely used open-source Unix-like operating system.
Kernel : is a core component of an OS. It is the primary connection between the hardware and the software components of a computer. It converts the user requests into machine language.



Top comments (0)