Wednesday, November 30, 2022

Linux - AC

The following is a Linux dictionary word of the day:

ac – command that displays how long users have been connected to the system.

-d parameter stands for day.
-y parameter stands for year.

Example: ac -d -y


Monday, November 28, 2022

Linux - Absolute Pathname

The following is a Linux dictionary word of the day:

absolute pathname – a pathname that identifies all directories from the root directory to an individual file.

Example: /usr/local/bin/name_of_file

Sunday, November 27, 2022

Linux - A2P

The following is a Linux dictionary word of the day:

a2p – utility that takes an awk script and produces it outputted as a Perl script.

Example: a2p name_of_file

Saturday, November 26, 2022

Linux Text Processing Commands


The following are the core and key Linux text processing commands. Each command is described then a series of examples in regard to usage is shown. When applicable useful parameters are shown which can accompany the command.

Table of Contents:

How to use and run commands
awk
cat
cut
cmp
diff
egrep
emacs
grep
join
nano
ngrep
perl
sed
sort
tr
uniq
vi
chmod permissions

Linux Governance


Linux governance in an organization helps to define what is and what is not allowed while working in the environment as well as serves as a model for how requests and projects should proceed. The following are several high-level aspects and ideas to be utilized as part of an organizations Linux governance.

Topics include:

Linux Organizational Model
Linux Ways to Work
Maintenance Request vs. Project
High-Level Project Aspects
Project Groundwork
Vision
Design
Implementation
Linux Product Manager
Linux Good Design
Linux Continuous Improvement
Linux Getting Items Done Review
Linux Version - Standard
Password Policies
Permission Policies
Desktop
Servers
Cloud
System Updates
Transfer Tools
Linux Backup and Restore Policies
Linux Growth Mindset
Linux Troubleshooting Policies

Linux Monitoring Tools


The following are some core and key Linux monitoring tools to utilize in one’s environment. These commands can be used by Linux professionals, students, hobbyists, etc.

When applicable, useful examples of switches and parameters are depicted.

Contents:
free
htop
ip
iostat
lsof
mpstat
netstat
pmap
proc
ps
pstree
strace
tcpdump
ss
top
uptime
vmstat

25 Simple Linux Shell Scripts


The following are 25 simple Linux shell scripts that are key for scripting in Linux. The scripts can be utilized for personal, educational or corporate usage. Scripts are simply explained and include step by step instructions for how they can be run. Each script includes useful and common aspects which can be further built out if needed:

Contents:

Common Shells
1) Hello World Script
Writing Simple Shell Scripts
2) Date with WhoAmI Script
3) Date Calendar and Uptime Script
4) Cleanup Script

Simple String Manipulation
5) Simple Replace String Script
Simple Argument Output Scripts
6) Output Arguments
7) Welcome Function Arguments

Simple Text String Scripts
8) Script for Newline and Tabs
Simple Math Script
9) Simple Addition

Simple Case Statements
10) Basic Case Statement
Simple Return Value/String Function Scripts
11) Return Value Function
12) Return String Function

Simple Array Scripts
13) Return Array Values
14) Return Second Element of Array
15) Append Element to Array
16) Return Array Map
17) Remove Array Map Element

IF Statement Scripts
18) IF Conditional Numeric
19) IF Conditional for File
20) IF/Else Conditional for Shell

While Statement Script
21) Simple While Statement
For Loop Scripts
22) Simple For Loop Script
23) Simple For Loop Range Script

Directory Scripts
24) Get Directory
25) Get Files in Directory

Linux Command Line
Permissions

Linux System Simplified


The Linux system is a complex operating system and therefore the material presented here breaks down and explains the core topics of the system in a simplified manner. Working examples when applicable are shown and explained. The material can be utilized for personal, educational or corporate usage.

Topics include:

Linux System Design
Linux Kernel
Transmission Control Protocol/Internet Protocol (TCP/IP) Architecture
Client Server Protocols
Linux Boot Process
Executing Commands
Linux Input and Output (I/O)
Linux Command Line
Linux File System
Linux ls Directories
Permissions
Reserved Characters in Linux
Create a File

50 End User Linux Commands


The following are 50 end user commands that are key to utilize from the Linux command line. The commands can be utilized for personal, educational or corporate usage. Commands are simply explained with an example(s). Some commands include useful and common attributes and parameters for usage.

Topics:

alias
cal
cat
cc
cd
chmod
chown
clear
cp
df
diff
du
echo
egrep
exit
find
free
grep
head
history
ifconfig
ip
jobs
kill
killall
less
ls
lsof
man
mkdir
mv
nano
ping
ps
pwd
rm
rmdir
sort
tail
top
touch
uname
unzip
uptime
useradd
vi
w
whereis
whoami
zip

50 Basic Linux Commands


The following are 50 basic commands to utilize from the Linux command line. The commands can be utilized for personal, educational or corporate usage. Commands are simply explained with an example(s). Some commands include useful and common attributes and parameters for usage:

Commands include:

alias
awk
basename
bc
bind
cal
cat
cd
chmod
clear
cp
ctrl
date
df
du
dir
echo
find
free
halt
hostname
history
grep
ifconfig
iostat
ip route
kill
less
ls
lsof
info
man
mv
mkdir
ping
ps
pwd
rm
sed
service
shutdown
sort
stat
tail
top
touch
traceroute
tree
uname
uptime
wc
whereis

50 Key Linux System and Network Administrative Commands


The following are 50 key system and network administrative commands to utilize from the Linux command line. Commands are simply explained with an example(s). Some commands include useful and common attributes and parameters for usage:

ALT Keyboard Shortcuts
CAL
CAT
CHMOD
CTRL Keyboard Shortcuts
DATE
DF
DMESG
DU
ECHO
FIND
FOLD
GROUP COMMAND
FREE
GREP
HALT
HOSTNAME
IFCONFIG
IP ADDR
IP HELP
IP LINK SHOW
IP NEIGH SHOW
IP ROUTE GET
IPCALC
IOSTAT
LS
LSOF
LSPCI
MOUNT
MPSTAT
NETSTAT
NSLOOKUP
PING
PRINTENV
PS
PSTREE
ROUTE
SET
STAT
TCPDUMP
TEE
TOUCH
TOP
TREE
TTY
TRACEROUTE
UNAME
UPTIME
WC
WILDCARDS


Linux Core Tasks Instructor Guide

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

Linux is utilized within the world of information technology in a very broad manner. Therefore, the items presented here are core tasks that encompass real world scenarios that are applicable to a system administrator, power user and an 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 tasks. The commands are grouped by topic.

Contents include:
Instructor Set-up
Linux System Design
Transmission Control Protocol/Internet Protocol (TCP/IP) Architecture
Common Commands
LS Command
PS Command
CHMOD Command
Kill Command
DF Command
Memory Commands (Using Cat and Free)
Miscellaneous Commands
WC Command
CP Command
Cat Command
Find Command
ID Command
TR Command
System and Networking Commands
Disk Usage Command
LSPCI Command
TCPDUMP Command
Tree Command
Uname Command
Text Processing
GREP
AWK
SED
Common Shells
Shell Scripts
Date Calendar and Uptime Script
Cleanup Script

Linux End User Instructor Guide + Tips & Tricks

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

Linux is an operating system based off of Unix. It is well respected and utilized for workstations, file servers and web servers. This guide covers aspects that an end user will find useful in their everyday tasks.

The guide is meant to be utilized by an individual who will be reviewing via a demonstration format some core aspects as well as tips & tricks that a general user who will be using Linux – can utilize in order to save time. The guide can also be used by any individual interested in self-study learning some core and key aspects of Linux.

Contents:
Instructor Set-up
Linux System Design
Transmission Control Protocol/Internet Protocol (TCP/IP) Architecture
Client Server Protocols
Executing Commands
Edit a File
Basic Commands
Paths and Pathnames
File System Hierarchy
Pattern Matching
Find Commands
Grep
Common Shells
Writing Simple Shell Scripts
Date with WhoAmI Script
Date Calendar and Uptime Script
Hello World Script
Network Commands
Check Hardware Information
Core One Liners