w3m is a great little terminal web browser, as it's easy to compile on nearly any OS and has some great features.
For my scripts, I usually try to auto-detect the presence of lynx, links, w3m, and chawan, but for my shell alias, I just picked w3m, which I have installed everywhere. 😄
@Dendrobatus_Azureus @admin @ternaard
I even enjoy fedimeteo from the command line! ;)
alias fedimeteo='w3m -dump "https://us.fedimeteo.com/{{city}}__texas/" |tr "\n" ^ |sed "s/━━*/\n/g" |head -1 |tr ^ "\n" |sed -n "/^Weather for {{City}}/,/^#{{City}}/p"'
rld@Intrepid:~$ fedimeteo |head
Weather for {{City}}, Texas 🌕
Current temperature (at 05:42): 39.6°F (Partly cloudy)
Wind speed: 13.1 mph (5.9 m/s), direction: ↖ 327°
Air Quality:
• AQI: 27 🟢 (Good)
• PM2.5: 1.1 μg/m³
• PM10: 1.1 μg/m³
Interesting method; you use w3m tr head sed and a verical pipe to format the output for your favourite sh
https://linux.die.net/man/1/w3m
#sh #shell #bash #csh #ksh #zsh #programming #fedimeteo #weather w3m #sed #tr #pipe
⭐️JANUARY SALE⭐️
This sea shell drawing is now reduced to just £17.50.
For USA deliveries - Art is exempt from tariffs!
https://folksy.com/find/item/8530300
#FediGiftShop #ScottishArtist #MastoArt #CreativeToots
#Shell #SeaShell #OriginalArt #Drawing #ColourPencil #PenAndInk #Artwork #TraditionalArtist #ArtFromScotland #GiftIdeas #ArtShop #ShopIndy #SupportSmallBusiness #Sale #Bargain #Clearance
⭐️JANUARY SALE⭐️
This sea shell drawing is now reduced to just £17.50.
For USA deliveries - Art is exempt from tariffs!
https://folksy.com/find/item/8530300
#FediGiftShop #ScottishArtist #MastoArt #CreativeToots
#Shell #SeaShell #OriginalArt #Drawing #ColourPencil #PenAndInk #Artwork #TraditionalArtist #ArtFromScotland #GiftIdeas #ArtShop #ShopIndy #SupportSmallBusiness #Sale #Bargain #Clearance
Small shell function to copy last line in shell history to clipboard:
# Copy last command from shell history into clipboard
function cl() {
fc -ln | tail -1 | tr --delete "\n" | xclip -selection clipboard
}
Mega useful when you have multiple terminals open, or you want to paste it into documentation.
PLUG returns to the command line this Thursday
The in person meeting will have @FLOX_advocate covering Anatomy of the Command Line
Starts 19:00 AZ ( UTC - 7 )
Location: 1702 E Highland, Phoenix
Please be early to ease getting everyone to 3rd floor cafe
@FLOSS_Stammtisch is a week from Tuesday, the 20th, in person at Boulders on Southern in Mesa
#LocalGroup #Phoenix #Arizona #FLOSSgroup #LUG #PLUG #Stammtisch #FLOSS_Stammtisch #CLI #shell #bash
PLUG returns to the command line this Thursday
The in person meeting will have @FLOX_advocate covering Anatomy of the Command Line
Starts 19:00 AZ ( UTC - 7 )
Location: 1702 E Highland, Phoenix
Please be early to ease getting everyone to 3rd floor cafe
@FLOSS_Stammtisch is a week from Tuesday, the 20th, in person at Boulders on Southern in Mesa
#LocalGroup #Phoenix #Arizona #FLOSSgroup #LUG #PLUG #Stammtisch #FLOSS_Stammtisch #CLI #shell #bash
Useful #shell ( #ksh/ #bash) #function du-jour:
function apod {
#Today's NASA Astronomy Picture of the Day info-fetcher
curl -sL 'https://apod.nasa.gov/apod/archivepix.html' \
|grep -m1 "[0-9][0-9]:" \
|sed 's/^/Date: /;
s|: *<a href="|\nURL: https://apod.nasa.gov/apod/|;
s/">/\nTitle: /; s/<.*$//'
}
~ $ apod
Date: 2026 January 05
URL: https://apod.nasa.gov/apod/ap260105.html
Title: The Red Rectangle Nebula from Hubble
~ $