Showing posts with label KevArtCodeWriting. Show all posts
Showing posts with label KevArtCodeWriting. Show all posts

Thursday, January 11, 2024

Linux Process Management Instructor Guide

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

In a Linux system, utilizing commands to manage processes is an essential part of working in the environment. Especially, if a process becomes stuck, it could indeed take on all the system resources. This processing could include foreground and background processes. Therefore, this instructor guide covers the most common ways to stop and manage processes. The commands can be utilized for personal, educational, or corporate usage. It is envisioned that the instructor utilize the material from this guide via a demonstration type format.

Contents

How to use and run commands

Foreground vs Background Processes

jobs

fg

bg

Commands to Find Processes

ps

ps -a

ps -u

ps aux | grep firefox

ps -ef | grep name

pgrep

pgrep -lu root

pgrep -n

pgrep -o

pgrep -i sh

pidof

pidof -s sh

pidof -c sh

pidof -x sh

top

kill, killall, pkill

kill

ps -ef

killall

killall firefox

killall -l

pkill

pkill firefox

Process Signals

Sending Signals

ps -ef

kill -15 63

kill -TERM 63

killall -15 63

killall -TERM 63

pkill -15 63

pkill -TERM 63

Conclusion

About the Author

Notes

Thursday, November 9, 2023

Linux Log Parsing Instructor Guide


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

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:

Tuesday, May 9, 2023

The Psychology of SharePoint

Check out my latest SharePoint offering:

The Psychology of SharePoint

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

SharePoint is a complex toolset which involves a different mindset at times in regard to working, troubleshooting and evangelizing. Therefore, provided in this book are several core and key topical based items grouped by high-level topics to utilize and be aware of to master SharePoint from a psychology standpoint. The aspects listed can be utilized for both SharePoint Online cloud and SharePoint on-premise based environments for planning and implementing based purposes.