Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linux Tutorial - Master The Command Line
Rating: 4.0 out of 5(6 ratings)
1,162 students

Linux Tutorial - Master The Command Line

Become a Linux Command Line Expert - From Beginner to Advanced Techniques
Last updated 1/2023
English
English [Auto],

What you'll learn

  • How to install Ubuntu Linux on VirtualBox in Windows
  • Basic Linux commands such as "ls", "cd", "mkdir", "rmdir", "touch", "cat", "rm", "cp", and "mv"
  • Advanced topics like file permissions, user and group management, network troubleshooting, network utilities, secure file transfer, and system monitoring
  • Network utilities such as "ifconfig", "ip", "whois", "nslookup", and "wget"
  • Secure file transfer with "ssh" and "scp"
  • System monitoring tools like "uptime", "ps", "top", and "kill"
  • How to use the "nl", "chage", and "passwd" commands

Course content

1 section45 lectures7h 57m total length
  • Introduction24:40

    Launch a linux setup using VirtualBox to install Ubuntu; this video guides downloading VirtualBox, creating a Linux VM, mounting the Ubuntu ISO, and completing Ubuntu installation with user credentials.

  • Ls Command in Linux13:24

    Learn the ls command to list directory contents, use -l for long format, -h for human-readable sizes, and -a for hidden files, while understanding permissions, owner, and modification times.

  • cd Command8:13

    Master the cd command to change directories, using absolute and relative paths from home to desktop or documents. Verify with pwd and explore directory contents with ls.

  • mkdir Command16:44

    Learn to use mkdir to create directories and nested structures in linux, with examples like university and linux networking, and options -v, -p, and -m for verbosity, parents, and permissions.

  • rmdir Command9:41

    Learn how to remove directories in linux with rmdir for empty folders, handle non-empty errors, and use rm -rf for recursive deletion; also create nested dirs with mkdir -p.

  • touch Command8:05

    Master the touch command to create single or multiple files in Linux, and use -a to copy access times and -m to change modification times, viewing results with ls -l.

  • cat Command9:47

    Learn to use the cat command to create, read, and merge files, append content with redirection, and view line numbers with -n and end-of-line markers with -e.

  • rm Command9:38

    Learn how to remove files and directories using the rm command, with options like -f, -i, -v, -r, and -d to control prompts, recursion, verbosity, and empty-directory deletion.

  • cp Command11:03

    Learn to use the cp command to copy files and directories, including overwriting behavior, interactive prompts with -i, and recursive copying with -r.

  • mv Command9:42

    Learn how to use the mv command to move files and directories, rename items, and handle overwrites with the -i option in a Linux terminal.

  • test0:36

    Take the Linux tutorial test with 15 questions, and earn one point for each correct answer. A link to the form is provided in the video description.

  • zip Command8:45

    Learn how to use the zip command to compress files and directories in Linux, create and update zip archives, add multiple files, and encrypt them with a password.

  • unzip Command8:27

    Learn the unzip command to extract files from zip archives, including using -d to target a directory and -q or -l for quiet or listing.

  • Permissions Command15:52

    Master Linux permissions by learning how read, write, and execute control access for user, group, and others, and how to apply numeric representations to set these rights.

  • chmod Command19:26

    Explore the chmod command to change file and directory permissions for user, group, and others. Learn both symbolic and octal representations, including read, write, execute, and special bits like setuid.

  • useradd - adduser command30:40

    Learn to create Linux users with sudo and useradd, including root versus normal users, the pseudo command, and how UID, GID, home directories, and /etc/passwd and /etc/shadow store data.

  • Groupadd command9:52

    Learn to create and manage linux groups with groupadd, naming groups like developers and marketing, and assign permissions by role using sudo and the -g and -f options.

  • Usermod Part 116:25

    Use the usermod command to add users to groups and understand primary and secondary groups, with a walkthrough on creating groups, creating users, and verifying memberships.

  • Usermod Part 211:04

    Learn to manage linux users with add user and usermod. Create users, add comments, change uid and username, set expiry with -e, and lock or unlock accounts.

  • Head Command5:23

    Discover how the head command prints the starting content of text files, defaults to the first ten lines, and uses -n or -c to limit lines or bytes.

  • Tail Command6:26

    Master the tail command to read the last ten lines or specific bytes from log files, and monitor updates in real time with tail -f.

  • Chown Command8:58

    Learn the chown command to change file ownership, demonstrated with root and a user named Avinash. Verify access with ls -l and use verbose options to confirm ownership transfer.

  • Chgrp Command9:41

    Learn how the chgrp command changes a file's group ownership, set up a developer group, add users, and grant group permissions to enable shared file access.

  • ping Command6:07

    Learn how to use the ping command to check whether a host is reachable, understand icmp echo requests and responses, and explore ip addresses and mac addresses in basic networking.

  • traceroute command19:05

    Discover how the traceroute command maps hops from source to destination, identify gateways and routers, and understand why some hops are unresponsive due to ICMP or firewall settings, Windows tracert.

  • MTR command12:04

    Master the MTR command, a blend of ping and traceroute, to monitor hops and latency. See packet loss, round-trip time, and IP addresses, with XML or CSV output.

  • host command13:21

    Learn how the host command performs DNS lookups, revealing IPv4 and IPv6 addresses, MX and other records, and following the DNS path from resolver to root, TLD, and authoritative servers.

  • ifconfig command3:34

    Use the ifconfig command to view interface details, including IPv4 and IPv6 addresses and MAC address, identify interfaces (like p03), and change an IP address with sudo.

  • ip command4:04

    Learn to use the ip command to view IPv4 and IPv6 addresses for interfaces, including MAC addresses, and query a specific interface like p0s3.

  • Whois Command6:26

    Learn to use the whois command to fetch domain and IP information, including registration dates, name servers, admin contacts, and abuse data, for information gathering in cybersecurity.

  • nslookup7:24

    Master the nslookup command to query DNS records such as A, MX, and TXT, specify types with -type, and verify IPv4 and IPv6 addresses for domains like google.com and facebook.com.

  • Wget20:29

    Learn to use wget to download files from http, https, and ftp, including saving to directories, limiting bandwidth, resuming downloads, running in background, renaming output, and downloading multiple URLs.

  • Wget_part212:13

    Learn to mirror a website with wget and locally host it using a python http server, exploring options -m, -k, and -p to fetch HTML, images, and assets.

  • SSH Command13:33

    Learn how to connect to remote Linux machines with SSH on port 22, explore cloud virtual machines in Azure, configure a Ubuntu server, and install Apache to serve web pages.

  • SCP Command15:37

    Explore using the scp command to securely copy files between a local host and a remote machine, including default port 2022, compression, and verbose transfer details.

  • Uptime Command2:29

    Master the uptime command to check server longevity, current time, users logged in, and load averages, and explore formatting options like -p and -v for readable outputs.

  • Uname Command5:28

    Learn to use the uname command to retrieve your machine’s kernel name, host name, release version, hardware platform, architecture, and operating system, using options like -a, -s, -m, and -p.

  • hostname Command4:35

    Learn the hostname command to view and change your host name, display IPs with -i and -I, and use sudo or a hostname file for -F FQDN.

  • passwd Command15:35

    learn to manage user passwords with the passwd command, including changing passwords, setting expiration days, making accounts passwordless, and forcing password changes after login.

  • chage Command6:49

    Learn how to use the chage command to manage password aging, including maximum and minimum days, expiry dates, and warning days, and compare it to the password command's -l view.

  • nl Command2:18

    Learn how to use the nl command to number lines in files, view line numbers for debugging, and practice with simple examples like start.txt and index.html.

  • Process7:20

    Learn how Linux defines a process as the execution of a program, distinguish foreground and background processes, and use commands like kill and ampersand to manage PIDs.

  • ps command11:58

    Learn the ps command to view process state, pid, terminal, and cpu usage; filter by user (-U), show all (-A), or by name (-C), then kill by pid.

  • Top Command9:40

    learn to use the top command for process management, viewing pid, user, cpu, memory and virtual memory usage; kill processes and filter by user with top -U.

  • Kill command4:45

    Learn to terminate unresponsive applications by using the kill command with PIDs and signals, including the terminate signal 15 and signal-based killing, plus verifying with ps.

Requirements

  • A basic understanding of computer concepts
  • A willingness to learn

Description

Welcome to "Linux Tutorial - Master The Command Line"!

In this course, you will learn the fundamental skills required to navigate and work with the Linux command line. We will start by installing Ubuntu Linux on VirtualBox in Windows, and then proceed to cover a variety of basic Linux commands, including the "ls" command for listing directory contents, the "cd" command for changing directories, the "mkdir" command for creating directories, the "rmdir" command for deleting directories, the "touch" command for creating files, the "cat" command for displaying file contents, the "rm" command for deleting files, the "cp" command for copying files, and the "mv" command for moving files.

We will also delve into more advanced topics such as file permissions, user and group management with the "chmod", "useradd", and "groupadd" commands, the "head" and "tail" commands for viewing the beginning and end of a file, the "chown" and "chgrp" commands for changing file ownership and group membership, and the "ping", "traceroute", and "mtr" commands for network troubleshooting.

Additionally, we will cover important network utilities such as "ifconfig", "ip", "whois", "nslookup", and "wget", as well as secure file transfer with "ssh" and "scp". We will also discuss system monitoring tools like "uptime", "ps", "top", and "kill", and explore the "nl", "chage", and "passwd" commands.

By the end of this course, you will have a solid foundation in the Linux command line and be well-prepared to take on more advanced tasks and challenges. So, enroll now and let's get started!

Who this course is for:

  • Beginners who are new to the Linux command line
  • Experienced users looking to expand their skills
  • IT professionals looking to add Linux command line proficiency to their toolkit
  • Anyone who wants to become proficient in using the Linux command line