您好,欢迎光临本网站![请登录][注册会员]  
文件名称: The Command Line Crash Course.pdf
  所属分类: 其它
  开发工具:
  文件大小: 288kb
  下载次数: 0
  上传时间: 2019-09-03
  提 供 者: m0_37******
 详细说明:该书由Zed A.Shaw所写,能帮助你在最短的时间内了解命令行,其中linux,mac os,windows多种系统都有介绍。Contents 0.1 How To Use this book 0.2 You Will Be Memorizing Things 0.3 License 0.4 Thanks 1 The setup 1.1 Do This 1.1.1 Mac osX 112233334 11.2 Linux 1.1.3 Windows.,,,,,,, 1.2 You learned this 1.3 Do More 4 1.3.1 Linux/Mac osX 4 1.3.2 Windows 2 Paths, Folders, Directories (pwd) 2.1 Do This 2.2 You learned this 2.3 Do More 3 What's Your Computer's Name?(hostname) 3.1 Do This 3.2 You learned this 9999 3.3 Do More Directories 11 4 Make A Directory (mkdir) 4.1 Do This 13 4.2 You learned this ·:·:·· ,,,,14 4.3 Do More 14 5 Change Directory(cd) 5.1 Do This 5.2 You learned this 5.3 Do More.,,,,,,,,,,,,,,,, 18 6 List Directory (ls) 6.1 Do This 19 6.2 You learned this ,,,22 6.3 Do More 7 Remove Directory (rmdir) 23 7.1 Do This 23 7.2 You learned this ,,25 7.3 Do More 25 CONTENTS 8 Moving Around (pushd, popd) 27 8.1 Do This ,,27 8.2 You learned this 29 8.3 Do More 2 II Files 31 9 Making Empty Files (Touch, New-Item) 33 9.1 Do This ··· 9.2 You Learned this ,,,33 9.3 Do More ,,,34 10 Copy A File(cp) 35 10. 1 Do This 35 10.2 You Learned this ,,,,,37 10.3 Do More 37 11 Moving A File (mv) 11.1 Do This 39 11.2 You Learned this 40 11.3 Do More ,41 12 View A File (less, MORE) 12.1 Do This 43 12.2 You Learned this 44 12.3 Do More 44 13 Stream A File(cat) 13.1 Do This 13.2 You learned this ,,,,,46 13.3 Do More 46 14 Removing a File(rm) 14.1 Do This 14.2 You learned this 14.3 Do More 15 Pipes And redirection 49 15.1 Do This ·· 15.2 You learned this 50 15.3 Do More ,,,50 16 Wildcard Matching 51 16.1 Do This,,,,, 51 16.2 You learned this ,,,,,,,,,,,52 16.3 Do More 52 III Searching 53 17 Finding Files (find, DIR-R) 55 17.1 Do This ,,,,,,,,,,55 17.2 You Learned this ··· 55 17.3 Do More 56 18 Looking Inside Files(grep, select-string) 57 18.1 Do This ·鲁·非· 57 18.2 You learned this ,,,,,58 18.3 Do More 59 CONTENTS Iv Hel p 61 19 Getting Command Help(man, HELP) 63 19.1 Do This 63 19.2 You Learned this ·非 ,,,63 19.3 Do More .63 20 Finding Help(apropos, HELP) 20.1 Do This 65 20.2 You Learned this 65 20.3 Do More .65 V Sessions 67 21 What's In Your Environment(env, echo, Env: 69 21.1 Do This 69 21.2 You Learned this .,,70 21.3 Do More 70 22 Changing Environment variables (export, Env 71 22.1 Do This 22.2 You Learned this 72 22.3 DO More 23 Exiting Your Terminal(exit) 23.1 Do Thi 73 23.2 You Learned this 73 23.3 Do More 73 VI Epilogue 75 24 Next Steps 24.1 Unix Bash References 24.2 PowerShell references 24.3 Go Forth CONTENT Preface I wrote this book really quickly as a way to bootstrap students for my other books. Many students don't know how to use the basics of the command line interface, and it was getting in the way of their learning. This book is designed to be something they can complete in about a day to a week and then get enough skill at the command line to graduate to other books This book isn't a book about master wizardry system administration. It's just a quick introduction to get newbies going CONTENT Introduction: Shut Up And Shell This book is a crash course in using the command line to make your computer perform tasks. As a crash course it's not as detailed or extensive as my other books. It is simply designed to get you barely capable enough to start using your computer like a real programmer does. When you're done with this book, you will be able to give most of the basic commands that every shell user touches every day. You'll understand the basics of directories and a few other concepts The only piece of advice I am going to give you is this Shut up and type all of this in Sorry to be mean, but that's what you have to do. If you have an irrational fear of the command line, the only way to conquer an irrational fear is to just shut up and fight through it You are not going to destroy your computer. You are not going to be thrown into some jail at the bottom of Microsofts Redmond campus. Your friends won,'t laugh at you for being a nerd. Simply ignore any stupid weird reasons you have for fearing the command line Why Because if you want to learn to code, then you must learn this. Programming languages are advanced ways to control your computer with language. The command line is the baby little brother of programming languages. Learning the command line teaches you to control the computer using language. Once you get past that, you can then move on to writing code and feeling like you actually own the hunk of metal you just bought 0.1 How To Use This book The best way to use this book is to do the following 1. Get yourself a small paper notebook and a pen 2. Start at the beginning of the book and do each exercise exactly as you're told 3. When you read something that doesn't make sense or that you don't understand, write it down in your notebook. Leave a little space so you can write an answer. 4. After you finish an exercise, go back through your notebook and review the questions you have. Try to an- swer them by searching online and asking friends who might know the answer. Email me at helplearncodethehare and I'll help you too Just keep going through this process of doing an exercise, writing down questions you have, then going back through and answering the questions you can. By the time you're done, you'll actually know a lot more than you think about using the command line 0.2 You will Be Memorizing Things I'm warning you ahead of time that I' m going to make you memorize things right away. This is the quickest way to get you capable at something, but for some people memorization is painful. Just fight through it and do it CONTENT anyway. Memorization is an important skill in learning things, so you should get over your fear of it Here' s how you memorize things 1. Tell yourself you will do it. don't try to find tricks or easy ways out of it, just sit down and do it. 2. Write what you want to memorize on some index cards. Put one half of what you need to learn on one side, then another half on the other side 3. Every day for about 15-30 minutes, drill yourself on the index cards, trying to recall each one. Put any cards you don't get right into a different pile, just drill those cards until you get bored, then try the whole deck and see if you improve 4. Before you go to bed, drill just the cards you got wrong for about 5 minutes, then go to sleep There's other techniques, like you can write what you need to learn on a sheet of paper, laminate it, then stick it to the wall of your shower. While you're bathing drill the knowledge without looking, and when you get stuck glance at it to refresh your memory. If you do this every day, you should be able to memorize most things i tell you to memorize in about a week to a month. Once you do, nearly everything else becomes easier and intuitive, which is the purpose of memorization It's not to teach you abstract concepts, but rather to ingrain the basics so that they are intuitive and you don't have to think about them. Once you've memorized these basics they stop being speed bumps preventing you from learning more advanced abstract concepts 0.3 License I(Zed A Shaw)own the copyright on this book. You are free to give it to anyone you want, as long as you don't modify it and you don't make any money from the distribution of the book 0.4 Thanks Thanks to Lauren Buchsbaum for editing this book and providing me with feedback. Also thanks to the many students who read the book and provided feedback
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 输入关键字,在本站1000多万海量源码库中尽情搜索: