Mac OS XやLinux, FreeBSDといったUNIX系オペレーティングシステムを操作する場合に必要なシェルスクリプト。本書では, とくにユーザ数の多い, bash/zsh/tcshに絞り, それぞれの特徴を解説します。さらに, コピーしてそのまま使える設定ファイルを用意してい ...
シェルオプションの現在の状態を得るには、bashの組み込みコマンドであるshoptを使う。何もオプションを指定せずにshoptコマンドを実行すると、現在のシェルオプションすべての状態を表示する。また、シェルオプション・キーワードを引数として指定すれ ...
If you write a bash script that nobody else can understand, you're going to own that thing for the rest of your life too. Perl is really your answer here. They don't call it "the Swiss army chainsaw" ...
Bash scripting is a powerful tool for automating tasks on Linux and Unix-like systems. While it's well-known for managing file and process operations, arithmetic operations, such as division, play a ...
10月に入り、 9月までに起こったことをざっと振り返るというお題がどこかから聞こえてきたので、 「⁠じゃあ……」 と ...
多くのUNIXおよびLinuxのユーザーに利用されている「Bourne Again SHell(Bash)」に重大なセキュリティホールが発見された。このセキュリティホールはBashによる環境変数の評価方法に起因している。ハッカーは特別に作成した変数を用いてセキュリティホールを ...
Decimals to Roman numerals—here we hit all the limitations of Bash shell scripting. My last few articles have given me a chance to relive my undergraduate computer science degree and code a Roman ...
LinuxなどのUNIX系OSで標準的に使われているシェル「bash」に極めて重大な脆弱性が見つかり、9月24日に修正パッチが公開された。攻撃者がbashにコマンドを送って任意のコードを実行できる可能性が指摘されており、米セキュリティ機関のSANS Internet Storm Center ...