Wednesday, May 31, 2023

Linux - Checkeq (eqn or neqn)

The following is a Linux dictionary word of the day:

checkeq (eqn or neqn) – command utilized to describe equation aspects.

-v parameter to print version.

Example: eqn hello.c


  

Sunday, May 28, 2023

Linux - Cfdisk

The following is a Linux dictionary word of the day:

cfdisk – partition table manipulator for a Linux drive.

m = option used to maximize the disk usage of the current partition.

-h parameter display for help text.

-V parameter to display version information.

Example: cfdisk -V

Monday, May 15, 2023

Linux - CD

The following is a Linux dictionary word of the day:

cd (also can be chdir)  change directory.

cd .. moves backwards to the next higher subdirectory level.

cd / moves  to the highest root directory level.

Examples:

cd tmp

cd ..

cd /


Sunday, April 23, 2023

Linux - CC

The following is a Linux dictionary word of the day:

cc – executes the systems C coding compiler. By default, the output will be written to the executable file a.out.

-o parameter to output the executable file to the name of ones choosing.

Examples:

cc thefile.c

cc thefile.c -o mynewfile


Tuesday, April 4, 2023

Linux - Cat

The following is a Linux dictionary word of the day:

cat is short for catenate and used to display content, usually from file and directories.

/proc/ is a virtual file system that contains information about process and system information.

/proc/meminfo – information related to the memory in the system.

/proc/uptime – shows number of seconds the system is up and running. The second value in the listing shows the total number of idle seconds for each central processing unit (CPU).

Examples:

cat /proc/

cat /proc/meminfo

cat /proc/uptime


Tuesday, March 21, 2023

Linux - Case

The following is a Linux dictionary word of the day:

case command utilized to conditionally perform a command based on its value.

Example:

#!/bin/sh
echo "Enter command (who, list, or cal)"
     read command
     case "$command" in
      who)
           echo "Running who"
           who
           ;;
     list)
           echo "Running ls"
           ls
           ;;
     cal)
           echo "Running cal"
           cal 
           ;;
     *)
           echo "Bad command"
           ;;
     esac
     exit 0

Thursday, March 9, 2023

Linux Quiz

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

The following Linux quiz is meant to be a fun way to sharpen one's Linux knowledge. The 110 questions are based upon real working aspects for those interested in Linux. Ideally the questions are those that a system administrator, power user and an end user or student looking to further their knowledge in this area will find useful. 

Contents:

Basic Simple Commands

Network Commands

Text Processing Commands

Monitoring Commands

Linux Architecture

Linux Commands & Definitions

Grep Commands

Sed Commands

Awk Commands

Basic Scripting