Sunday, December 29, 2024

Linux - Dc

The following is a Linux Dictionary word of the day:

dc command that runs a desk calculator.

+ = option for addition.

- = option for subtraction.

* = option for multiplication.

/ = option for division.

% = option to display reminder of division operation.

c = option to clear the stack.

f = option to display entire contents of the stack.

p = option which prints to the screen the first item in the stack.

Example:

dc

10

f

10

10+p

        









Karaoke Machine with 2 Wireless Microphones,Portable Karaoke Machine for Adults & Kids,Karaoke Microphone with PA System,Karaoke Speaker Supports for TWS,USB,FM,REC,AUX in,TF Card

https://amzn.to/4fYuGMM

As an Amazon Associate, I earn from qualifying purchases.

Friday, December 27, 2024

Linux Sed Instructor Guide

Linux Sed Instructor Guide https://www.amazon.com/dp/B0DRLCPYRK/

In a Linux system, utilizing sed to search as well as to find and replace is an essential part of working in the environment. Therefore, this instructor guide covers the most common ways to use sed. 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 Sed:

Sed Core Examples:

Sed Print Line Examples:

Sed Adding Aspects Examples:

Sed Manipulation of Lines Examples:

Sed Find and Replace Line Examples:

Sed Insert Line Examples:

Sed Updating File Examples:

Sed Line Number Examples:

Sed Line Deletion Examples:

About the Author:

Notes:

Brother P-Touch, PTM95, Handy Label Maker, 9 Type Styles, 8 Deco Mode Patterns, Navy Blue, Blue Gray

https://amzn.to/3VjjVfO

As an Amazon Associate, I earn from qualifying purchases.

Tuesday, December 24, 2024

Linux - Date

The following is a Linux Dictionary word of the day:

date displays or changes the date & time.

-s = parameter for set.

Example: date

Example: Displays the date in the format of mm/dd/yy then the time in the format of hours:minutes:seconds:

date "+DATE: %m/%d/%y%nTIME: %H:%M:%S"

" – starts display line.

+DATE: option to concatenate the word DATE: on the output line.

%m option to display month.

%d option to display date.

%y option to display year.

%n option for a new line.

displays the date in the format as mm/dd/yy.

TIME: option to concatenate word TIME: on the output line.

%H: option for hour.

%M option for minutes.

%S option for seconds

" end of display line.



As an Amazon Associate, I earn from qualifying purchases.


Monday, December 16, 2024

Linux - Cut

The following is a Linux Dictionary word of the day:

cut – used for removing/parsing text in specific files or strings.

-d parameter which stands for delimiter.

-f parameter for file which then needs a number of how many lines to cut.

Example: using a , as a delimiter to cut the number of fields specified.

cut -d “,” -f 2 hello.c

As an Amazon Associate, I earn from qualifying purchases.



Thursday, December 12, 2024

Linux - Curl

The following is a Linux Dictionary word of the day:

curl – display, upload or download data from one server to another using supported protocols (FTP, HTTP, IMAP, POP3, SCP, SFTP, TFTP, etc.).

Example displays contents of URL:

curl http://www.kmo.name

Example using curl with ftp to download all files in free directory that have oneill in the name and are a .pdf:

curl ftp://ftp.kmo.name/free/[oneill].pdf



As an Amazon Associate, I earn from qualifying purchases.

Sunday, December 8, 2024

Linux - Cu

The following is a Linux Dictionary word of the day:

cu – command stands for call up and is utilized to connect to another Linux system.

~. Used to terminate the current connected conversation.

~? Used to display all available commands to utilize.

-c parameter used to know the phone number to call.

-p parameter of the port to be utilized.

-s parameter of the speed baud rate to utilize.              

-z parameter utilized for the system to call.

Example: cu -s 38400 1234567890


Tuesday, December 3, 2024

Linux - Ctags

The following is a Linux Dictionary word of the day:

ctags – command creates tags in files which then can be utilized for referencing.

-a parameter for appending.

-F parameter for searching for a pattern.

-R parameter to resurse through all files.              

Example: ctags -R *

As an Amazon Associate, I earn from qualifying purchases.