摘要:
Advanced Bash-Scripting Guide:PrevNextChapter 2. Starting Off With a Sha-BangShell programming is a 1950s juke box . . .--Larry WallTable of Contents2.1.Invoking the script2.2.Preliminary ExercisesIn the simplest case, a script is nothing more than a list of system commands stored in a file. At the 阅读全文
摘要:
A working knowledge of shell scripting is essential to anyone wishing to become reasonably proficient at system administration, even if they do not anticipate ever having to actually write a script. Consider that as a Linux machine boots up, it executes the shell scripts in/etc/rc.dto restore the sy 阅读全文
摘要:
The shell is a command interpreter. More than just the insulating layer between the operating system kernel and the user, it's also a fairly powerful programming language. A shell program, called ascript, is an easy-to-use tool for building applications by"gluing together"system calls, 阅读全文