shell-script
I was using shell scripts and the scripts were getting long and hard to read, so I tried to summarize them with functions. However, the return values of shell script functions are different from those of functions in other programming lang…
This is a memo on how to encode and decode URLs with shell scripts. You can find many ways to do this by searching. https://stackoverflow.com/questions/296536/how-to-urlencode-data-for-curl-command At first, we tried using nkf for both enc…
Shell scripts use the jq command to retrieve data from JSON. I often forget how to use it, so here is a memo for my own use. Basic Basic operation "takes input from standard input, filters it, and outputs it to standard output." . represen…
When I usually work with Linux, I have multiple terminals up and running. I'm not particularly inconvenienced by that, but I was looking into the possibility of launching multiple shells in a single CUI terminal and switching between them …
I was looking for some kind of tool to help me select clusters for Kubernetes, and I saw a tool called peco. https://qiita.com/sonots/items/f82912367693d717ff06 PECO is an independent tool that has nothing to do with Kubernetes, but when I…
When I try to draw diagrams in PowerPoint, I have a hard time deciding on the layout, size, etc., and I have a tendency to not be able to draw quickly. I thought that it would be better to have a rigidly restricted system, so I considered …
Batch processing of data recorded in each file is sometimes performed by shell scripts. If there were a large number of files, it could be very time consuming to process them sequentially, waiting for one file to finish before processing t…