Liknande böcker
bash Cookbook 2e
Bok av Carl Albing
For system administrators, programmers, and end users, shell command or carefully crafted shell script can save you time and effort, or facilitate consistency and repeatability for a variety of common tasks. This cookbook provides more than 300 practical recipes for using bash, the popular Unix shell that enables you to harness and customize the power of any Unix or Linux system.Ideal for new and experienced users alikeincluding proficient Windows users and sysadminsthis updated second edition helps you solve a wide range of problems. Youll learn ways to handle input/output, file manipulation, program execution, administrative tasks, and many other challenges. Each recipe includes one or more scripting examples and a discussion of why the solution works.Youll find recipes for problems including:Standard output and input, and executing commandsShell variables, shell logic, and arithmeticIntermediate shell tools and advanced scriptingSearching for files with find, locate, and slocateWorking with dates and timesCreating shell scripts for various end-user tasksWorking with tasks that require parsingWriting secure shell scriptsConfiguring and customizing bash