Thursday, December 28, 2023

Linux - Chkconfig

The following is a Linux dictionary word of the day:

chkconfig command that handles and shows the runlevel of the services at each of the stages being run within Linux.

Example: chkconfig




Thursday, November 9, 2023

Linux Log Parsing Instructor Guide

https://www.amazon.com/dp/B0CLKZF879/

Logs are a critical aspect of a Linux system as they provide valuable information utilized for troubleshooting, performance analysis, security, and compliance. The concepts and examples presented here explore specific commonly utilized ways to parse logs, accompanied by practical and advanced command examples to demonstrate their usage in real-world scenarios.

The material will be useful to a system administrator, power user, end user or student looking to further their knowledge in this area. 

The guide is meant to be utilized by an individual whom will be reviewing via demonstration format these core topics. After each example, the commands, parameters, and options are explained.

Contents

How to use and run commands

Common Linux System Logs

Awk

Cut

Diff

Grep

Sed

Sort

Uniq

Vimdiff

Wc

Monday, October 23, 2023

Linux - Chroot

The following is a Linux dictionary word of the day:

chroot command to change the root directory.

Example: chroot /path/new_root


Tuesday, September 26, 2023

Linux - Chpasswd

The following is a Linux dictionary word of the day: 
chpasswd – allows updated passwords in batch mode.
Example:
chpasswd
user1 newpassword1
user2 newpassword2

Note: when done update of username password setting enter in Ctrl-D on the keyboard. 

Monday, August 28, 2023

Linux - Chown

The following is a Linux dictionary word of the day:

chown – change the user and/or group ownership of a given file or directory.

-R parameter for recursive traverse through all contents where command is run from.

Note: only a user with root access can use the chown command.

Example: chown -R root:name_of_group name_of_folder


Tuesday, August 15, 2023

Linux Wildcard and Meta Characters Instructor Guide

https://www.amazon.com/dp/B0CFQ1S3L4/

In Linux, wildcards and meta-characters are invaluable tools for efficient file manipulation and pattern matching. The concepts and examples presented here explore specific commonly utilized wildcards and metacharacters, accompanied by practical and advanced command examples to demonstrate their usage in real-world scenarios. The material will be useful to a system administrator, power user, end user or student looking to further their knowledge in this area. 

The guide is meant to be utilized by an individual who will be reviewing via demonstration format these core topics.

Contents

Instructor or End User Set-up:

Create Example Files:

Common Wildcards:

Asterisk (*)

Question mark (?)

Square brackets ([])

Curly braces ({})

Tilde (~)

Backslash (\)

Exclamation mark (!)

Common Character Classes:

Asterisk (*)

Question Mark (?)

Range of Characters ([])

[characters]

[!characters]

[[:class:]]:

[[:alnum:]]

[[:alpha:]]

[[:digit:]]

[[:lower:]]

[[:upper:]]

Common Meta-Characters:

Pipe (|)

Greater than (>)

Double greater than (>>)

Less than (<)

Caret (^)

Dollar Sign ($)

Ampersand (&)

Semicolon (;)

Combining Wildcards and Meta-Characters

Conclusion:

About the Author:

Notes:

Saturday, July 1, 2023

Linux - Chgrp

The following is a Linux dictionary word of the day:

chgrp changes group ownership to a said group.

-R parameter for recursive traverse through all contents where command is run from.

Example: chgrp -R root name_of_folder