Managing Users in Linux

Before you start Objectives: Learn which files hold user information, how to add new user, how to modify existing user, and how to set a password for specific user. Prerequisites: no prerequisites. Key terms: password, user management, passwd file, useradd, usermod, userdel  Passwd File In early days of Linux, we basically had to use the text editor to … Read more

Introduction to Users and Groups in Linux

Before you start Objectives: Learn what is user account, what is passwd and group file, and how are those files structured. Prerequisites: no prerequisites. Key terms: Linux, passwd, group, shadow, gshadow, user account, user group. User Account and User Groups User account in any OS help us to control who can log on to a system, and which … Read more

Getting Help When Working With Linux

Before you start Objectives: Learn about different ways to get help when working with Linux commands. Prerequisites: you should know what are pagers. Key terms: command, help, man, pages, info, Linux, ls, use, example, information, manual, basic Man Pages and Info Pages The most common help system are the man pages or manual pages. The other help system … Read more

Working With Environment Variables in Linux

Before you start Objectives: Learn what are environment variables, how to see them, how to set new variables, and about some common variables. Prerequisites: no prerequisites. Key terms: variables, command, set, new, environment, session, use, terminal Setting Variables We can both see and change current variables, and set new environment variables in Linux. To see defined variables we … Read more

Editing Text Files in Linux Terminal

Before you start Objectives: Learn which text editors are typically available in Linux and how to use them (vi and nano). Prerequisites: no prerequisites. Key terms: file, text, vi, command, nano, mode, enter, use, editor, awk, close, commands, ctrl vi Text Editor vi is a bit different then most other editors. The thing is, the vi … Read more

Searching for Files in Linux Shell

Before you start Objectives: Learn which two commands are commonly used to search for files in Linux by using shell. Prerequisites: no prerequisites. Key terms: command, files, find, file, firectory, fonts, locate, search, manula, start, list, type  Find Command The first command which is often used to search for files is the “find” command. This command is very … Read more

View Text Files in Linux Shell

Before you start Objectives: Learn about specific commands which can be used to show the content of text files in Linux. Prerequisites: you have to know basic commands used to navigate Linux file system. Key terms: command, file, text, pager, redirector, files, show, content, echo, output, page, screen CAT Command To show the content of the text file … Read more

Using Shell to Navigate the File System in Linux

Before you start Objectives: Learn how to move trough the file system using shell and basic commands in Linux. Prerequisites: you have to know what is path in Linux. Key terms: command, ls, directory, files, file, cd, move, working, system, current, linux, path, home Basic Commands In this tutorial we will be working with basic file management commands … Read more

The Concept of Path in Linux

Before you start Objectives: Learn the difference between an absolute path and the relative path, and useful commands, and common shortcuts for typing in paths. Prerequisites: you should know what is Shell in Linux. Key terms: path, directory, paths, command, linux, absolute, relative, current, run, system, file, shell What is a Path Good understanding of the path will … Read more

Introduction to Linux Shell

Before you start Objectives: Learn what is shell in Linux, why it is used, what is the syntax for commands and how can we compare it with CMD in Windows. Prerequisites: no prerequisites. Key terms: shell, command, linux, file, switch, case, cp, dash, interface, system Shell as User Interface The shell is the interface between us as users … Read more