Tuesday, February 28, 2023

Linux Useful One Liner Commands Instructor Guide


Linux is utilized within the world of information technology in a very broad manner. Therefore, the items presented here are useful one liner commands 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 whom will be reviewing via demonstration format these useful one liner commands.

Table of Contents:

Display and List One-Liners
List Hidden Files And Directories First:
Displays Build of Distribution:
Display Disk Usage in Human Readable Format:
Display Only The Total Disk Usage (Summary) Of Current Directory:
Display Day Of The Year:
Display Lines From Head And Tail:
Press A Key To Continue:
Shows Size Of Files And Directories Sorted:
Count Files In Current Directory:
Monitoring And Using One-Liners
Most Used Commands:
Monitor CPU Speed:
View All Network Activity In Real Time:
View The TCP Connection Status By Group:
Monitoring Kernel Messages:
Total Disk Space Used In Current Directory And Root Directory:
Process Tree With Details:
Check CPU Architecture:
Services And Processes Related One-Liners
Get Running Services By Port Number:
Processes Per User Count:
File Related One-Liners
Find And Delete Specific Type Of Files:
Find All Files And Paths That Do Not Have .txt:
Find Latest Version Of Given File:
Find Files That Contain test, hello and txt:
Find Open Files:
Test Text Writing With Delay:
Vertical Text Display:
Create Sequence Of Numbers 1 To 15 In Perl:
Display Today’s Date:
Octal Dump Of A File:
Run Multiple Commands Against A File:
Match Characters In A String And Return The Matches In Groups Of Two Characters:
Match 10 Characters In A String:
Match Characters Between Brackets:
Search C File And Output Printf Statement:
Search C File And Output Printf And Return Statements:
Match String In C File That Starts With The (" and Ends With the "):

Monday, February 6, 2023

Linux Keyways to Help in the Organization

These high-level aspects are keyways Linux helps in the organization:

Boost agility. Linux can quickly change based on changing specifications and needs.

Improve efficiency. Linux has tools for monitoring and alerts.

Increase scalability. Linux has infrastructure that allows it to pivot as needed.

Security items. Linux is one of the most secure operating systems.

Reduce downtime. Linux has one of the lowest rates of network failures.

Monday, January 30, 2023

Linux Vision with a Project

When using Linux, a project needs to have the following for the overall success strategy:

  • Scope of the project.
  • Define the project team.
  • Define the project sponsors.
  • Define the critical success factors of the project.
  • Create the project charter.
  • Create a project communications model which will be utilized.

Sunday, January 22, 2023

Aspects for a Linux Business Process

The following are the high-level aspects to realize as part of a Linux business process:

1) Has a goal with inputs and outputs.

2) Uses resources having a number of activities.

3) Will affect many departments across the organization.

4) Will create value to users.

Sunday, January 15, 2023

Linux Dictionary A-Z

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

The world of Linux is complicated and intricate. Therefore, in order to understand and maneuver through this vast technology and business environments platform, knowing the proper terminology from A-Z will prove valuable. Each entry is explained with useful parameters, options and examples when relevant.

Friday, January 6, 2023

4 Linux and Data Aspects to Consider

The following are some key aspects to think about in regard to Linux data and how it is utilized:

1) How do you currently ingest your needed data in order to effectively monitor the environment?

2) How do you know or consider what is normal performance aspects?

3) How do you achieve your stated statement of downtime/uptime agreements?

4) How do you leverage your data to know what projects are successful and which are not?

Thursday, January 5, 2023

8 Key High-Level Items for Linux Documentation

When writing any kind of specifications for Linux, the following are core and key aspects to include:


1) Benefits of the command, functionality, process, tool, utility etc.


2) Cost of the command, functionality, process, tool, utility etc.


3) Requirements of the command, functionality, process, tool, utility etc.


4) Functional specification of the command, functionality, process, tool, utility etc.


5) High level design of the command, functionality, process, tool, utility etc.


6) Low level design of the command, functionality, process, tool, utility etc.


7) Test specification of the command, functionality, process, tool, utility etc.


8) Future roadmap of the command, functionality, process, tool, utility etc.

Wednesday, January 4, 2023

3 Items to Command Managing Linux

The following are three key aspects to be aware of when managing a Linux infrastructure:

1) Have you invested enough in education and planning of the Linux environment?

2) Have you invested the proper amount of time to account for changes in the environment?

3) Have you set clear and specific expectations for the environment?

Tuesday, January 3, 2023

5 Reasons Why Linux is Complicated

The following are five reasons why Linux is complicated and how to overcome each:

1) Kernel - understanding the kernel and the vision behind it and how it works will serve one well.

2) Security - understanding the use of groups and the chmod based permission sets will serve one well.

3) Operating system - understanding which distribution of Linux works for you and your organization will serve one well.

4) Command line - understanding which commands are best to leverage and learn for the functionality you need will serve one well.

5) Scripting - understanding shell scripting and which shell script works for the functionality you need will serve one well.

4 Linux Technology Impacts

The following are four key thoughts on the technology impact of Linux:

1) Technology impact - by leveraging Linux you gain a more robust operating system.

2) Design and development impact - by leveraging Linux you gain a system where you can have flexibility on the design and development aspects.

3) Security - by leveraging Linux you have a more secure operating system.

4) Effective use of tools - by leveraging Linux, you have a system that has many tools and utilities for a wide range of aspects across a wide spectrum of businesses.

4 Key Ways to Organize Linux Knowledge

The following are four key thoughts on how best to organize Linux knowledge:

1) Systems - think about how your own system can and should be organized.

Could be what is your folder structure, applications needed, utilities needed, etc?

2) Network - think about how your network can best be utilized.

Could be do you need to use wireless or hard-wired based framework?

3) Creating media - think about what media is needed for your Linux operation.

Could be do you need to create a website, blog or other electronic media to enhance customer reach?

4) Programming - think about what shell is best for you to utilize for your scripting.

Could be do you need to use the bash shell or the csh shell or even a language such as C to obtain what you need to?

Wednesday, December 28, 2022

Linux - Cal

The following in a Linux dictionary word of the day:
cal – command which has the ability to display a 12-month calendar beginning in January.
-j parameter is for Julian dates (shows days numbered 1 to 365 starting from January 1).
-y parameter is for the display of the entire current year.
[month][year] options to display a calendar applicable to the month and year given. 

Examples:
cal
cal -j
cal -y
cal 01 2000