Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
A Beginner’s Guide To Linux Commands
Highest Rated
Rating: 4.6 out of 5(80 ratings)
542 students

A Beginner’s Guide To Linux Commands

Learning foundational Linux commands to navigate in Linux operating system
Created byRaphael Asghar
Last updated 11/2018
English
English [Auto],

What you'll learn

  • At the end of this course, the student will be able to understand the structure and the file system of the open source operating system: Linux.

Course content

1 section44 lectures7h 3m total length
  • WELCOME TO LEARNING LINUX COMMANDS4:51

    Learn Linux commands from an absolute beginner perspective by mastering the command line interface, navigating directories, managing files and permissions, and exploring shell scripting with virtual environments and virtual box.

  • WHAT IS THE LINUX OS4:15

    Discover what Linux is as an operating system, its kernel and shell, and how command line interfaces enable control via the terminal, with advantages like free licensing and stability.

  • UPDATE:INSTALL THE CURRENT VERSION OF UBUNTU DESKTOP1:01

    Learn to download and install the current Ubuntu Desktop, noting that the site shows 16.04 while the actual latest is 18.04, and follow the updated installation steps.

  • DOWNLOAD APPS AND INSTALL LINUX17:00

    Download and install VirtualBox, create a virtual machine, and install Ubuntu to learn Linux commands in an independent, host-free environment.

  • COMPARE WINDOWS TO LINUX FILE STRUCTURE8:57

    Explore Linux versus Windows, highlighting open source and free distributions, and the core directories and files of Linux. Master absolute and relative paths to navigate the root directory.

  • DIRECTORIES AND FILES IN LINUX6:03

    Explore the Linux root directory and its key subdirectories, such as home, bin, and etc. Learn to view and navigate their contents in GUI and in the terminal using ls.

  • HOW TO NAVIGATE THE UBUNTU DESKTOP6:11

    Navigate the Ubuntu desktop, open and customize the terminal, and pin it for easy access; learn home and root directories, ls usage, and terminal prompts for standard and super users.

  • INTRO TO LINUX COMMANDS PART 120:16

    Master core Linux commands such as ls, cd, pwd, and man; learn directory navigation, history, and using the command line interface. Explore options, hidden files, and gui versus cli.

  • INTRO TO LINUX COMMANDS PART 210:16
  • FINDING DETAILS ABOUT FILES2:46

    Analyze how ls -l shows directories (blue) and files (white) with permissions, owner, group, size in bytes, date, and name.

  • HOW TO MAKE DIRECTORIES5:47

    Learn to create directories in Linux with mkdir for single and multiple directories, using -p for nested paths and -v to verify, while using # for comments.

  • HOW TO DELETE FILES9:46

    Learn to remove files and directories with rm, use rm -r for recursive deletion, rm -i for interactive confirmation, and shred to permanently erase data from disk.

  • HOW TO COPY MOVE AND RENAME FILES AND DIRECTORIES10:25

    Learn to copy, move, and rename files and directories with cp, using recursive options, verify copies via inode numbers, and use absolute and relative paths with touch and ls.

  • CONCATENATE WITH CAT13:46

    Learn to use the cat command to create, display, and concatenate files, combine content with pipes, and sort results. Explore options like -n, -b, -e, -s, and tac for reverse.

  • USING PERMISSIONS IN LINUX7:14

    Explore linux permissions for files and directories across user, group, and others, using read, write, and execute, with ls -l and chmod (absolute or symbolic, recursive) to set rights.

  • PERMISSIONS DEMO AND CHMOD12:48

    Demonstrate Linux permissions with read, write, and execute for owner, group, and others using absolute and symbolic chmod; view changes with ls -l and apply recursively to directories and files.

  • HOW TO ADD USERS12:46

    Create linux users with sudo using useradd or adduser, assign home directories and shells, set passwords, and verify entries in /etc/passwd.

  • WHAT IS THE SHADOW FILE9:23

    Explore how the shadow file stores encrypted passwords and metadata, linking it with the password file to manage user login, password aging, expiry, and account status.

  • HOW TO DELETE USERS6:14

    Learn to delete users with sudo userdel, which removes the user while keeping the home directory; use -r to remove both the user and their home.

  • LEARNING ABOUT UID AND GID7:05

    Learn how user IDs and group IDs map to usernames, with new users starting at 1000+, root as 0, and IDs stored in /etc/passwd, viewable via id and related commands.

  • USING THE GREP COMMAND6:41

    Learn how the grep command searches text for patterns using -n for line numbers, -i for case-insensitive matches, and -r for recursive searches, with quoted pattern examples.

  • HOW TO CREATE GROUPS12:09
  • USING USERMOD COMMAND10:24

    Learn to use the usermod command to change account settings, including login directory (-d), group (-g) or groups (-G), and lock or unlock accounts (-L, -U) with hands-on demos.

  • USING THE CHOWN COMMAND9:53

    Use the chown command to transfer file ownership to a user or a group, and simplify permissions by assigning a group to multiple files, including recursive changes across directories.

  • WHAT IS THE CHAGE COMMAND8:07

    Learn to use the chage command to manage password aging for individual users, covering maximum days, inactivity, warnings, and account expiration, illustrated with a Victor example.

  • USING THE MORE LESS HEAD TAIL COMMANDS6:50

    Use the more, less, head, and tail commands to view and page through large log files. Learn to scroll with space, quit with q, and pipe output to other commands.

  • WHAT ARE PIPES AND REDIRECTION OF FILES10:50

    Master linux pipes and redirection to transfer command output between programs and to files. Use less and more for paging and learn overwrite versus append with > and >>.

  • USING THE NANO EDITOR13:41

    Discover how to use the nano editor in linux, including opening, saving, navigating, and editing text with basic shortcuts and file path basics.

  • USING THE VIM EDITOR16:16

    Master vim basics by exploring command and insert modes, navigating with h j k l, saving and quitting, deleting lines, and performing search and replace across the text.

  • USING THE CUT COMMAND TO FILTER10:11

    Learn to use the cut command to extract specific characters or columns from text with delimiters such as space, colon, and comma, including ranges and multiple fields in a file.

  • USING AWK TO FILTER FILES13:26

    Learn to use awk to filter text data and extract columns from files. Explore patterns, delimiters, and fields like $1 and $4, and combine filters with pipes for reports.

  • USING WILDCARDS PART 110:00

    Discover how wildcards in Linux use the asterisk, question mark, and brackets to match patterns and filter files and directories.

  • USING WILDCARDS PART 212:17

    Learn to use wildcards in the Linux shell, including question marks, asterisks, and brackets, to filter files by name and extension.

  • HOW TO SHARE FILES FROM DESKTOP TO LINUX5:10

    Share a folder from a Windows desktop to an Ubuntu virtual machine using VirtualBox shared folders. Install the guest additions to enable sharing and access the files from Linux.

  • WHAT ARE HARD AND SOFT LINKS14:48

    Learn hard and soft links in Linux. Compare how hard links share an inode and data blocks, and note soft links are indirect and break if the target is removed.

  • USING GZIP TO COMPRESS FILES12:06

    Learn how gzip compresses files to save disk space and speed transfers. Compress individual files to .gz, test with -t, list with -l, and keep originals with -K.

  • USING TAR TO ARCHIVE AND COMPRESS DIRECTORIES9:45

    Use tar to archive and extract directories, and learn to compress archives with gzip (.tar.gz). Create with tar, compress with gzip, and extract with tar to manage backups.

  • USING APT GET TO INSTALL APPLICATIONS9:02

    Learn how to use apt-get to manage Linux packages, including updating, upgrading, dist upgrade, installing, searching, and removing applications while handling dependencies.

  • INSTALLING UBUNTU SERVER9:51

    Install Ubuntu server and switch from a GUI desktop to a full command line interface, using terminal commands to create virtual machines, install updates, and run server workloads.

  • INSTALLING UBUNTU SERVER PART 212:15

    Learn to install Ubuntu server in a virtual machine, choose the long-term support image, configure memory and 25 gigs, and complete the command-line setup before installing the desktop.

  • INSTALLING GNOME DESKTOP ON UBUNTU SERVER7:16

    Install the gnome desktop on ubuntu server and run apt-get update and upgrade to enable a graphical interface. Log in to the gui and verify the server version.

  • INSTALLING SQL SERVER 2017 ON LINUX SERVER18:34

    Learn how to install sql server 2017 on Linux Ubuntu, import keys, configure repository, install sql server, connect with sqlcmd, and run queries to create a database.

  • EXAMPLE OF SHELL SCRIPT6:06

    Learn how to create and run a shell script to automate backups using tar and gzip, with date-stamped archives, building on basic Linux commands.

  • BONUS VIDEO0:48

    Watch this bonus video to preview the Linux and Excel courses and the recommended course order. Click the coupons or copy-paste them to access $10 discounts on all courses.

Requirements

  • This course – A Beginner’s Guide To Linux Commands- is for the absolute beginner!

Description

At the end of this course, the student will be able to understand the structure and the file system of the open source operating system: Linux. 

They will use the command line interface -and not the GUI- to gain confidence in simply executing the commands!  They will learn commands such as ls to list files, cp to copy, grep to find patterns, use VIM and Nano to edit files, use wildcards to filter data, install SQL Server 2017 on Ubuntu server and much more. 

At the end of this course, the student will have a solid foundation on how to use commands and gain a sense of confidence they never had before.


Who this course is for:

  • This course – A Beginner’s guide To Linux Commands- is for the absolute beginner!