Want to be a Linux pro like me? Master these 8 skills first


linuxpro

Jack Wallen/ZDNET

Follow ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • If you want to master Linux, you need to know these things.
  • Some of what you need to know is simple, but some is complex.
  • Don’t just learn these aspects; master them.

I’ve been using Linux since 1997, and my journey has been somewhat different from most. When I started, Linux was hard, and I mean hard. Every single thing I did on the operating system seemed like a challenge. During those early years, I worked tirelessly to learn the OS (because I didn’t have a choice, as Linux was the only OS I had and couldn’t afford to purchase another computer or a copy of Windows). 

As the years passed, Linux improved until it became easy enough for anyone to use. Because of that boost, I was able to stop using some of the skills I had learned over the years, and I became a bit lazy with the OS.

Also: This is my favorite Linux distro of all time – and I’ve tried them all

Every once in a while, however, I have to go back to those unused skills, dust them off, and either relearn or bone up on them.

So, what are those skills? They are the elements I think are an absolute must for anyone looking to become a Linux pro. 

1. The command line

Although Linux can be used without the command line now (which is a testament to the work put in by developers everywhere), if you really want to master the open-source OS, you’re going to have to not only learn the command line (CLI) but also reach the point where it is second nature. You should start with this list of eight commands that every Linux user should know and go from there.

Yes, you can use Linux without the command line, but if you really want to unleash its full potential, the CLI is a must. By using the command line, you can tap into power that the GUI does not offer. You also need to learn how to chain commands together, direct output, and more. 

Also: 7 Linux commands I can’t live without after 20 years in the terminal

And don’t think you can get by with commands like cd, rm, ls, mkdir, etc. You’ll need to get your fingers dirty with sed, iptables, dd, awk, and more. 

2. Regular expressions

Speaking of challenging commands, you’re going to need to learn regular expressions. I’ll warn you: regular expressions (aka regex) are not easy. When you first start down the rabbit hole with regex, it’s going to look like a bunch of gobbledegook comprised of random characters. But there’s actually a method to that madness.

Also: 5 Linux commands I use to keep my device running smoothly

I’m not gonna lie, regex is a pain to master, and I cannot say that I ever truly got it down to the point where I could hammer out some crazy-long regular expression without my brain tripping over itself. 

It doesn’t help that it’s been a long time since I’ve even had to use regular expressions. However, use it or lose it.

3. User and group permissions

Permissions are a critical component of Linux mastery. Both user and group permissions (as well as ownership) allow you to control who has access to what on your system hierarchy, so this is a skill that you should learn right out of the gate.

Also: 5 Linux commands for managing users

By learning user and group permissions, you can better contain malware and system breaches, control multi-user access, be better prepared to administer a system, and make file access more efficient and secure.

4. Package management

Yes, Linux has some amazing package managers with even more amazing front-end GUIs. You could go decades on Linux without touching the command line to install software. The thing is, if you want to be a pro, you’re going to have to learn how to use those package managers from the CLI.

Notice that I didn’t say ‘package manager?’ I used the plural, as in, “You’re going to need to learn all of the package managers.” APT, DNF, pacman, Zypper, deb, rpm, and more. 

Some day, you’ll need to install or troubleshoot software on a server, and that means you won’t have the GUI available.

Also: 8 Zorin OS settings I change on every new install – and why you should, too

If you’re happy being an end user, don’t worry about this capability. But if your goal is to be considered a Linux pro, learning the ins and outs of every package manager is a must.

5. Process management and system monitoring

At some point, a process will hang, and you’ll need to learn how to track it down and manage it. To do that task, you’ll need to learn system monitoring (to know if/when a process is causing problems) and process management (to stop, start, restart, or kill a rogue process). 

Also: 8 most Windows-like Linux distros – if you’re ready to ditch Microsoft

This capability means you’ll need to learn commands like ps, top, htop, grep, pgrep, pstree, pidof, and more. Sure, you can use a GUI for much of this work, but when a GUI isn’t available (or you need more power and flexibility than a GUI offers), you’ll need to have mastered these skills.

6. Logs

Knowing which logs to view, where they are, how to view them, and what they mean is key to mastering Linux. Logs are a crucial element of troubleshooting and your best way of keeping a Linux system running smoothly.

Your best friends will be found in /var/logs, so you want to scour that directory and understand what’s in there. I tend to go straight to viewing logs when a system shows signs of trouble, and one of the best tools for that step is the tail command. Learn that command and make use of it.

7. Bash scripts

Bash scripts are an amazing tool in Linux for automating tasks. You can create bash scripts for automated backups, tests, and so much more. In fact, bash scripts are only limited by your imagination. 

Also: How to create a Linux bash script – and what you can do with it

If there’s something you need to do on Linux, chances are that you can do it with a bash script. Bash scripts can be as simple as a single command or as complex as a hundred-line script. 

Just remember, every Linux bash script starts with a shebang line — #!/bin/bash.

8. Networking

Effective networking isn’t just about making sure your computer is connected to the internet; it’s also about ensuring you’re using proper routes, optimizing the system, using multiple NICs for different zones, understanding firewalls, and much more. For example, in Ubuntu-based distributions, you need to learn netplan, whereas in Red Hat-based distributions, you should learn nmtui.

Apart from regular expressions, this area is one of the more complex aspects of mastering Linux because it comprises many pieces.

Also: How I speed up my Linux system for free while RAM prices are out of control

However, if you master these eight elements of Linux, you can consider yourself a pro.





Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


What streaming platform do you think of when you hear the term “comfort shows?” There are plenty of great comfort shows over on Netflix, or maybe available with an HBO Max subscription. But for me, I always think of Peacock.

With a Peacock subscription, there are so many options for classic comfort shows that will no doubt make your day—and provide you with that comfy need that we all so desperately crave. Here are seven that you must check out.

The Office

A classic comedy

Dwight in The Office. Credit: NBC

I mean, you knew it was going to be on here, don’t lie.​​​​​​​

The Office was a nine-season sitcom that took the world by storm. Starring Steve Carell as Michael Scott, this iconic workplace comedy follows the professional and personal lives of workers at a paper company in Scranton, Pennsylvania.

I think The Office is a show that defines the word “comfort.” Anytime I ask people what they usually put on in the background, The Office is always the first choice because it’s easy to follow, has characters you want to root for, and is so freaking funny (even if some of those jokes have not aged well all these years later). It’s certainly worth a shot

Parks And Recreation

Amy Poehler is the best

Amy Poehler in Parks and Recreation speaking to a camera Credit: NBC

Another great comfort show that also happens to come from the same developer of the U.S. version of The Office (the wonderful Greg Daniels), Parks and Recreation is a sitcom mainly about Leslie Knope, a mid-level bureaucrat who is trying to improve her home in the fictional town of Pawnee, Indiana, in the Parks and Recreation department.

The series is extremely well-received and has some huge stars attached, including Amy Poehler, Aziz Ansari, Nick Offerman, Adam Scott, Chris Pratt, Aubrey Plaza, and more. With seven seasons and one hundred and twenty-six episodes, you’re in for a long binge.​​​​​​​

Brooklyn Nine-Nine

The laughs go on and on

b99.jpg
Andy dressed asAndy Samberg as Jake Peralta with his arm around Eva Longoria as Sophia Perez in Brooklyn Nine-Nine

Brooklyn Nine-Nine is one of those shows that I think everyone has seen at least one episode of, just because it’s so funny. The main premise of the series follows the lives of police officers, detectives, and others in a fictional police precinct in New York, specifically in Brooklyn.

This series was a hit for NBC, and while it did move to another streaming platform towards the end of its run, it is a beloved comedy perfect for a weekend of comfy watching. Not only that, but the stars—Andy Samberg, Terry Crews, and more—have some of the best chemistry out there and will, no doubt, make you laugh out loud.

Everybody Loves Raymond

Who doesn’t love an Italian Long Island-er?

Ray Romano in Everybody Loves Raymond Credit: CBS

You better believe I put Everybody Loves Raymond on here—because everyone loves it!

This late 1990s-early 2000s sitcom stars Ray Romano as Ray Barone, an Italian-American who lives on Long Island and has made it as a successful sports writer. It tells the story of his family and how he deals with the drama, juggling his wife, his neighbors, and more.​​​​​​​


The Simpsons on Disney+ on a 4K TV in a green living room.


The 5 Most Popular Comfort Shows and Where to Stream Them

Switch on these shows when you want to switch off.

I genuinely cannot think of another television show I have seen more often over the last couple of decades than this, and the number of reruns is astronomical. With nine seasons, Everybody Loves Raymond is the type of binge you don’t want to miss.​​​​​​​

Modern Family

A series anyone can relate to

Claire and Phil Dunphy in Modern Family Credit: ABC

Now this is my kind of comfort show. Modern Family—and all eleven of its seasons—is available to stream on Peacock.

This groundbreaking sitcom tells the stories of three diverse families in the suburbs of Los Angeles and how their lives intersect. But it’s so much more than that. The comedy is hysterical, and yet each episode finds a new way to tug at your heartstrings.

Not only that, but it’s also just a genuinely relatable show for modern-day parents, and I’m not just saying that because of the name. It touches on both funny topics and social issues, making it a really well-done series. There’s a reason why there were so many Emmys thrown at this series.

That ‘70s Show

So much smoke—and friends!

Topher Grace on That '70s Show. Credit: Fox

For some reason, That ‘70s Show was the series I was obsessed with as a kid. And honestly, it’s a vibe, even now. The series mainly follows six teenagers in Wisconsin between 1976 and 1979 as they come of age, experience growing pains, and learn to come into their own while also smoking the devil’s lettuce, if you know what I mean.

On a real note, That ‘70s Show is a hilarious series with great performances from Topher Grace, Mila Kunis, Ashton Kutcher, Wilmer Valderrama, and so many more. This series has been with me on my good days and bad, and while its little successor, That ‘90s Show, on Netflix is a fun one, nothing compares to the original. You’re missing out if haven’t had the chance to sit down and watch the whole show.

Saturday Night Live

Laughs and more

Bill Hader and Ben Affleck in Saturday Night Live Credit: NBC

OK, so hear me out.

I know, when it comes to comfort shows, we honestly do think sitcoms are cute, but I think Saturday Night Live falls into that category. Why? Because it’s one of those shows that you can put on in the background and just chill.

It’s not something that’s heavily serialized or has any real plot to follow. It’s just funny sketches and enjoyable music performances. That’s it. And with the number of seasons that are available to watch on Peacock, you can’t really get better than this.


Peacock is such a great subscription service, and honestly, it just makes me want to rewatch each of these awesome shows. What are you looking forward to watching on a comfy weekend?

peacock thumbnail

Subscription with ads

Yes, $8/month

Simultaneous streams

3




Source link