#Ksh

Radio AzureusRadioAzureus
2025-10-28

@nixCraft has written clear and consise instructions on many sh commands both internal {sh bash csh ksh} & external

Here's an example of the usage of dd an important powerful command which does everything the Unix way.

Here you're taught how to use dd safely to clone drive images. ddrescue dcfldd are also covered

You can use dd in any shell you like. You can also use them in your BSD OS

cyberciti.biz/faq/linux-unix-c

The screencap shows a shot of a terminal window with a light background. The terminal window displays text related to copying data using the  dd  command in Linux. At the top, a title reads "How to copy data using the  dd  command in Linux Unix" Below that, there is a line indicating the last update was on September 10, 2024. The main body of the screenshot appears to show a command-line interface with the  dd  command being used, although the exact details of the command are partially obscured. Below the main body is a section titled "Comments". Lastly, a small icon of a penguin is located in the lower-left corner of the image.

Provided by @altbot, generated privately and locally using Gemma3:12b

🌱 Energy used: 0.405 Wh
Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-10-27

Rules

* Never execute scripts from the internet
* Never execute scripts as root if you do not know what they do

#Programming #bash #sh #csh #ksh #fish #OpenSource #fork #bomb #forkbomb

cyberciti.biz/faq/understandin

Understanding fork Bomb page
πŸ…±πŸ…ΈπŸ…ΆπŸ…ΎπŸ†πŸ†πŸ…΄.πŸ…ΎπŸ†πŸ…Άbigorre_org
2025-10-02

Beautiful weather for takeoff from Shahid Ashrafi Esfahani airport in Kermanshah area (Iran) β€œOICC 020530Z 07004KT CAVOK 20/M01 Q1014 A2996” : See what it means on bigorre.org/aero/meteo/oicc/en vl

πŸ…±πŸ…ΈπŸ…ΆπŸ…ΎπŸ†πŸ†πŸ…΄.πŸ…ΎπŸ†πŸ…Άbigorre_org
2025-10-02

Beautiful weather for takeoff from Shahid Ashrafi Esfahani airport in Kermanshah area (Iran) β€œOICC 020530Z 07004KT CAVOK 20/M01 Q1014 A2996” : See what it means on bigorre.org/aero/meteo/oicc/en vii3

πŸ…±πŸ…ΈπŸ…ΆπŸ…ΎπŸ†πŸ†πŸ…΄.πŸ…ΎπŸ†πŸ…Άbigorre_org
2025-10-02

Beautiful weather for takeoff from Shahid Ashrafi Esfahani airport in Kermanshah area (Iran) β€œOICC 020500Z 10008KT CAVOK 19/M01 Q1014 A2996” : See what it means on bigorre.org/aero/meteo/oicc/en vii3

πŸ…±πŸ…ΈπŸ…ΆπŸ…ΎπŸ†πŸ†πŸ…΄.πŸ…ΎπŸ†πŸ…Άbigorre_org
2025-10-02

Beautiful weather for takeoff from Shahid Ashrafi Esfahani airport in Kermanshah area (Iran) β€œOICC 020500Z 10008KT CAVOK 19/M01 Q1014 A2996” : See what it means on bigorre.org/aero/meteo/oicc/en vl

πŸ…±πŸ…ΈπŸ…ΆπŸ…ΎπŸ†πŸ†πŸ…΄.πŸ…ΎπŸ†πŸ…Άbigorre_org
2025-10-02

Beautiful weather for takeoff from Shahid Ashrafi Esfahani airport in Kermanshah area (Iran) β€œOICC 020430Z 13004KT CAVOK 17/M02 Q1014 A2995” : See what it means on bigorre.org/aero/meteo/oicc/en vl

πŸ…±πŸ…ΈπŸ…ΆπŸ…ΎπŸ†πŸ†πŸ…΄.πŸ…ΎπŸ†πŸ…Άbigorre_org
2025-10-02

Beautiful weather for takeoff from Shahid Ashrafi Esfahani airport in Kermanshah area (Iran) β€œOICC 020430Z 13004KT CAVOK 17/M02 Q1014 A2995” : See what it means on bigorre.org/aero/meteo/oicc/en vii3

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-09-23

@rl_dane

I love the power of bash scripting

πŸ–‹οΈ #bash #sh #zsh #ksh #csh #ping #IPv6 #IPv4 #gping #httping #Linux #POSIX #OpenSource #Programming

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-09-23

I will continue my journey in Julia an awsome programming language, which I have extensive tweet series that I still need to convert to the fediverse format.

I tweeted as I studied blocks of the language. I love the structure of Julia

Here is a start on JuliaLang

docs.julialang.org/en/v1/

πŸ–‹οΈ #julia #julialang #bash #sh #zsh #ksh #csh #Linux #BSD #POSIX #Programming

The image shows a web page for the Julia programming language documentation, specifically for version 1.11. The page has a dark background with a header that includes the Julia logo and a navigation menu on the left side. The main content area features a title "Julia 1.11 Documentation" and a welcome message. Below the title, there is a note about the documentation being available in PDF format. The page also includes a section titled "Important Links" with a list of useful resources such as the Julia homepage, installation instructions, and YouTube channel. The "Introduction" section provides a brief overview of the language's performance and its suitability for scientific computing. The page is structured with a sidebar containing links to various documentation sections like "Manual," "Base," and "Developer Documentation."The image shows a web page for the Julia programming language. The page is titled "Installing Julia" and provides instructions for installing the language. The page is primarily black with white and red text. The top of the page includes a browser tab with the URL "https://julialang.org/install" and a navigation bar with links to various sections such as "Docs," "Learn," "Blog," "Community," and "Contribute." The main content area includes a section titled "Installing Julia," which explains the recommended way to install Julia using a small, self-contained binary. It provides a command-line installation instruction using cURL and mentions that it will install the latest stable version of Julia. The page also includes a section titled "Official domains," listing the official domains for Julia, and a note about IP address retention policy.

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.642 Wh
Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-09-23

Being thankful is important, esp. when you use opensource software.

I'm thankful to the coder(s) of gping a command which sends a nice graphical output in *sh when you invoke it of the ping reponses of your favourite server

In the same line I again want to thank the coder(s) of httping which can send you ping responses in an awsome way

I had spoken about httping before

Thank you all

πŸ–‹οΈ #bash #sh #zsh #ksh #csh #ping #IPv6 #IPv4 #gping #httping #Linux #POSIX #OpenSource #Programming

The image shows a computer screen with a terminal window open, displaying network latency data. The terminal window is titled "mocp" and shows a ping test to the server "ftp.sunet.se" with various latency measurements in milliseconds, such as 277.41ms, 262.225ms, and 247.04ms. The background of the terminal window features a green digital rain effect, which is a visual representation of data being processed. Below the terminal window, there is a timestamp indicating the time as 11:49:09, and a video player interface is visible at the bottom, showing a timestamp of 11:49:24. The video player is paused, and the video displays a rural scene with a structure resembling a gazebo and trees. The overall color scheme of the image is dark, with green text and graphics contrasting against a black background.The image shows a detailed network performance analysis tool interface, likely from a command-line application. The interface displays various metrics and graphs related to network activity. At the top, there are columns labeled "latest," "mocp," "avg," "max," "sd," "mc-a," "cur," "cafe," and "RemAD," with data such as "resolve," "connect," "ssl," "send," "request," "close," and "total" presented in numerical values. The graph at the bottom shows a timeline of HTTP responses, with green bars indicating successful responses (200 OK) and red bars for failed attempts. The HTTP response code is "200 OK," and the SSL fingerprint is "n/a." The "Last-Modified" timestamp is "Thu, 10 Apr 2025 15:18:21 GMT," and the "Expires" timestamp is "Tue, 23 Sep 2025 15:08:53 GMT." The "Content-Type" is "text/html; charset=UTF-8." The interface also shows the run time, which is "2025/09/23 12:07:33.408," and the total number of requests, "4341751." The graph indicates a high frequency of successful responses, with a few failed attempts.

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.903 Wh
2025-09-01

If I've never seen the codebase, which #Linux shell has the easiest code to read and understand? Specifically I want to isolate the code for *parsing* the command line syntax.

All #POSIX-compliant (or close enough) shells welcome! I probably don't know them all but off the top of my head:

#bash
#dash
#fish (sorry for the spam, marine life enthusiasts)
#zsh
#ksh
#tcsh & #csh I think?

#shell #shells #foss #code #commandline

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-08-25

Someone casually dropped a URL for a place where some wonderful shell based goodies are discussed

I went to the URL and I got a few beautiful fantastic and sexy programs purely for *sh

So whether you like csh ksh zsh tksh fish sh or any shell which I may or may not have heard of, these programs will run in them

httping horst

These two are making my day

Check their man pages on the internet.

httping looks gorgeous with the -K switch

I will update this toot with an output of the commands. I shall make the screen caps on my Linux machine

horst outputs sensitive data on the first page so I chose another innocent output
tab

#Thankful #FediVerse #POSIX #OpenSource #httping #horst #programming #networking #csh #ksh #zsh #bash #tksh #fish #sh

The image shows a terminal window displaying network performance metrics and HTTP request details. The top section of the window contains a table with columns labeled "latest," "min," "avg," "max," "sd," "mc-a," "cur," "cafe," and "RemAD." The table includes data such as "resolve," "connect," "ssl," "send," "headers," "close," and "ok" with numerical values. The "HTTP rc" column shows "200 OK," and the "SSL fp" is "n/a." The "graph" section displays a histogram with orange bars, indicating data distribution, and a green bar at the bottom. The "Server" field shows "Apache/2.4.63 (Unix)," and the "Last Modified" date is "Thu, 04 Aug 2025 15:18:21 GMT." The "Content-Type" is "text/html; charset=UTF-8." The bottom section lists timestamps, IP addresses, and response times for HTTP requests, all marked as "200 OK." The terminal also includes a message "ctrl + c to stop" and a timestamp "Mon Aug 25 03:18:23 GMT 2025."

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.946 WhThe image shows a computer screen displaying a spectrum analyzer software interface. The main part of the screen features a graphical representation of signal strength, with vertical bars indicating the intensity of signals across different channels. The left side of the screen shows a vertical scale labeled "dBm" ranging from -30 to -90, and a horizontal scale labeled "CHA" from 01 to 40, with some channels highlighted in green, indicating active signals. The background of the screen displays a sunset over a body of water, adding a serene visual element to the technical interface. At the bottom of the screen, there are several buttons and text fields, including "Quit," "Pause," "Reset," "Hist," "ESSID," "Stats," "Spec," "Filt," "Chan," "2 Nodes," and a timestamp "horst00:01:17:57." In the top right corner, there is a smaller window with additional data, labeled "Lin-SDY-RAI-TRANSMITTER," showing numerical values. The overall layout is typical of software used for network analysis or monitoring, with a focus on spectrum analysis.
Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-08-22

In this one I use a bit of networking to get to the SBC via ssh, invoke my trusted sh player (I use it for many decades) output the audio via a audio interface to a 16 channel insturment mixer, which is connected to the Yamaha mixing console, which then sends it via a couple of AUX busses to the effect rack, where I put a Delay Reverb combo on it, return that signal back, then mix it with the output, after which the audio is sent analog to the different destinations I have in the house

mastodon.social/@RadioAzureus/

#ssh #networking #SBC #Raspberrie #Pi5 #moc #bash #csh #ksh #sh #audio #balanced #music

If anybody knows the origin of why the select command uses stderr, I'd be interested to find out. Seems like it's been like this since at least ksh86. Maybe someone can ask David Korn?

#shell #ksh #posix

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-08-20

@fbfortune

This works in all OpenSource shells that I have worked with

#bash #csh #zsh #ksh #tksh #sh #fish

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-08-18

This is

`
curl ysap.sh/episodes
`

Here you can find the jump table for the subjects handled

#programming #guides #ysap #bash #csh #ksh #sh #tksh #OpenSource

The image shows a computer screen displaying a terminal window with a dark background and a sunset scene in the background. The terminal window is open to a webpage titled "YSAP" (You Suck at Programming), which is a series of episodes and guides by Dave eddy. The URL for the source is provided as "https://github.com/bahamas10/ysap." The left side of the screen lists episode titles, such as "Bash Intro," "Bash Arguments," and "Bash Reading Files," among others. The right side of the screen provides a brief description of the content for each episode, such as "An introduction to bash" and "Parsing arguments in bash." The episodes are numbered from 1 to 31, with links to each episode's page. The terminal command "curl ysap.sh/episodes" is visible at the top of the screen, indicating that the webpage was accessed using the curl command.

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.224 Wh
Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-08-18

The ysap series is wonderfull, both occasional and full time programmers can benifit from the series. curl to it with

`curl ysap.sh`

#programming #guides #ysap #bash #csh #ksh #sh #tksh #OpenSource

The image shows a computer terminal window with a web page displayed. The terminal is running a command to access the website "ysap.sh." The web page features a dark background with a sunset over a body of water, and the text "YSAP" in large, pixelated font at the top. Below the title, there is a message that reads, "You Suck at Programming Episodes and guide by dave eddy," along with links to various social media platforms and the source code on GitHub. The "About" section introduces the creator, Dave, and invites viewers to connect through social media. The "Legend" section provides a list of available endpoints for accessing different parts of the website, such as episodes and help. The terminal also shows the command "curl ysap.sh" being executed, indicating the user is accessing the website via the command line.

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.240 Wh
Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-08-11

Reminding all programmers to have a read at

`curl style.ysap.sh`

#programming #youSuck #sh #shell #bash #csh #zsh #ksh #tksh #fish

he image shows a terminal window with a vibrant sunset background. The terminal is running a command to fetch a Bash Style Guide script from a URL, specifically "curl style.ysap.sh." The title "YSAP" is prominently displayed in large, pixelated font at the top, with a subtitle "You Suck at Programming Episodes and guide by dave eddy" below it. The source is listed as "https://github.com/bahamas10/ysap." The main content of the image is a Bash Style Guide, outlining how to write safe and predictable bash scripts. The guide is authored by Dave Eddy and is part of the YSAP series. The guide's preface emphasizes objectivity and provides reasoning for certain decisions, noting that some choices are purely aesthetic. It mentions that good style can help narrow the scope for bugs but won't ensure scripts are free from error. The background features a silhouette of a person standing by a body of water during sunset, with a gradient sky transitioning from purple to orange.

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.220 Wh
Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-08-07

When it comes down to weather from the shell, no service is so smooth than wttr.in

It is so great to see that both in {ba{c{k{z}sh}}}}} and in browsers the output is smooth and fast.

Naturally the shell has a blistering response

#wttr #weather #openSource #bash #csk #ksh #zsh #sh

The image shows a computer desktop with a weather report application open in the foreground. The application displays detailed weather forecasts for the next few days, including temperature, precipitation, and cloud cover. The weather report is for Johan Adolph Peengel International Airport, located in Surabaya, Indonesia? (no SR/ SA). The application shows a mix of partly cloudy and light rain conditions, with temperatures ranging from 27Β°C to 30Β°C. The time displayed on the desktop is 13:49.

In the background, there is a web browser open with a weather report page titled "Weather report plm," and the URL "wttr.in" is visible. The desktop background features a serene image of a lake with trees, and the wallpaper is set to a blue gradient. The taskbar at the bottom of the screen shows various icons, including a file manager, a terminal, and a music player? The terminal window is open, displaying some text, and the music player is labeled "metalloddd." The desktop environment appears to be a BSD-based system, as indicated by the title bar.

Ovis2-8B

🌱 Energy used: 0.231 Wh

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst