多くのUNIXおよびLinuxのユーザーに利用されている「Bourne Again SHell(Bash)」に重大なセキュリティホールが発見された。このセキュリティホールはBashによる環境変数の評価方法に起因している。ハッカーは特別に作成した変数を用いてセキュリティホールを ...
Windows 10 Anniversary UpdateからサポートしたWindows Subsystem for Linux(WSL)。その結果としてWindows 10上でもBashを始めとするLinuxコマンドが利用可能になった。本連載ではWSLに関する情報や、Bashから実行するシェルスクリプトを紹介する。 PowerShellコマンドレットを ...
and only files matching my_test_here would make it onto do_something. I love the while-read pattern, but it just doesn't feel right that there's no simpler, built-in, idiomatic way to write a function ...
シェル (bash)がWindowsネイティブで動作する「Bash (on Ubuntu) on Windows」が話題だが、我らがOS Xでは特別な対策なしにシェルを利用できる。
Windows 10 Anniversary UpdateからサポートしたWindows Subsystem for Linux(WSL)。その結果としてWindows 10上でもBashを始めとするLinuxコマンドが利用可能になった。本連載ではWSLに関する情報や、Bashから実行するシェルスクリプトを紹介する。 PowerShellコマンドレットを ...
Microsoftは2016年、LinuxベンダーCanonicalとの協力により、LinuxなどUNIX系OSのシェル「Bash」をWindowsに移植した。WindowsでBashを使えるようになったことで、開発者やインフラエンジニアがLinux向けに開発するコードをWindowsでも使用できるようになった。 Windowsで、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 ...
Even if you're already familiar with the printf command, if you got your information via "man printf" you may be missing a couple of useful features that are provided by bash's built-in version of the ...