Command Line Basics Part 2: Intermediate Command Line

Luke Parham

Part two of our new course, Command Line Basics, is ready today! In the second and final part of this course, you’ll move on to a few intermediate topics like customizing your shell, looking at the difference between two versions of a file, and changing file permissions.

Finally, bring your command line skills up to the next level with Bash Scripting, and find out how it can help you automate tedious tasks.

Part 2: Intermediate Command Line

  1. Introduction: In this introduction, get a quick overview of what’s to come in the second half of our course.

  2. Customizing Bash: Get a feel for what it’s like to edit config files in Bash and how you can bend the system to your will.

  3. Diff: Sometimes you need to look at what has changed between two versions of a file. If that’s the case, diff has got you covered!

  4. Challenge: Undoing a Bad Patch: And sometimes you realize you really don’t want the changes that have been made to a given file. Not to worry, the patch command has you covered there too!

  5. File System: After working with the filesystem for so long, it’s good to take a step back and think about what’s really going on. In this video you’ll get an idea of what a file really is.

  6. File Permissions: Now that you’ve seen how files work, it’s time to think about what file permissions are and how you can change them to suit your needs.

  7. Bash Scripting: Tests and Ifs: In this introduction to Bash scripts, you’ll learn how to define variables as well as how to use "tests" and if-statements.

  8. Bash Scripting: Loops and Switches: Next, you’ll learn how to add looping constructs and switch-statements to your bag of tricks.

  9. Bash Scripting: Functions: Finally, we’ll end our tour of Bash by looking at how functions work.

  10. Automating Your Job: Now that you’ve learned the basics, it’s time to test your skills by putting together a script that will make the lives of the designers on your team a little easier.

  11. Challenge: Automating Your Job – Refactoring: In this challenge, you’ll refactor your script a little bit by pulling some functionality out into a re-usable function.

  12. Conclusion: In the conclusion, we’ll recap what we’ve learned in this course, and find out where to go to learn more.

Where To Go From Here?

Want to check out the course? You can watch the course Introduction and Creation & Destruction for free!

The rest of the course is for raywenderlich.com subscribers only. Here’s how you can get access:

  • If you are a raywenderlich.com subscriber: The entire course is ready for you today! You can check out the course here.
  • If you are not a subscriber yet: What are you waiting for? Subscribe now to get access to our new Command Line Basics course and our entire catalog of over 500 videos.

Stay tuned for more new and updated courses to come. I hope you enjoy the course! :]

Team

Each tutorial at www.raywenderlich.com is created by a team of dedicated developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Luke Parham

Luke is currently an iOS developer at Fyusion.

Sometimes he tweets and blogs.

He basically speaks in references so if you catch one be sure to let him know that you too are a man of culture.

Other Items of Interest

Save time.
Learn more with our video courses.

raywenderlich.com Weekly

Sign up to receive the latest tutorials from raywenderlich.com each week, and receive a free epic-length tutorial as a bonus!

Advertise with Us!

PragmaConf 2016 Come check out Alt U

Our Books

Our Team

Video Team

... 27 total!

iOS Team

... 83 total!

Android Team

... 47 total!

Unity Team

... 16 total!

Articles Team

... 4 total!

Resident Authors Team

... 32 total!

Podcast Team

... 4 total!

Recruitment Team

... 8 total!

Illustration Team

... 4 total!