EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 600+ Courses All in One Bundle
  • Login
Home Software Development Software Development Tutorials Software Development Basics CentOS Commands
Secondary Sidebar
Linux Tutorial
  • CentOS
    • CentOS Commands
    • CentOS packages
    • CentOS package manager
    • CentOS useradd
    • CentOS add sudo user
    • Centos Repositories
    • CentOS kill process
    • CentOS List Users
    • CentOS Set Timezone
    • CentOS netstat
    • CentOS NetworkManager
    • CentOS disable firewall
  • Basic
    • Introduction to Linux
    • What is Linux
    • Careers in Linux
    • Advantage Of Linux
    • What is Raid in Linux
    • What is Raid 5?
    • Raid 5 vs Raid 6
    • Careers in Linux Administration
    • What is Shell in Linux?
    • Bash Shell in Linux
    • Linux Emulator
    • Linux Operators
    • Linux uptime
    • Linux Apps
    • Linux PDF Editor
    • Linux Keyboard Shortcuts
    • Linux Crontab
    • What is Raid Storage
    • What is Vmware
    • What is RedHat
    • What is Zombie Process?
    • What is Debian
    • Uses of Ubuntu
    • Install Skype on Ubuntu
    • Ubuntu Budgie
    • Ubuntu Recovery Mode
    • Career In RedHat
    • Linux Distributions
    • Linux From Scratch
    • Linux Format
    • sqlplus in linux
    • Linux Environment Variables
    • Cheat Sheet Linux
    • Linux QT
    • Linux Unzip Zip File
    • Linux Disk Space
    • Linux remote desktop
    • Linux GUI
    • Linux restart
    • Linux hex editor
    • Linux KVM
    • Linux XFCE
  • Linux Commands
    • Linux install Command
    • Linux Locate Command
    • Linux Shutdown Command
    • CAT Command in Linux
    • SED Command in Linux
    • df Command in Linux
    • Cut Command in Linux
    • Linux Reboot Command
    • PS command in Linux
    • Mkdir Command in Linux
    • rmdir command in Linux
    • mv command in Linux
    • Linux rm Command
    • CHMOD Command in Linux
    • Linux chmod recursive
    • Zip Command in Linux
    • Linux Route Command
    • SCP Command in Linux
    • du Command in Linux
    • Less Command in Linux
    • Copy Command in Linux
    • Head Command in Linux
    • Help Command in Linux
    • Linux History Command
    • Linux Find Command
    • hostname Command in Linux
    • GREP Command in Linux
    • Linux man Command
    • Linux Curl Command
    • Linux List Users
    • Linux List Directories
    • Linux Directory Permissions
    • Find Directory Linux
    • Linux User Permission
    • Linux Add User
    • Linux Delete User
    • Linux uniq
    • Linux Filter Commands
    • Linux sort Command
    • Linux Sort by Size
    • Remove dir Linux
    • Linux tr Command
    • Linux Touch Command
    • Linux Nice Command
    • Linux More Command
    • Linux Cal Command
    • Linux OD
    • Linux Zcat
    • Linux tracepath
    • Linux Relative Path
    • Linux Sleep
    • Linux bg Command
    • Linux WC
    • Linux Read
    • Linux Write
    • Linux Rename Command
    • Linux Free Command
    • Linux tac
    • Linux Shred
    • Linux wget
    • Linux Date
    • Linux Untar
    • Linux JQ
    • Linux Xargs
    • Linux Mount Command
    • Linux mdadm
    • Linux comm
    • Linux tee Command
    • Tail Command in Linux
    • Linux gzip
    • Linux Directory Structure
    • Linux Alias Command
    • Linux Export
    • Linux netstat
    • Linux traceroute
    • Linux Inode
    • Linux Ping
    • Linux Pipe Command
    • Linux Watch Command
    • Linux Terminate Process
    • Linux Home Directory
    • Linux Nohup
    • Linux Split Command
    • Linux Size
    • Linux Network Stack
    • Linux Network Manager
    • Linux Diff Command
    • Vim Command in Linux
    • Linux nslookup
  • Advanced
    • What is Linux Used For
    • Linux PAM
    • Linux pkill
    • Linux Exit
    • Linux id
    • Linux Umask
    • Crontab in Linux
    • Linux kernel
    • Linux Rsync
    • Linux wildcards
    • Exec Linux
    • Linux Symbolic Link
    • Install VMware
    • Linux User Mode
    • Install GRUB
    • Cron timing format
    • Cron validator
    • Cron in Linux
    • Cron Job Scheduler
    • Cron Command
    • Cron Weekly
    • Chown Command in Linux
    • Linux Network Command
    • Configuring Linux Network Environment
    • DNS Configuration in Linux
    • Linux Users
    • Create User in Linux
    • DHCP Server in Linux
    • FTP Server in Linux
    • Linux Regular Expression
    • IP Command in Linux
    • GNU in Linux
    • Set IP Address in Linux
    • Tar Command in Linux
    • Dynamic Host Configuration Protocol
    • Linux Kill Signals
    • Linux File Permissions
    • Linux File System
    • Linux Create File
    • Linux Concatenate Files
    • Linux Join
    • Linux Process Management
    • Linux Proxy Server
    • Linux System Commands
    • Linux System Logging
    • NFS in Linux
    • What is NFS
    • Linux LVM
    • Nautilus Linux
    • Linux mtr
    • Linux While Loop
    • Linux Remove Directory and Contents
    • Linux Repository
    • Samba Server in Linux
    • Top Commands in Linux
    • Types of Shells in Linux
    • Shell Script Types For Linux
    • GCC Command in Linux
    • Monolithic Kernel
    • YARN Package Manager
    • Linux Sed Replace
    • Linux List Groups
    • Linux Container
    • Linux Find File by Name
    • Create Folder in Linux
    • Linux Move Folder
    • Linux Error Codes
    • Linux Automount
    • Linux HugePages
    • Linux Manual Pages
    • Linux iptables
    • CP Command?in Linux
    • Linux Zip Multiple Files
    • Linux XRDP
    • Alpine linux packages
    • Void Linux Packages
    • Linux Terminal
    • Linux Time
    • Why Is It Important To Red Hat Linux Certification?
    • Linux Chgrp
  • Kali Linux
    • Install Kali Linux
    • Kali Linux Hyper-V
    • Kali Linux Wireshark
    • Kali Linux Default Passwords
    • Kali Linux GUI
    • Kali Linux Distro
    • Kali Linux Terminal
    • Kali Linux Chromebook
    • Kali Linux System Requirements
    • Kali Linux Monitor Mode
    • Kali Linux Connect to WiFi
    • Kali Linux Tools
    • Kali Linux Hydra
    • Kali Linux Penetration Testing
    • Kali Linux Virtual Machine
    • Kali Linux Virtual Box
    • Kali Linux XFCE
    • Kali Linux Bootable USB
    • Kali Linux VMware
    • Kali Linux Persistent USB
    • Kali Linux Sources List
    • Red Hat Linux Commands
    • Kali Linux Raspberry Pi
    • Kali Linux Uses
    • Kali Linux tools list
    • Kali Linux Commands
    • Kali Linux Repository
    • Kali Linux Packages
    • Kali Linux root password
    • Kali Linux GNOME
    • Kali Linux SSH
    • Kali Linux KDE
    • Kali Linux NetHunter
    • Kali Linux Metasploit
    • Kali Linux Nmap
    • Kali Linux Alternative
  • Interview Questions
    • Linux Interview Questions
    • Linux System Administration Interview
    • Red Hat Interview Questions
  • Install
    • How to Install Linux
    • Install JDK Ubuntu
    • Install RVM Ubuntu
    • How to Install Ubuntu
    • How to Install Ubuntu Server
    • How To Install Debian

CentOS Commands

By Priya PedamkarPriya Pedamkar

CentOS Commands

Introduction to CentOS Commands 

The way we have different software for various purposes, the same way, their exist different operating systems for different purposes. An organization has several technical requirements that need different platforms in order to be fulfilled. The normal users who depend upon the easy graphical user interface for their work usually prefer Windows while the professional who needs to get into the core of the system and need a command-line interface prefers to go with Unix or Linux based on their exact requirement. There are several operating systems available in the market which serves the users as per their need. Here in this article, we will be learning about one of the most important Linux based operating systems that works using the same command as used in the Linux operating system. 

What is CentOs?

CentOS may be defined as the Linux based operating system that leverages the commands used in Linux in order to serve the users. It has a very simple interface that lets the user perform their task with the ease and comfort of enjoying the interactive interface. There are various plus points of using the centOS over other operating systems, and one of the most important positive points is its lightweight. The hardware required to run CentOS is not that high, and it can be run over any machine that has 2GB of RAM and 200GB of the hard disk.

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

It severs the purpose of normal usage very well, and if the user wants to perform any heavy task, they are suggested to move to Linux OS. The CentOS can also be explained as an operating system belonging to the Linux family that offers the user’s interactive GUI-based interface.

When compared with Windows, the function available in CentOS is a bit less comparatively. But in comparison to any other distribution of Linux, the amazing GUI of CentOS gives it an edge. It doesn’t require any specialization to work with CentOS as you will be able to work with it if you have an idea about the basic commands of Linux. In the next section, we will learn about some of the essential commands used to work with CentOS.

CentOS Commands

In order to work with CentOS, there are several commands that can be used to interact with the machine. The interesting thing about CentOS is that its commands are similar to the Linux commands, and anyone who has an idea about Linux commands will work with CentOS. Below are some of the important commands that can be used very often while working with CentOS.

  • Pwd Command 

pwd command is used to get the pathname where the current user is actually present. In the terminal, when the user moves from one directory to another, there is no display section showing which directory the user is actually present. Using the pwd command will give the pathname to the user confirming their current directory.

  • Mkdir Command 

Mkdir command is used to create a new directory in the computer disk where the other directories or files could be stored. Mkdir command has to be followed by an arbitrary name that will be the name of the newly-created directory.

  • systemctl Command 

The systemctl command is used to manage the operating system services and start-ups. This is considered one of the very important commands for working with the services that work in the operating system.

  • Sudo Command 

Sudo is the command that lets any other command with the privileges of the root user. Any command is written together with sudo must execute as it is like an instruction from the owner of the system or the user who has created the system.

  • Firewall-cmd Command 

The Firewall-cmd Command is used to work with the CentOS firewall or to work with the security options. It is the command mainly used by the security professional whose role is to protect the system against cyber attacks.

  • Chmod Command 

Chmod command is used to change the permission of any file. This command is used very frequently when it comes to adding or removing the permission of any file stored in the system.

  • Yum Command 

The Yum command is used to install the new software and packages in the centOS. While adding new software to the operating system through the command-line interface, it is used.

  • Unzip Command 

The Unzip command is used to unzip the archived files. It is the important command and the only one command available in CentOS for unzipping the archived files. It can also be used the same way in Linux.

  • Clear Command 

The Clear command is used to clear the terminal window that is being filled with the command and the outputs while working with CentOS. It is very simple to use. Once simply written in the terminal will lead to clear everything on the screen.

  • Who Command 

This command is used to find out who is the current user using the system. It can be used just by writing who in the terminal when it comes to finding out the name of the users who are using the current system.

  • Nano Command 

The Nano command is used to work with the text editor. While using this command in the terminal, it has to be followed by the name of the file that has to be edited. It is actually used when you want to edit the text in the terminal.

  • Cd Command 

Cd command is used to change the directory when the user has to move from one directory to another. It is a very important command as it is the only option that makes it possible for the users to change the dictionary. 

Conclusion

The centOS may be defined as the operating system that belongs to the Linux family and offers an interactive graphical user interface. It works using the same commands that are being used by the Linux operating system. The easy to work with the Linux operating system’s lightweight distribution is very useful for normal or professional users.

Recommended Articles

This has been a guide to CentOS Commands. Here we discussed the basic concepts and Different types of CentOS Commands in a concise manner. You can also go through our other suggested articles to learn more –

  1. PowerShell Commands
  2. Matlab Commands
  3. Zip Command in Linux
  4. How to Install CentOS?
Popular Course in this category
CentOS Training Program (2 Courses)
  2 Online Courses |  10+ Hours |  Verifiable Certificate of Completion |  Lifetime Access
4.5
Price

View Course

Related Courses

Software Testing Training (11 Courses, 2 Projects)4.9
Selenium Automation Testing Training (11 Courses, 4+ Projects, 4 Quizzes)4.8
Appium Training (2 Courses)4.7
JMeter Testing Training (3 Courses)4.7
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Java Tutorials
  • Python Tutorials
  • All Tutorials
Certification Courses
  • All Courses
  • Software Development Course - All in One Bundle
  • Become a Python Developer
  • Java Course
  • Become a Selenium Automation Tester
  • Become an IoT Developer
  • ASP.NET Course
  • VB.NET Course
  • PHP Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2023 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more