Tuesday, November 5, 2024

Linux - Comm

The following is a Linux Dictionary word of the day:

comm – compares two sorted files line by line showing unique lines and then the common lines.

Example: comm hello.txt hello2.txt

As an Amazon Associate, I earn from qualifying purchases.

Sunday, November 3, 2024

Linux - Cmp

The following is a Linux Dictionary word of the day:

cmp – compares two files and only reports if the files are different.

Example: cmp hello.txt hello2.txt

As an Amazon Associate, I earn from qualifying purchases.

Saturday, October 26, 2024

Linux - Cksum

The following is a Linux Dictionary word of the day:

cksum – prints the cyclic redundancy check (CRC) checksum and byte counts.

Example: cksum hello.txt


As an Amazon Associate, I earn from qualifying purchases.


Thursday, October 24, 2024

Linux - Chsh

The following is a Linux Dictionary word of the day:

chsh – command utilized to change the user's login shell.

-s parameter to set the shell listed as the current shell

-u parameter to list all shells available.

Example: chsh -s /bin/bash

Gigabit Ethernet Splitter 1 to 2 High Speed, 1000Mbps Internet Splitter 1 in 2 out, LAN Splitter with USB Power Cable, RJ45 Splitter for Cat5/5e/6/7/8 Cable(2 Devices Simultaneously Networking)

https://amzn.to/40gpzTe

As an Amazon Associate, I earn from qualifying purchases.




Thursday, October 17, 2024

Linux - Chkey

The following is a Linux Dictionary word of the day:

chkey – changes a user's secure public key and secret key pair. This is accomplished by prompting for the old secure-rpc password and verifying that it is correct by decrypting the secret key.

-p parameter to re-encrypt the existing secret key with a user's login password.

Example: chkey -p

Amazon Basics Rubber Hex Dumbbell Hand Weight

https://amzn.to/48nQejc

As an Amazon Associate I earn from qualifying purchases.


Thursday, October 10, 2024

Linux Network Monitoring Instructor Guide

Linux Network Monitoring Instructor Guide

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

The network monitoring commands in Linux provide useful utilities for viewing a variety of information regarding network interfaces, internet protocol (IP) addresses, processes, etc. Therefore, this instructor guide covers the most common ways to use network monitoring commands for viewing this information. 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

Network Monitoring Commands Explained

Network Monitoring Command Examples

Conclusion

About the Author

Notes

Friday, September 27, 2024

Linux IP Instructor Guide

Linux IP Instructor Guide

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

The ip command in Linux is a utility for managing network interfaces, internet protocol (IP) addresses, and routing rules. Therefore, this instructor guide covers the most common ways to use ip for viewing this information. 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

IP Explained

IP Examples

Conclusion

IP Table of Options

IP Table of Objects

IP Help Commands

About the Author

Notes


Saturday, July 27, 2024

Linux Lsof Instructor Guide

Linux Lsof Instructor Guide

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

The lsof command in Linux is short for list open files. It is a powerful utility which provides detailed information about files that are currently open by various processes. Therefore, this instructor guide covers the most common ways to use lsof. 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

Lsof Explained

Lsof Examples

Conclusion

About the Author

Noteshttps://www.amazon.com/dp/B0DBFNR6VS/

Thursday, June 6, 2024

Linux Grep Instructor Guide

Linux Grep Instructor Guide

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

In a Linux system, utilizing grep 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 grep. 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

Overview of grep

Examples of grep

About the Author

Notes

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