並び順

ブックマーク数

期間指定

  • から
  • まで

481 - 520 件 / 897件

新着順 人気順

シェルスクリプトの検索結果481 - 520 件 / 897件

  • Bash HTTP monitoring dashboard - Raymii.org

    Bash HTTP monitoring dashboard Published: 27-12-2020 | Last update: 11-01-2021 | Author: Remy van Elst | Text only version of this article ❗ This post is over two years old. It may no longer be up to date. Opinions may have changed. This is a shell script that creates a webpage with the status of HTTP(s) sites. Parallel checking, thus very fast, only dependencies are curl and bash (version 4 or ab

    • WezTermをはじめてWezTermをやめようかと思うまで - Gentoo metalog

      ターミナルでほとんどを過ごす都合がある。しばらく前まではkittyを使っていたのが、このところはWezTermを使っていた。 WezTermは最近はやりのGPU-acceleratedなターミナルエミュレータで機能が豊富である。 wezfurlong.org たとえば、タブを作れたり、リーダーキー(screenとかのCtrl-a的な感じで他のショートカットのprefixになる)を設定できたり、workspaceを複数作れたり、builtinなsshでリモート接続したり、multiplexできたりする。 wezfurlong.org これらリッチな機能のおかげで、端末+tmux的な機能と操作感をWezTermだけでできて大変にべんり…という感じだった。…が、いまはやめようかなと思っている。 やめようかなとなっている理由 環境が悪いというとそれまでなのだが、nvidiaのGPU(+Linux)

        WezTermをはじめてWezTermをやめようかと思うまで - Gentoo metalog
      • CVE-2021-3156: Heap-Based Buffer Overflow in Sudo (Baron Samedit) | Qualys Security Blog

          CVE-2021-3156: Heap-Based Buffer Overflow in Sudo (Baron Samedit) | Qualys Security Blog
        • GitHub - noperator/sol: A de-minifier (formatter, exploder, beautifier) for shell one-liners

          A de-minifier (formatter, exploder, beautifier) for shell one-liners. sol [ sohl ] noun a tool to help you inspect chained shell commands before you share a one-liner (or after you receive one) Before I ran sol, I had no idea what the h**k that one-liner I got from Oscar was supposed to do. (also soul) the spiritual part of humans regarded in its moral aspect You probably don't have a soul—or at l

            GitHub - noperator/sol: A de-minifier (formatter, exploder, beautifier) for shell one-liners
          • AWS CloudShell – Command-Line Access to AWS Resources | Amazon Web Services

            AWS News Blog AWS CloudShell – Command-Line Access to AWS Resources No matter how much automation you have built, no matter how great you are at practicing Infrastructure as Code (IAC), and no matter how successfully you have transitioned from pets to cattle, you sometimes need to interact with your AWS resources at the command line. You might need to check or adjust a configuration file, make a q

              AWS CloudShell – Command-Line Access to AWS Resources | Amazon Web Services
            • とほほのjq入門 - とほほのWWW入門

              jqとは インストール サンプルJSON コマンドライン オプション 出力に関するオプション インデント数 (--indent n) タブインデント (--tab) コンパクト出力 (-c | --compact-output) キーソート出力 (-S | --sort-keys) 色つき出力 (-C | --color-output) 色無し出力 (-M | --monochrome-output) RAW出力 (-r | --raw-output) 連結出力 (-j | --join-output) ASCII出力 (-a | --ascii-output) バイナリ出力 (-b | --binary) バッファリング無し出力 (--unbuffered) 入力に関するオプション 啜り入力 (-s | --slurp) RAW入力 (-R | --raw-input) 入力無し (-n

              • GitHub - Genivia/ugrep: 🔍 ugrep 7.3 file pattern searcher -- a more powerful, ultra fast, user-friendly, compatible grep replacement. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z,

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                  GitHub - Genivia/ugrep: 🔍 ugrep 7.3 file pattern searcher -- a more powerful, ultra fast, user-friendly, compatible grep replacement. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z,
                • シェルスクリプトの説明をコメントで書いてコマンドラインでヘルプとして表示する - Qiita

                  Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                    シェルスクリプトの説明をコメントで書いてコマンドラインでヘルプとして表示する - Qiita
                  • 結局iTerm2を単体で使うことにした - Mitsuyuki.Shiiba

                    年末年始にGhosttyを触ってみてて、好きだなとは思いつつもメイン使いするのはもうちょっと待ちたいなという気持ちになった。 なので、↓以前に書いたみたいにiTerm2 + tmuxに戻すかー!と思って、それならtmuxの使い方をもういっかい勉強するかー!って考えたんだけど。 はて?そういえばなんでtmuxを使ってるんだっけ?ってなった。 もともとは、踏み台からサーバーに入って作業をするときに切断されないようにするためだったな。ついでに複数台のサーバーに入りやすくて便利だなくらいで使い始めたんだった。 もう今じゃ踏み台からサーバーに入ることもほとんどないし、単に複数ペインやタブで操作したいだけならiTerm2だけでよくない?って気持ちになった。 それに、もしまた踏み台経由でtmuxを使いたいってなったら、iTerm2のtmuxインテグレーションの機能を使えばiTerm2の使い方でtmuxが

                      結局iTerm2を単体で使うことにした - Mitsuyuki.Shiiba
                    • Spring4Shellを悪用したサイバー攻撃が全世界で拡大中 迅速な対処を

                      セキュリティベンダーのCheck Point Software Technologiesのリサーチ部門であるCheck Point Researchは2022年4月5日(現地時間)、同社のブログで、先日明らかになったJavaアプリケーションフレームワーク「Spring Framework」(Spring)に関するリモートコード実行の脆弱(ぜいじゃく)性(CVE-2022-22965)を悪用したサイバー攻撃が全世界で拡大していると報じた。 Check Point ResearchはSpringの脆弱性を悪用したサイバー攻撃が全世界で拡大していると報じた。今後もサイバー攻撃に使われる危険性が高く、迅速に対策を取ることが望まれる。(出典:Check Point Software TechnologiesのWebサイト)

                        Spring4Shellを悪用したサイバー攻撃が全世界で拡大中 迅速な対処を
                      • AWSが、AWSリソースと対話するためのブラウザベースのシェル、Cloudshellを発表

                        Spring BootによるAPIバックエンド構築実践ガイド 第2版 何千人もの開発者が、InfoQのミニブック「Practical Guide to Building an API Back End with Spring Boot」から、Spring Bootを使ったREST API構築の基礎を学んだ。この本では、出版時に新しくリリースされたバージョンである Spring Boot 2 を使用している。しかし、Spring Boot3が最近リリースされ、重要な変...

                          AWSが、AWSリソースと対話するためのブラウザベースのシェル、Cloudshellを発表
                        • GitHub - Textualize/toolong: A terminal application to view, tail, merge, and search log files (plus JSONL).

                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                            GitHub - Textualize/toolong: A terminal application to view, tail, merge, and search log files (plus JSONL).
                          • 使用頻度とコマンド (エイリアス) の文字数を合わせたい - id:onk のはてなブログ

                            1 文字エイリアスのすゝめ 1 文字エイリアスが好きで、例えば alias s="git status -sb" している。 入社してからの 4 年半で溜めた 53 万行の .zsh_history から集計すると、 $ history 1 | awk '{ print $2 }' | sort | uniq -c | sort -nr | head 121714 g 114128 s 57124 v 34210 cd 26095 tig 23281 rg 11382 plenv 10837 t 9647 :q 6867 ll となった。ちなみに以下の略です。 alias g="git" alias s="git status -sb" function v() {vi -p ${${=*/:/ +}/:*}} alias t="tig" alias :q="exit" alias ll=

                              使用頻度とコマンド (エイリアス) の文字数を合わせたい - id:onk のはてなブログ
                            • 【海外記事紹介】man ページが複雑すぎる? tldr を使って Linux コマンドを学ぼう

                              12月9日、海外の技術メディアHow-To Geekが「Man Pages Too Complex? Try tldr to Learn Linux Commands」と題した記事を公開した。この記事では、Linuxコマンドのヘルプを簡素化する「tldr」について詳しく紹介されている。 12月9日、海外の技術メディアHow-To Geekが「Man Pages Too Complex? Try tldr to Learn Linux Commands」と題した記事を公開した。この記事では、Linuxコマンドのヘルプを簡素化する「tldr」について詳しく紹介されている。 以下に、その内容を紹介する。 tldrとは何か?manコマンドより優れている理由 tldrは、Linuxの「man」コマンドと同様にコマンドのヘルプを表示するツールだが、その大きな違いは表示が簡潔でわかりやすい点にある。名前

                                【海外記事紹介】man ページが複雑すぎる? tldr を使って Linux コマンドを学ぼう
                              • GitHub - lucidrains/deep-daze: Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun

                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                  GitHub - lucidrains/deep-daze: Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun
                                • MobageのオンプレミスからAWSへの移行【DeNA TechCon 2021】/techcon2021-8

                                  14年の歴史を持ち、1000台以上の物理サーバーを利用していた Mobage をオンプレミスから AWS へ移行しました。 また、同時に OS を CentOS6 から Ubuntu18 に更新しました。 ・長らくオンプレミスで運用してきたサービスをなぜクラウドに移行するのか ・サービスをメンテナンスに入れずに移行をする工夫 ・現在の課題やそれについての改善計画 などについて、インフラエンジニアの観点からお話します。

                                    MobageのオンプレミスからAWSへの移行【DeNA TechCon 2021】/techcon2021-8
                                  • GitHub - bobbyiliev/introduction-to-bash-scripting: Free Introduction to Bash Scripting eBook

                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                      GitHub - bobbyiliev/introduction-to-bash-scripting: Free Introduction to Bash Scripting eBook
                                    • GitHub - h4l/json.bash: Command-line tool and bash library that creates JSON

                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                        GitHub - h4l/json.bash: Command-line tool and bash library that creates JSON
                                      • Makefile で環境構築を確実に一瞬で終わらせる話

                                        はじめに ラブグラフ 開発チーム インターン の こるく です。 私がラブグラフに Join してまず感動したのが、コマンド一発で完了する超お手軽な環境構築でした。 普通プロジェクトに Join するときは面倒な環境構築をする必要がありますが、ラブグラフではそれが全くありませんでした。 ということで今回は、それを実現している Make と Docker を使って、開発、テスト、CI、本番のすべての環境で、ランタイムの環境と環境変数の設定をすべてコードベース ( IaC というやつ? ) でラクに共有して開発体験を爆アゲしようと思います。 この構成が目指すところ ✅ 環境で悩むことをなくして開発体験を爆アゲする ✅ 環境構築をコマンド一発でできるようにする ✅ ついでにテストもコマンド一発でできるようにする ✅ 環境変数をホストマシンのシェルから排除し、コードの一部としてリポジトリ内で管理す

                                          Makefile で環境構築を確実に一瞬で終わらせる話
                                        • research!rsc: The xz attack shell script

                                          Posted on Tuesday, April 2, 2024. Updated Wednesday, April 3, 2024. Introduction Andres Freund published the existence of the xz attack on 2024-03-29 to the public oss-security@openwall mailing list. The day before, he alerted Debian security and the (private) distros@openwall list. In his mail, he says that he dug into this after “observing a few odd symptoms around liblzma (part of the xz packag

                                          • Inside the code: How the Log4Shell exploit works

                                            Products & ServicesSecurity OperationsThreat ResearchAI ResearchNaked SecuritySophos Life The critical vulnerability in Apache’s  Log4j Java-based logging utility (CVE-2021-44228) has been called the “most critical vulnerability of the last decade.”  Also known as Log4Shell, the flaw  has forced the developers of many software products to push out updates or mitigations to customers. And Log4j’s m

                                              Inside the code: How the Log4Shell exploit works
                                            • "Rules" that terminal programs follow

                                              Recently I’ve been thinking about how everything that happens in the terminal is some combination of: Your operating system’s job Your shell’s job Your terminal emulator’s job The job of whatever program you happen to be running (like top or vim or cat) The first three (your operating system, shell, and terminal emulator) are all kind of known quantities – if you’re using bash in GNOME Terminal on

                                              • WebAssemblyでBashやCurlが動く、業界標準APIを拡張した「WASIX」を発表 Wasmer

                                                WebAssembly(Wasm)ランタイムを開発するWasmerは2023年5月30日(米国時間)、「WASI」(WebAssembly System Interface)を拡張してPOSIX(Portable Operating System Interface)に対応した「WASIX」を発表した。 WASIXは、WebAssemblyでネットワークやファイル、メモリなどのシステムリソースを抽象化するAPI仕様であるWASIを拡張したものだ。Wasmerは発表の中で、以下のように述べている。 「2019年に発表されたWASIは、Wasmコミュニティーにとって大きな後押しとなったが、改善のペースの遅さが普及を妨げてきた。WASIXはWASIの提案を拡張し、POSIXとの完全な互換性を持つことで、有用で生産的なアプリケーションを構築できる」 WASIXとは一体何なのか 関連記事 C/C++

                                                  WebAssemblyでBashやCurlが動く、業界標準APIを拡張した「WASIX」を発表 Wasmer
                                                • GitHub - jkool702/forkrun: runs multiple inputs through a script/function in parallel using bash coprocs

                                                  forkrun is an extremely fast pure-bash function that leverages bash coprocs to efficiently run several commands simultaneously in parallel (i.e., it's a "loop parallelizer"). forkrun is used in much the same way that xargs or parallel are, but is faster (see the hyperfine_benchmark subdirectory for benchmarks) while still being full-featured and only requires having a fairly recent bash version (4

                                                    GitHub - jkool702/forkrun: runs multiple inputs through a script/function in parallel using bash coprocs
                                                  • NEW – Using Amazon ECS Exec to access your containers on AWS Fargate and Amazon EC2 | Amazon Web Services

                                                    Containers NEW – Using Amazon ECS Exec to access your containers on AWS Fargate and Amazon EC2 Today, we are announcing the ability for all Amazon ECS users including developers and operators to “exec” into a container running inside a task deployed on either Amazon EC2 or AWS Fargate. This new functionality, dubbed ECS Exec, allows users to either run an interactive shell or a single command agai

                                                      NEW – Using Amazon ECS Exec to access your containers on AWS Fargate and Amazon EC2 | Amazon Web Services
                                                    • Building an interactive shell in Golang

                                                      Go is great for building command-line applications. We built one: Dolt, the world's first version-controlled SQL database. We wrote our own command line parser for handling all of Dolt's subcommands and arguments, but maybe we shouldn't have. There are lots of great ones out there that if we might have used instead if we were starting the project today: spf13/cobra has great support for code gener

                                                        Building an interactive shell in Golang
                                                      • GitHub - remileduc/sherver: Pure Bash lightweight web server.

                                                        Sherver is a web server that implements part of HTTP 1.0. Even if it is written in a few lines of Bash, it is able to do a lot: no configuration needed: you can just add files either in scripts or in file folders serve any HTML page no matter how complexe (with advanced JavaScript and multiple scripts or files to download...) serve files (text or binary, pictures...) with correct mime type dynamic

                                                          GitHub - remileduc/sherver: Pure Bash lightweight web server.
                                                        • PowerShellが使う色を変更する (1/2)

                                                          今回は、PowerShellのコマンドラインで使われている構文表示の色指定を変更する方法を解説する。 通常はそのままでも構わないが、ターミナルの背景色などを明るい色にすると、見えづらくなることがある。しかし、その変更が結構面倒なのだ。 現在の設定値は、Get-PSReadLineOptionで得られる。色を変更するには、指定されたキーを持つハッシュテーブルを作り、これをSet-PSReadLineOptionで設定する。色指定にはターミナル標準の16色から8bitカラー、24bit RGBカラーの3種類が利用できるほか、文字属性なども設定が可能だ。 Windowsターミナルの場合、「設定」→「プロファイル」→「既定値」→「外観」→「見分けがつかないテキストの明るさを自動的に調整する」を、「なし」にしないと背景色によっては文字色が正しく表示されないことがある。色が正しく設定されていないと感じ

                                                            PowerShellが使う色を変更する (1/2)
                                                          • GitHub - charmbracelet/bubbletea: A powerful little TUI framework 🏗

                                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                              GitHub - charmbracelet/bubbletea: A powerful little TUI framework 🏗
                                                            • GitHub - advimman/lama: 🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022

                                                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                GitHub - advimman/lama: 🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022
                                                              • Welcome to Bash for Beginners [1 of 20] | Bash for Beginners

                                                                Welcome to the Bash for Beginners Series where you will learn the basics of Bash scripting. In this video, Gwyn and Josh introduce themselves and outline what will be covered in this series. https://aka.ms/bashforbeginners Follow Gwyn: - Gwyn on YouTube: https://youtube.com/madebygps - Gwyn on Twitter: https://twitter.com/madebygps Follow Josh: - Josh on Twitter: https://twitter.com/joshduffney

                                                                  Welcome to Bash for Beginners [1 of 20] | Bash for Beginners
                                                                • 開発から 45 年、プログラミング言語 AWK に Unicode サポートが追加 | スラド デベロッパー

                                                                  プログラミング言語 AWK が最初に開発された 1977 年から 45 年後の2022年、Brian Kernighan 氏により Unicode サポートが追加されたそうだ (README.unicode、 The Register の記事、 Ars Technica の記事、 Computerphile 動画)。 Kernighan 氏は AWK (Aho Weinberger Kernighan) の「K」の由来でもあるオリジナル開発者で、80 歳になる。GitHub の「The One True Awk」リポジトリに Unicode サポートがコミットされたのは 6 月 1 日だったが、先週 Kernighan 氏が YouTube の Computerphile に出演するまで注目されずにいたようだ。Kernighan 氏によれば、AWK が Unicode をサポートしていない

                                                                  • Home | Oh My Posh

                                                                    If you're enjoying Oh My Posh, consider becoming a sponsor to keep the project going strong 💪

                                                                    • 過去のGitHub Actionsのbuild時間を取得して集計してグラフにする - xuwei-k's blog

                                                                      継続的にメンテナンスするのではなくて、雑な使い捨てでいいならshellscriptとjq職人芸でいけるので頑張ってしまったけれど、継続的にやるならもっと違うもので書いた方がメンテナンスしやすいと思います。 細かい部分はいくらでも改善の余地があるとは思いますが、とりあえず動いたのでヨシ・・・!? 以前も多少似たような何か作ったけど、こういうの誰か既にもっと綺麗に作ってないんですかね。 xuwei-k.hatenablog.com GitHub Actionsのログはデフォルトでは90日保存されてるはずなので、その程度の期間をなんとなく集計したいだけならば、こうやって後から集計するだけで十分ですね。 もちろん、yamlの内部の構造がすごく変わっていると集計が難しいか実質不可能になるリスクはありますが。 もっとしっかり計測したいならば、buildした時点で専用の場所に綺麗に記録して、他のもっとリ

                                                                        過去のGitHub Actionsのbuild時間を取得して集計してグラフにする - xuwei-k's blog
                                                                      • GitHub - catatsuy/purl: Streamlining Text Processing

                                                                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                          GitHub - catatsuy/purl: Streamlining Text Processing
                                                                        • Linuxでのプロセス置換 - Qiita

                                                                          はじめに 導入 Linuxで使うbash等のシェルには、様々な○○置換という機能がありますが、その中でも「プロセス置換」( <(コマンド) や >(コマンド) ) というのはなかなかイメージし辛いのではないかと思います。 ※特にコマンド置換 ( $(コマンド)や`コマンド` ) と名前が紛らわしいというのもあります。 これはパイプと機能的にも仕組み的にも近いものですので、この機会にパイプとの関連性も含め、仕組みを紹介したいと思います。 環境 bash,zsh共にプロセス置換の機能を持っていますが、以下ではbashを前提として仕組みを説明します。 なお、各動作確認は x86_64 WSL1(Win10)/Ubuntu18.04.2 LTS, bash4.4.19(1) で行っています。 プロセス置換の概要 利用目的 bash manページのプロセス置換の項にも説明はあるのですが、なかなかそれ

                                                                            Linuxでのプロセス置換 - Qiita
                                                                          • How the GNU coreutils are tested

                                                                            Detailed here are some of the tools and techniques we use to test the GNU coreutils project, which should present some useful ways to automate the use of tools like gdb, strace, valgrind, sed, grep, or the coreutils themselves etc., either for testing or for other applications. We also describe general techniques like using timeouts in a robust and performant way. Test framework automake's test fr

                                                                            • jqコマンドとシェルスクリプトの上手い速い使い方

                                                                              はじめに シェルスクリプトから jq コマンドを使う記事はいくつも見かけますが、あまりにも面倒でよくない書き方ばかりが見つかるのでベストプラクティスをまとめました。 この記事は「詳細解説 jqコマンドとシェルスクリプトの簡単で正しい使い方 〜 データの流れを制するUNIX哲学流シェルプログラミング」の要約版です。詳しい解説やもう少し高度な使い方を知りたい方、シェルスクリプトの考え方についてはリンク先を参照してください。リンク先は長すぎたので、こちらはとりあえず使いたい人用に簡潔にまとめました。(あと、いつも qiita を使っているので zenn を使ってみたかった) 👎 ダメな書き方 よく見かける書き方ですが、コードの見通しが悪く、メンテナンス性が低く、パフォーマンスが(かなり)悪く、特定の場合に不具合が発生する書き方です。 for item in $(jq -c '.items[]'

                                                                                jqコマンドとシェルスクリプトの上手い速い使い方
                                                                              • Forking Chrome to render in a terminal - Fathy Boundjadj

                                                                                Forking Chrome to render in a terminal January 27, 2023 I wrote about forking Chrome to turn HTML to SVG two months ago, today we're going to do something similar by making it render into a terminal. Let me introduce you to the Carbonyl web browser! Drawing There isn't much you can draw in a terminal, you're guaranteed to be able to render monospace characters in a fixed grid, and that's it. Escap

                                                                                • GitHub - rothgar/mastering-zsh: Advanced topics to take advantage of zsh 👩‍💻👨‍💻

                                                                                  If you're already using zsh or want to start this tutorial will help you understand how zsh works and how you can customize it to your needs. We won't go into every feature of zsh (read the man pages for that). Did you know zsh has a built in ftp client and calendar? Instead we will focus on functions of zsh that improve your productivity and help you get more out of your shell. We also will not b

                                                                                    GitHub - rothgar/mastering-zsh: Advanced topics to take advantage of zsh 👩‍💻👨‍💻