I’m going to go ahead and admit it: I really have too many tray icons. You know the ones. They sit on your taskbar, perhaps doing something in the background or, at least, giving you fingertip access ...
Linux offers a couple of easy ways to record commands you type so that you can review or rerun them. Recording the commands that you run on the Linux command line can be useful for two important ...
We often write quick bash scripts and judging by the comments, half of us use bash or a similar shell to pop out quick, useful scripts, and half of us think that’s an abomination, and you should only ...
Windows 10 Anniversary UpdateからサポートしたWSL(Windows Subsystem for Linux)。その結果としてWindows 10上でもBUW(Bash on Ubuntu on Windows)が動作し、各種Linuxコマンドが利用可能になった。本連載ではWSLに関する情報や、Bashから実行するシェルスクリプトを紹介する。 expect ...
※ 『⁠[⁠改訂第3版] シェルスクリプト基本リファレンス』 (⁠技術評論社、 2017⁠)⁠、 前付けおよび第0章 「シェル&シェルスクリプトの基礎知識」 より OSとユーザーとのインターフェースとなる重要プログラムであるシェル (shell⁠)⁠。シェルの ...
前述した処理でlsコマンドに関してもLinuxのlsコマンドが関数として定義されているのだが、「ls」を実行すると次のようにGet-ChildItemコマンドレットの実行結果が出力される。コマンドプロンプトでのdirコマンドの出力に似ている。 なぜこのようなことが ...
Exiting a script and logging out are very different, but sometimes you may need to log out of your Linux system from within a script. Here's how to do it. Most of the time, exiting a script leaves you ...