Thursday, May 30, 2024

Linux Find Instructor Guide

Linux Find Instructor Guide

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

In a Linux system, utilizing find to seek out and search is an essential part of working in the environment. Therefore, this instructor guide covers the most common ways to use find. The commands can be utilized for personal, educational, or corporate usage. It is envisioned that the instructor utilizes the material from this guide via a demonstration type format.

Contents

How to use and run commands

Create Example File

Create Example Directory

Find Explained

Find Examples

Conclusion

Appendix

About the Author

Notes

Linux File Attributes Instructor Guide

Linux File Attributes Instructor Guide

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

Linux file attributes are a set of metadata properties which describe the behavior of a file. They can be utilized to enable or disable specific features on files and directories, such as making a file immutable or setting the appropriate permissions on files and directories. This instructor guide covers the most common ways to utilize file based attributes. The commands can be utilized for personal, educational, or corporate usage. It is envisioned that the instructor utilizes the material from this guide via a demonstration type format.

Contents

How to use and run commands

Create Example File

File and Directory Attributes

Chmod Permissions

Chattr

Immutable Attribute

Append-Only Attribute

No-Dump Attribute

Secure Deletion Attribute

Listing Files Attributes

Conclusion

About the Author

Notes

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, 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.