I like the iTerm2's Command History feature, Cmd+Shift+;, to quickly find a command from the history. But there are some commands that I want to remove from the list, I already run command like sed -i "" '/searchstring/d' "$HISTFILE" to delete them from bash history file. But when I run Cmd+Shift+;, these commands still show, where iTerm2 store them, how can I update and delete some commands from it?| Recent Questions - Super User
Alpine defaults to ash as the login shell, I want to change it to bash. What I did so far: installed bash by sudo apk add bash installed shadow by sudo apk add shadow I changed my user's login shell to /bin/bash with chsh checked that /etc/passwd contains /bin/bash as default login shell for my user but that seems to be ignored. When I login (on console or ssh) I always end up in the ash shell.| Recent Questions - Server Fault
British oil giant Shell announced Wednesday it has abandoned construction of one of Europe’s largest biofuel plants in the Netherlands, as it focuses on its fossil fuels business. Faced with weak market conditions, the company last year suspended construction of the renewables biofuel factory in Rotterdam that was intended to produce sustainable aviation fuel (SAF) […] The post Shell abandons huge biofuel project in Netherlands appeared first on Digital Journal.| Digital Journal
My personal blog| anagogistis
In a bold fusion of art and activism, renowned artist Anish Kapoor has partnered with Greenpeace activists to stage a powerful installation on Shell’s active gas platform, located 45 nautical miles off the Norfolk coast. Titled Butchered by Anish Kapoor, the artwork marks the first time a contemporary piece has debuted on an offshore fossil…| Best Advertising Campaigns & Marketing Strategy
A shell script that displays project information and cost tracking from ccusage in Claude Code's status line, helping developers monitor their AI coding sessions and usage patterns.| Andrea Grandi
A little over two years after buying it for $169 million, Houston-based Shell USA is shutting down its Volta C electric vehicle charging business. Shell confirmed to AdExchanger that it will dismantle Volta’s network of more than 2,000 EV charging stations this year. A Shell spokesperson said the energy giant is turning its attention to high-speed public charging stations at Shell-branded sites like gas stations and standalone EV hubs. Around the world, Shell operates more than 70,000 publi...| Energy Capital
I have a directory full of different files obtained from the Internet and it turned out that some of them contain UTF-8 characters because of which indexing didn't work. So, I had to find all files that contain such characters. The solution I found was the following one: LC_ALL=C find . -name '*[! -~]*' This command will print all filenames with embedded unicode characters represented as| Everything about nothing
Eight major players in Houston’s energy industry rank among the world’s top 20 energy companies for corporate startup activity. The inaugural Corporate Startup Activity Index 2025, published by StartupBlink, ranks global corporations by industry. The eight Houston-area employers fall into the index’s energy and environment category. Researchers from StartupBlink, an innovation research platform, scored more than 370 companies based on three factors: corporate involvement in startup acti...| Energy Capital
Long long time ago, back in SunOS ages and shell Bourne, I saw this code| Laurent Schneider
Summary This document was published as part of the research by Vatan Hüzeir of Changerism, while a PhD candidate at Erasmus University Rotterdam, as part of his investigation entitled, Dirty pearls: exposing Shell’s hidden legacy of climate change accountability, 1970-1990. More documents, videos and reports from this collection are available on our page for the […] The post 1992 Internal Shell Group Planning report, “The Potential Augmented Greenhouse Effect & Depletion of the Ozone L...| Climate Files
Summary This document was published as part of the research by Vatan Hüzeir of Changerism, while a PhD candidate at Erasmus University Rotterdam, as part of his investigation entitled, Dirty pearls: exposing Shell’s hidden legacy of climate change accountability, 1970-1990. More documents, videos and reports from this collection are available on our page for the […] The post 1989 Shell Confidential Group Planning Scenarios 1989-2010, “Challenge and response” appeared first on Climate...| Climate Files
Summary This document was published as part of the research by Vatan Hüzeir of Changerism, while a PhD candidate at Erasmus University Rotterdam, as part of his investigation entitled, Dirty pearls: exposing Shell’s hidden legacy of climate change accountability, 1970-1990. More documents, videos and reports from this collection are available on our page for the […] The post 1998 Shell Sustainability report, “Profits and Principles – does there have to be a choice?” appeared first ...| Climate Files
Summary This document was published as part of the research by Vatan Hüzeir of Changerism, while a PhD candidate at Erasmus University Rotterdam, as part of his investigation entitled, Dirty pearls: exposing Shell’s hidden legacy of climate change accountability, 1970-1990. More documents, videos and reports from this collection are available on our page for the […] The post 1987 Shell Briefing Service, “Air pollution: An oil industry perspective” appeared first on Climate Files.| Climate Files
Summary This document was published as part of the research by Vatan Hüzeir of Changerism, while a PhD candidate at Erasmus University Rotterdam, as part of his investigation entitled, Dirty pearls: exposing Shell’s hidden legacy of climate change accountability, 1970-1990. More documents, videos and reports from this collection are available on our page for the […] The post 1985 Shell UK Long Term Business Planning Unit report,”Why and How to Control Energy Pollution” appeared first...| Climate Files
Summary This document was published as part of the research by Vatan Hüzeir of Changerism, while a PhD candidate at Erasmus University Rotterdam, as part of his investigation entitled, Dirty pearls: exposing Shell’s hidden legacy of climate change accountability, 1970-1990. More documents, videos and reports from this collection are available on our page for the […] The post 1989 Shell Confidential “UK Scenarios” appeared first on Climate Files.| Climate Files
Sharing shell tools habits between all of my hosts using chezmoi, building on a fantastic post by Mark| Ideas.Offby1
Moving away from sparklines| wok
I use zsh and yesterday I was testing a program with myprogram 2>/dev/null. In one iteration, I accidentally copied a newline character after the myprogram command and the zsh prompt looked something like| Lu’s blog
Modern UNIX shells like bash (default on Linux) and zsh (default on macOS) keep a history of all the commands you enter. The easiest way to access this history is by pressing the up and down cursor keys to browse through the last commands. But this is only the tip of the iceberg. There are … Continue reading Making the most of your Shells History on Linux and macOS| Abstract Expression
Shell has partnered with Vodafone Procure & Connect to learn how energy storage systems will become an important part of grid management.| Solar Power Portal
I bet that whenever you think of a simple database, you think of sqlite. There’s nothing wrong with that but the filesystem itself can be an even simpler substitute.| twdev.blog
zoxide is a smart and fast alternative to cd that learns your directory usage patterns and allows you to jump to directories quickly. It’s one of my favorite command-line tools and it’s an essential part of my workflow.| (think)
So, as you might have already guessed, I spend a lot of time in the terminal, using a shell.| Jordan Webb's blog
LLMのプロンプトに貼り付ける用に、指定した複数ファイル内容をディレクトリ構造情報を添えて連結するシェルコマンドを用意します。 はじめに LLM用に複数ファイル情報を連結するシェルコマンド やりたいこと コマンド実装 実行例 おわりに 参考 はじめに AIコーディングツールを使わずにChatGPTのような素朴なチャット形式のLLMでコーディングする場合、複数ファイ...| BioErrorLog Tech Blog
下記のようにして、特定ディレクトリのみを対象にしたgit logが可能です。 git log -- path/to/directory はじめに 特定ディレクトリを対象にgit logする コマンド 具体例 おわりに 参考 はじめに 特定ディレクトリのみを対象にしてgit logする方法がパッとわからなかったので、備忘録を残します。 特定ディレクトリを対象にgit logする コマンド --の後にディレクトリを指定するこ...| BioErrorLog Tech Blog
awkで簡単にできます: awk '!seen[$0]++' はじめに コマンドで重複行を排除して一度だけ表示する コマンド解説 実行例 おわりに 参考 はじめに コマンドで重複行を排除して一度だけ表示する方法の備忘録を残します。 The English translation of this post is here. コマンドで重複行を排除して一度だけ表示する 下記コマンドで、重複行を排除して一度だけ表示可能です: awk '!seen[$0]++' コ...| BioErrorLog Tech Blog
ffmpegコマンドで、.mov形式や.mp4の動画ファイルをGIFファイルに変換する方法の備忘録です。 はじめに 補足: ffmpegとは ffmpegでmov動画ファイルをGIFに変換する GIFに変換する 幅を指定してGIF変換する fpsを指定してGIF変換する 動画をカットしてGIF変換する 複数の変換を組み合わせて同時に実行する おわりに 参考 はじめに 画面キャプチャによって出力される.movファイルを、...| BioErrorLog Tech Blog
Rebecca John just published remarkable new research on DeSmog on how oil companies use donations and sponsorships of art museums, theater productions and even The Girl Scouts and the US Olympic Committee, to promote their brands, improve their reputation, to essentially buy credibility. While this is not a new notion or finding, the evidence in this investigation is quite recent, and previously unreported.| Climate Investigations Center
My friend Mirek wrote an interesting post recently: Where Rust fits for me. In it, he made a hierarchy of the programming languages he reaches for on a regular basis and why he picks a particular one for any specific task. I'd summarise it crudely like this:| Hiccupps
Winnie Oussoren (22), voorzitter van Milieudefensie Jong: "Wereldleiders doen veel te weinig om de klimaatcrisis te stoppen en grote vervuilende bedrijven als Shell hebben alleen oog voor miljardenwinsten. Gelukkig komen grote vervuilers in de rechtbank niet weg met loze groene beloftes. Het is simpel: Shell moet stoppen met het in gevaar brengen van mensen nu en in de toekomst. Stoppen met het ontwikkelen en aanboren van nieuwe olie- en gasvelden is daarin een onmisbare stap."| Boeddhistisch Dagblad
Ubitricity hat den Zuschlag für den Weiterbetrieb von 800 Laternenladepunkten im Rahmen des Berliner Projekts „ElMobileBerlin“ erhalten.| mobiFlip.de
Confession time: I don’t fully understand how terminals, shells and SSH really work (and my guess is you don’t either). And I don’t mean the cryptography behind SSH. I mean how SSH and the terminal — and the shell for that matter — interact with one another. I recently realized that even though I’ve been […] The post I don’t understand terminals, shells and SSH appeared first on Jan van den Berg.| Jan van den Berg
I’ve been using a lot of Git Trailers in my commit messages recently and as my thinking on which trailer keys to use has evolved, it’s been useful to look back at which ones have been used before.| Hearthside by Caleb Hearth
Automating the toil of running development servers and databases| Drew's blogsite
When desktop widgets first turned| blog.davep.org
(Or, what if you can’t just click the bad thing with the skull until it dies?) Sometimes you need to kill something in Linux. Sometimes it makes sense to use some sort interactive process monitor, like the process table in Plasma’s System Monitor, or top or htop or bottom or some other sort of top.1 (Or, if you’re in an X11 environment rather than a Wayland one, you could use xkill.2) killing with killall You can often get by with killall, e.g., if you want to kill all running Firefox a...| The Neo-Babbage Files
Savion's Kiowa County Solar Project will add 100 MW capacity to a state that ranks 41st in terms of total installed capacity.| pv magazine USA
Today I was reminded how awesome Scala is for scripting, via Scala CLI. And it goes beyond having “batteries included”.| Alexandru Nedelcu - Blog
I self-host my blog, other websites, Matomo, Mastodon, etc. I love self-hosting. But I need monitoring, to be alerted when things go wrong, as my setup is getting more and more complex. So, I recently asked for help online, being in need of a monitoring system for my VPS, as I need simple, common-sense health alerts. I got a recommendation for M/Monit, which seems to work well. This article shows my configuration.| Alexandru Nedelcu - Blog
Cloud hosting services like Linode or DigitalOcean offer backup services for your VPS. Save your money, you don’t need it. Here’s how to backup your data safely, and with no extra costs…| Alexandru Nedelcu - Blog
Unix has a long tradition with scripting — small programs represented as text files that can be inspected, modified, and executed. Scala can be used for scripting too.| Alexandru Nedelcu - Blog
Snippet for cleaning up a Scala project’s directory of all compiled files.| Alexandru Nedelcu - Blog
Snippet in plain F# with no dependencies. Features a neat shebang.| Alexandru Nedelcu - Blog
Quickly encrypt a message or a file for sending to your colleagues over unsecure messengers (Slack, etc).| Alexandru Nedelcu - Blog
testing the fish shell| anarc.at
Achieving a net-zero future is impossible without carbon capture. But until now, the solutions have been too expensive, too complicated, or too slow t| Green Prophet
Bash scripts. Almost anyone needs to write one sooner or later. Almost no one says "yeah, I love writing them". And that's why almost everyone is putting low attention while writing them.| Better Dev
Many of the scripts and executables allow providing some command line arguments. They may be required or optional. There are flags, that are just switches changing command behavior. There are, of course, arguments with values. And there are so-called positional arguments – parameters given in some order without any extra indications.| Better Dev
A list of my most used commands in my terminal| Andrea Grandi
Have you ever wanted to send desktop notifications from your command line on macOS? This can be particularly useful when you want to be notified when a long-running process completes. For example, you could append ; notify "Task completed!" to any command. While there are several ways to do this, I find using AppleScript through the osascript command to be the simplest approach. Here’s a handy shell function that lets you send notifications with just a single command.| Ishan Das Sharma
Starship is a highly-configurable, cross-shell prompt. I recently switched to using it and it sped up my prompt rendering from being noticably slow and taking probably half a second to render to an imperceptible 0.03s rendering time. It actually does slightly more than my old prompt did as well...| Hearthside by Caleb Hearth
Fish function example that allows you to use docker compose instead of docker-compose| Drew's blogsite
Atuin is a tool and labor of love built by Ellie Huxtable that runs in the background to capture commands you’ve entered. It stores these locally in a SQLite database and provides a great CLI tool to search through that history, provide stats of what commands you frequently run, and optionally...| Hearthside by Caleb Hearth
Türkiye is set to sign a long-term LNG deal with Total Energies next week. The 10-year agreement, beginning in 2027| Türkiye Today
The ability to download media on the internet almost feels like a lost art. When I was in my teens, piracy of mp3s, movies, and just about everything else| David Walsh Blog
curl is one of those great utilities that's been around seemingly forever and has endless use cases. These days I find myself using curl to batch download| David Walsh Blog
ITM Power has signed a contract to supply electrolyser stacks for the Shell Rheinland Energy and Chemicals Park in Germany.| Power Engineering International
BW ESS and Penso Power have signed a seven-year tolling agreement with Shell Energy Europe for their Bramley BESS in Hampshire, UK.| Smart Energy International
Routine sheets get the ads to the viewer with split-second timing in 1957 The post On the dot with that spot appeared first on THIS IS ATV NETWORK from Transdiffusion.| THIS IS ATV NETWORK from Transdiffusion
The electrical manufacturing industry has experienced wide disruption and progression and requires a strong focus on people, and gender diversity to ensure a competitive advantage.| Power Engineering International
Μια διαφορετική ανάρτηση, πιο αρτίστικη, πιο καλλιτεχνική... Από αυτές τις αναρτήσεις που ευχαριστιέμαι να τραβάω άπειρες φωτογραφίες (θα το καταλάβατε προφανώς...) και να δυσκολεύομαι για το ποιες να διαλέξω τελικά! Από τις αναρτήσεις που δεν έχω να περιγράψω κάτι ιδιαίτε...| Journey into Creativity
When writing shell scripts, one of the things I used to find more problematic was how to return values from a function. If writing a function, I try to use local variables as far as possible, so I do not like the idea of using global variables to return values. There are a few well … Continue reading "Returning values from shell functions and dynamic scoping"| Alfonso Sánchez-Beato's blog
Working on a web extension that ships to an app store and isn't immediately modifiable, like a website, can be difficult. Since you cannot immediately| David Walsh Blog
It’s time to bring a little of the beach into your home with this fun Seashell Jewelry Dish project! Grab a shell and a napkin & let’s craft!| Amy Latta Creations
Remembering the WiFi password when on a guest network is never easy. Even worse is when it's no longer posted and someone else is asking you for it.| David Walsh Blog
Surprising shell pathname expansion| www.gabriel.urdhr.fr
More example of argument and shell command injections in browser invocation| www.gabriel.urdhr.fr
Argument and shell command injections in browser invocation| www.gabriel.urdhr.fr
| The Grumpy Troll: The Grumpy Troll
Using grep to do substring extraction in shell scripts.| A Scripter's Notes
I was working on a tcsh script that did some cool stuff. But if a| A Scripter's Notes
Shell script snippets to check if you have an executable or binary| A Scripter's Notes
This post shows how to get the current directory name without the| A Scripter's Notes
Hey, Being accustomed to tying together multiple bash programs with the pipe operator, sometimes I’ve seen myself not being able to easily do so when a command expected the input to come from a file instead of stdin. Given that `dirname` doesn't expect input from `stdin`, piping to it doesn't work as expected Using process substitution we can make sure that pretty much every command can perform the equivalent of taking contents from standard input. tl;dr: dirname <(echo "/var/lib/my/file.tx...| ops.tips
Hey, Oftentimes I see myself needing to check response times while making a bunch of requests quickly. Most of the tools out there either do not continuously make new requests (via an entirely new TCP connection) or don’t expose connection times. Snapshot of the `httpstat` tool httpstat is a great tool that does the job really well. It’s a single binary that you can put under your $PATH and have nice stats, but it’s yet another tool, and you might just be inside a container (or maybe a ...| ops.tips
Hey, I’ve been trying to improve the Hugo template that I created for this blog, and one of the things I wanted to do was inject the contents of an index.css file into a index.amp.html layout file - Accelerated Mobile Pages (AMP) requires us to have our custom styles inlined in the HTML (see Custom Amp Styles). Here I go through a way of achieving that - using awk - and a way of not achieving that - using sed (naively). If you ever need to template a file with contents of another, this gist...| ops.tips
Hey, This week I wanted to make the logs of a Docker build easier to read, and remembering how some tools prefix their outputs with a name, I thought that doing so would be a good way to go. In such scenario, I had the following structure: . ├── Dockerfile # The Dockerfile that instruct the │ # image building process │ └── scripts # directory full of scripts to be run ├── first.sh # Ideally, each script would have its name ├── second.sh # used as the prefix in the ...| ops.tips
Hey, this is a quick tip that might save you some time if you need to have all the output of a script going out to a file and you don’t have control over the execution of it. Here I go through two possible ways to tackle the problem: using exec to redirect the stdout and stderr to a specific file; using a subprocess and controlling its stdout and stderr. Both achieve the same, but are slightly different. When do you need this? Using exec to redirect stdout and stderr Redirecting subprocess ...| ops.tips
A fool-proof way to write loops in bash that don't split input on spaces.| Drew's blogsite
TL;DR The following snippet added to you ~/.zshrc will recognize| 200ok - Accelerating Publishing
You might be familiar with the great| 200ok - Accelerating Publishing
If you want to do an ongoing speedtest with graphs for up- and| 200ok - Accelerating Publishing
Back in the days when I was developing in Ruby most of my waking| 200ok - Accelerating Publishing
Shell Locality| The Grumpy Troll
Putty, schmutty. Ditch the 3rd party apps for a much smoother and cleaner shell experience.| Port 1433
A good sign of a philosophically sound interactive Unix tool is the facilities it offers for interacting with the filesystem and the shell: specifically, how easily can you run file operations and/or shell commands with reference to data within the … Continue reading →| Arabesque
Featured Photo by energepic.com I’ve had a love-hate relationship with Bootstrap for a long time. While I love how fast it lets me get going, I absolutely hate the cookie cutter vibe of most of the stuff that I end up making with it. Bootswatch is awesome, and I know that I could customize my theme with SASS variables, but that adds a build step, which is additional complexity that I want to avoid when I am making business/CRUD applications.| Ishan Das Sharma
When beginning to use the terminal, we might accidentally delete our .bashrc file. What is the .bashrc file? The .bashrc file is a configuration file used by the bash shell. It contains all the environment variables, user defined functions, aliases and other config including the prompt layout. It is a full-fledged shell script, so we can have custom commands in it as well, which runs all the commands when a new process of the shell is started.| Ishan Das Sharma
Did you know you can develop on your Android just like a computer?| Matan-h
Recently, I discovered a great feature that most of recent Shells support. It is named brace expansion. I used it occasionally but without knowing how it beh...| pellegrino.link
I have a buddy who recommended switching to z shell as my terminal. He| startcodingnow.com
A simple client server Proof of Concept to show how websockets can be used to transfer and execute commands.| i break software - My work with different software, bug hunting and interesti...