今回は、bashが標準的に利用するシェル変数を解説する。bashは、コマンドラインを制御するためのシェルであると同時にスクリプト作成のためのプログラミング言語でもある。シェル変数とは、bashという言語が持つ変数を指す。 変数なので、ユーザーが自由 ...
Linuxでシェルスクリプトと言うと「/bin/sh」が使われていることが多い。この「/bin/sh」、見た目は同じでもその実態は、実は ...
Are you currently learning Bash? Have you seen things like $0 and $EUID and wondered what they mean? Or what the difference is between $UID and $EUID? I'll cover ...
Typically we interact with the Linux operating system through what is referred to as a shell interpreter. A common interpreter is the Bourne Again Shell, which people call by the catchy name of bash ...
This post follows up on Part 1 by examining the many ways that you can test the value of variables – e.g., whether they equal particular strings like “yes” or “no”, if they have a numeric value, if ...