- This repository contains a collection of directories containing
bash
scripts as part of my Fullstack Software Engineering learning journey with ALX. - The
bash
scripts demonstrate my knowledge and understanding of the usebash
. - All scripts were created and tested on an Ubuntu 20.04 environment
- What is Shell?
- Navigation
- Exploring the System
- Manipulating Files and Directories
- Working with Commands
- Symbolic Links
- Expansion
- Text Editors (
vi
,vim
andemacs
) - Magic Files
- What do the commands
chmod
,sudo
,su
,chown
,chgrp
do? - Linux file permissions
- How to represent each of the three sets of permissions (owner, group, and other) as a single digit
- How to change permissions, owner and group of a file
- Why can’t a normal user
chown
a file - How to run a command with root privileges
- How to change user ID or become superuser
- How to create a user
- How to create a group
- How to print real and effective user and group IDs
- How to print the groups a user is in
- How to print the effective
userid
- What do the commands
head
,tail
,find
,wc
,sort
,uniq
,grep
,tr
do - How to redirect standard output to a file
- How to get standard input from a file instead of the keyboard
- How to send the output from one program to the input of another program
- How to combine commands and filters with redirections
- What are special characters
- Understand what do the white spaces, single quotes, double quotes, backslash, comment, pipe, command separator, tilde and how and when to use them
- What are the
/etc/profile
file and the/etc/profile.d directory
- What is the
~/.bashrc file
- What is the difference between a local and a global variable
- What is a reserved variable
- How to create, update and delete shell variables
- What are the roles of the following reserved variables:
HOME
,PATH
,PS1
- What are special parameters
- What is the special parameter
$?
? - What is expansion and how to use them
- What is the difference between single and double quotes and how to use them properly
- How to do command substitution with
$()
and backticks - How to perform arithmetic operations with the shell
- How to create an
alias
- How to list aliases
- How to temporarily disable an alias