欢迎来到天天文库
浏览记录
ID:15396221
大小:5.19 MB
页数:593页
时间:2018-08-03
《bash.teach yourself shell programming for unix in 24》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、SamsTeachYourselfShellProgrammingin24HoursIndexTableofContentsSamsTeachYourselfShellProgrammingin24HoursCopyrightIntroduction●HowThisBookIsOrganized●ConventionsUsedinThisBook●AbouttheAuthor●Dedication●AcknowledgmentsPartIIntroductiontoUNIXandShellToolsHour
2、1:ShellBasics●WhatIsaCommand?●WhatIstheShell?●Summary●Questions●TermsHour2:ScriptBasics●TheUNIXSystem●ShellInitialization●GettingHelp●Summary●Questions●TermsHour3:WorkingwithFiles●ListingFiles●ViewingtheContentofaFile●ManipulatingFiles●Summary●Questions●Te
3、rmsHour4:WorkingWithDirectories●TheDirectoryTree●SwitchingDirectories●ListingFilesandDirectories●ManipulatingDirectories●Summary●QuestionsHour5:ManipulatingFileAttributes●FileTypes●Owners,Groups,andPermissions●Summary●QuestionsHour6:Processes●StartingaProc
4、ess●ListingRunningProcesses●KillingaProcess(killCommand)●ParentandChildProcesses●Summary●Questions●TermsPartIIShellProgrammingHour7:Variables●DefiningVariables●UnsettingVariables●EnvironmentVariables●Summary●Questions●TermsHour8:Substitution●FilenameSubsti
5、tution(Globbing)●VariableSubstitution●CommandandArithmeticSubstitution●Summary●QuestionsHour9:Quoting●QuotingwithBackslashes●UsingSingleQuotes●UsingDoubleQuotes●QuotingRulesandSituations●Summary●Questions●TermsHour10:FlowControl●TheifStatement●ThecaseState
6、ment●Summary●QuestionsHour11:Loops●ThewhileLoop●TheforandselectLoops●LoopControl●Summary●Questions●TermsHour12:Parameters●SpecialVariables●OptionsandArguments●OptionParsinginShellScripts●Conclusion●QuestionsHour13:Input/Output●Output●Input●FileDescriptors●
7、Summary●Questions●TermsHour14:Functions●CreatingandUsingFunctions●SharingDataBetweenFunctions,anExample●Conclusion●QuestionsHour15:TextFilters●TheheadandtailCommands●Usinggrep●CountingWords●Summary●QuestionsHour16:FilteringTextUsingRegularExpressions●TheBa
8、sicsofawkandsed●Usingsed●Summary●QuestionsHour17:FilteringTextwithawk●Whatisawk?●UsingawkFeatures●Summary●Questions●TermsHour18:MiscellaneousTools●TheevalCommand●The:Command●ThetypeCommand●ThesleepCommand●The
此文档下载收益归作者所有