Transcription of CentOS Commands Cheat Sheet - OpenLogic
1 DIRECTORY MOVEMENTC ommandDescriptionlslists the contents of the directorycpcopies a filemv moves a directorycd ..moves up one directorycd ~moves to home directorylllists the contents of the directory length-wisepwdpresent working directoryfindsearch given directory for namestring and display itCentOS Commands Cheat MANAGEMENTC ommandDescriptionaliascreates an aliaspasswrdupdates user authenticationuseraddadds a new usersudoadmin privileges whoshows currently logged on usersgroupaddcreate new groupunameprint system infoSYSTEM MANAGEMENTC ommandDescriptionapropossearch set of database files and display result as standard outputbcwiperepeatedly overwrite special patterns onto to-be-destroyed fileschkconfigupdate and query run level info for system servicesdstatdisplays real-time system statsfdiskdisk
2 Partioning utilitymountmounts a filesystemgrepsearch named input files for lines containing match to given pattern, then printhostnamedisplays current host/domain /node nameifconfigconfigure networking interfaceifdownmanually take down an interfaceiftopshows bandwidth usage of interfaceifupbrings interface back upkillterminate a running processpslist of currently running processes and their process IDsmanmanual page for particular command /toolsystemclmay be used to introspect and control the state of the "systemd" system and service managertailused to output last part of a file, useful on log filesFILE MANAGEMENTC ommandDescriptionchmodchange permissions of a filechownchange the ownership of a filediffcompare two files against each otherdudisplays disk usage of a directoryrmremoves files/directoriesfindsearch given directory for namestring and display itEnterprise Support and Services for CentOSNeed support for your CentOS project?
3 OpenLogic offers enterprise-grade support and services including help with regular upgrades and security patches that can help your team fully realize the benefits of open source enterprise Linux. LEARN MORE