Drastically improve your speed on the Linux Commandline
4.2 (15 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
253 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Drastically improve your speed on the Linux Commandline to your Wishlist.

Add to Wishlist

Drastically improve your speed on the Linux Commandline

Become much faster and more productive on the linux terminal while saving your hands and wrists from unnecessary strain.
4.2 (15 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
253 students enrolled
Created by Samuel Lampa
Last updated 10/2014
English
Current price: $10 Original price: $30 Discount: 67% off
30-Day Money-Back Guarantee
Includes:
  • 1.5 hours on-demand video
  • 1 Article
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • By following and implementing these techniques, you will be able to dramatically increase your efficiency while working on the command-line.
View Curriculum
Requirements
  • Basic familiarity with the linux command-line, the bash shell, the most used linux commands, and a command-line text-editor.
Description
  • More than 15 minutes of free preview material available below!
  • Full 30-day money back guarantee (no questions asked!)

Who is this course for?

Are you an occasional user of the linux terminal or just learned it, and wondering how some people can be almost flying around on the command line, navigating around the file system, switching between applications, browsing and finding files and content etc, while you yourself is just fully occupied with all the tedious typing?

Or are you using the command line quite a lot, but feeling that your usage gives you strain in your wrists, and wondering how you can minimize strain in hands and wrists, so that those very important body parts can stay healthy and usable for many years to come?

Then this course is for you!

Why did I create this course?

The creator of this course course spent years as a systems administrator at a super computing center in Sweden where he spent most of his time in the terminal. The author had a special interest in finding out the top techniques that with the least effort can give the biggest saving in time, and started implementing these techniques over the years.

All these years of hard-learned techniques are now distilled into this compact course, so that anyone with basic familiarity with the terminal get to the productivity and efficiency like a professional linux sysadmin!

What previous skills are required?

The course starts from a fairly basic level (you need to know how to execute some basic commands), and goes up to a rather advanced level, about using tools such as screen to manage multiple windows in the command line, and all the steps build consequently on each other. This means that regardless of your existing skill level, chances are high that you can chime in at a suitable place in the course, and start gaining new knowledge by working your way forward.

Finally, remember that you have a full 30 days money-back guarantee - no questions asked - so if you (against our conviction) find that the course does not live up to the promises, you can always return it within 30 days, and get your money back!

This means, we have made everything we can to ensure that you can confidently enroll in the course right away, and be sure not to be dissatisfied!

Kind Regards
Samuel Lampa, Linux Systems Administrator and Developer

Who is the target audience?
  • This course is primarily aimed at developers and system administrators (hobby or profession) spending a lot of their time on the command-line
  • The course can potentially be useful for anyone using the Linux or Mac command-line from time to time.
Curriculum For This Course
Expand All 21 Lectures Collapse All 21 Lectures 01:29:48
+
Introduction
2 Lectures 03:34

This video goes through a few basic things that might be good to know about, before starting the course, such as what the prerequisites are, and a few hints on how to most successfully learn the content of the course.

Preview 03:07

A few notes on the text editor used in the course, and what alternatives you typically have to choose from.

A note on command-line text editors
00:27
+
Basics of using the command-line effectively
4 Lectures 15:53

This video shows some basic ways you can use linux commands such as ls and less to get hold on the last edited file in a folder, or scroll and search the output of other commands.

List files and browse command output with ease
06:01

Being able to re-use commands you have already executed, is fundamental to becoming more efficient on the command-line. This video shows the few basic techniques to do that: By using the up-key in the terminal, bu using the reverse-interactive search, and by using the history command.

Re-using previous commands
04:19

When re-using previous commands, you often need to make small changes or modifications in the command. If the command is really long, that can be a rather tedious task, just by needing to wait for the marker to make it's way through the command. This video shows how you can use keyboard shortcuts to quickly jump to the start and end of the command, as well as between words and terms, to make this process much faster.

Use shortcuts to quickly navigate previous commands
01:09

Avoiding duplication, is paramount to becoming more efficient on the command-line, so anything that let's us run one command multiple times rather than executing the same command manually multiple times, will save us a lot of time. This video shows how you can use piping and the xargs command, as well as for loops, to repeat the same command for multiple items such as files or lines in a file.

Repeat the same command for many files or lines with xargs and for loops
04:24
+
Super-charge your command-line speed using bash aliases and functions
4 Lectures 19:29

Aliases and functions are really powerful features in the linux bash terminal emulator, that let's you save long and tedious-to-type commands in much shorter versions. (For the most common commands you might even use just one or two letter commands). This is in the author's experience one of the most powerful ways to avoid excess keystrokes, and thus save your hands and wrists from unneccessary strain, and also make you faster.

Preview 03:20

In order to not hesitate to create new aliases, we need to make the very process of creating aliases, as smooth as possible, so that we should never think twice about adding an alias for a command that we find tedious to type. In this video we show how you can do just that.

Bootstrap yourself: Aliases for creating aliases
06:07

When trying to save time by using aliases, it is important to choose the right commands to alias, so that you get maximum reward for the effort to create an alias for it. To do this, we need data - that is, data about what commands you have typed the most. This video shows how you can extract that data by just a single line command on the linux terminal, and to save that command as an alias as well, of course.

Finding out which commands you run most often
03:34

This video goes over a few of the author's favorite aliases and functions, just to give some inspiration for things you can do, and get your own creative ideas going. You will surely come up with aliases and functions that works way better for your use case!

A few examples of useful aliases and functions
06:28
+
Save and restore your remote command-line environments by using screen
5 Lectures 21:55

This video just quickly demonstrates some basic things you can do with the screen utility in linux, without explaining too much how to do that (that comes in the subsequent videos).

Preview 02:55

This video shows how to create multiple screen sessions (named and unnamed), how to detach from a screen session, rename it, and terminate it.

Working with screen sessions (Creating, Detaching from, Resuming)
03:23

This video shows how you can use multiple windows inside a screen session, to quickly jump between multiple context / folders et.c. It goes over how to create, rename, switch between, and kill windows inside a screen session.

Working with screen windows (Creating, Switching between, Killing)
07:58

In this video we go through how you can split screen windows into multiple regions, so you can have multple windows visible at the same time, inside a screen session.

Splitting and resizing windows in screen
06:12

The commands and flag combinations for working with screen might feel a bit tedious if you are using screen all the time. This video demonstrates the author's favorite aliases, for 1. creating a named screen session, 2. listing available screen session, and 3. resuming an existing screen session.

A few aliases for working with screen
01:27
+
Learn a productive text-editor: A brief introduction to Vim
4 Lectures 20:50

A full coverage of the vim text editor is outside the scope of this course, but in this section we will briefly touch on the topic, point you to the best learning resource for quickly getting up to speed with vim, and show some of the author's favorite configurations, to increase productivity in vim even more.

This first video provides a quick introduction to the vim text editor, one of the most productive text editors out there, once you have learned some of the basic commands of it. In this particular video, we just try to quickly demonstrate some vim commands, to give you an idea of how vim might make you more productive.

Preview 05:37

As a systems administrator, you might sometimes run into a linux box where the only available text editor is vim, or even vi. To be able to cope such a situation, it is good to know at least the very basic commands in vim, so that you can at least make minor changes in files, save the changes, and quit from vim. This video shows you how to do that.

"Emergency" set of vim commands
05:54

The absolute most time-efficient way to quickly get up to speed with the basic vim commands, is undoubtedly the vimtutor command. It will, in the coarse of 25-30 minutes, guide you through the 10-15 basic commands that you need to feel at home in vim, and which will provide an excellent foundation for starting to learn more commands, in your own pace.

Use the vimtutor command
01:33

This video shows a few examples on how you can improve the productivity while working in vim even more by remapping some key combinations, to make up for some movements and actions that you do very often.

Save your most-often used movements as custom commands
07:46
+
Addendum: Some other powerful techniques (more might be added in the future)
1 Lecture 05:13

This video shows the basic usage of the terminator terminal manager. Terminator can be really useful as a complement to completely in-terminal window manager such as screen (or tmux), in that it is better integrated with the desktop graphical user interface. Additionally it is very useful if you work a lot on remote servers, as you can then have a different terminal manager locally than remotely, avoiding clashes of keyboard shortcuts, (something that would be a problem if you use a remote screen session inside a local screen session).

Manage multiple terminals locally using terminator
05:13
+
Wrapping up
1 Lecture 02:53

This video gives a few final remarks, such as pointing you to where you can find more information on the topic covered in this course.

Wrapping up and final thoughts
02:53
About the Instructor
Samuel Lampa
4.2 Average rating
15 Reviews
253 Students
1 Course
PhD Student at Uppsala University

Samuel has a M.Sc. in Molecular Biotechnology Engineering from Uppsala University and has been working the last couple of years as a systems administrator and developer at UPPMAX super computing center at Uppsala University, developing infrastructure for Life Sciences research and computation.

Samuel has a track record as a front end web and graphic designer, who subsequently became a full stack web developer, linux systems administrator, and research software developer.

Samuel is also is a long-time hobby musician on the piano and pipe organ, with a specialty in improvising and composing music in the classical genre.