About LFCSA
The Linux Foundation Certified System Administrator (LFCSA) is a certification program offered by the Linux Foundation. It's designed for individuals who want to demonstrate their skills and knowledge in Linux system administration. This certification is valuable for anyone pursuing a career in Linux administration or working with Linux-based systems.
Here are some key details about the LFCSA certification:
Skills Assessed: The LFCSA certification tests your abilities in several areas, including system architecture, file and directory management, system maintenance, networking, and security.
Linux Distributions: The certification is distribution-agnostic, which means it doesn't focus on a specific Linux distribution. Instead, it covers Linux concepts and commands that are applicable across various distributions, such as Ubuntu, CentOS, and Red Hat.
Exam Format: To earn the LFCSA certification, you need to pass an exam. The exam is a hands-on performance-based test where you are given real-world scenarios to solve using Linux commands and utilities. You must demonstrate your practical skills in system administration.
Preparation: To prepare for the LFCSA exam, it's essential to have a strong understanding of Linux fundamentals, as well as practical experience in administering Linux systems. You can also find study materials, online courses, and practice exams provided by the Linux Foundation to help you prepare.
Career Benefits: Achieving the LFCSA certification can boost your career prospects in Linux system administration and related fields. It's recognized by many employers as a validation of your skills and can help you stand out in the job market.
Linux Foundation: The Linux Foundation is a respected organization in the open-source community, and its certifications are well-regarded within the industry. Earning an LFCSA certification can be a valuable step in your career advancement.
Training-01
SSH Daemon listens for any incoming connection. To convert to this remote daemon we will need ssh client program.
ip a
To get the IP address of your system.
ssh username@ip_address
To start using ssh in your system with the specified IP Address.
In case, if it gives any error while giving the command for using ssh with the ip address provided in the code.
sudo apt install ssh
If still, after installing the ssh on the system, it gives an error then we may see all the installed packages on the system as
sudo apt list --install
By this, you can view all the installed packages on the system which could be quite messed up, so organize and filter your data, we could use the command
sudo apt list --install/ grep openssh-server
Or, else just view the status of the installed package whether it is running or not as:-
sudo servcie ssh server
If the package is running then it should be noted as working in the result of this command but if not then, we may start the package by:
sudo service ssh start
This should be running in the Linux environment but if we are using it in Windows then we may write:
sudo systemctl ssh start
"apropos" is a help command that returns all the commands related to the director:
apropos director
But, it gives an error in starting as we have been in any database so:
sudo mandb
Helping-Commands
There are various helping commands as well we use in the terminal command line in order to get info about various commands in the required format we want to attain such as :
ls --help
help
is a built-in command in many shell environments like Bash. It provides brief help information for shell built-in commands like ls in this case and some shell functions.
Typically, it provides basic usage information and lists available options for built-in commands and is often used for getting quick information about shell-specific commands or functions.
man ls
man
is a command that provides detailed documentation, or "manual pages," for a wide range of commands and utilities installed on your system and is not limited to shell built-ins; it covers both system and user-installed commands.
It offers comprehensive information, including detailed descriptions of a command's functionality, usage, options, and examples. It's the go-to tool for getting in-depth information about any command on your system.
apropos
which was mentioned earlier in the previous example for getting information about the command being mentioned.
Command-completion method
In case we want to view the number of different commands that could be combined with any particular command of our own choice we may put down a space after the command and then press "Tab" twice in the function to list all the possible commands-combinations as:-
Here as mentioned in the command, as soon as we write systemctl and then a space followed by pressing "Tab" twice we get to know the various command combinations that could be used with the systemctl command.
- It could also be used as the command-completion method as well like for example we wrote:
systemctl list-dep
Then if we press "Tab" twice quickly after writing dep in the command we will get our code completed as systemctl list-dependencies
if the list-dependencies file is available to be used with systemctl.
- We can also use this Tab pressing command to list down the contents of the directory being listed in the terminal command line. For example, if we had written
/usr/
and then pressed Tab twice would list down the contents inside the directory without getting to enter into the directory by usingls
command.
Listing-Commands
ls -a
Here by this command, the hidden files will be visible present in the directory/ folder.
ls -l /var/log
Here it will list all the details of the directory in long form with separate columns listing all the permissions to be reviewed & overwritten for all different items and files in the directory, user name, name of group and when was it last updated.
ls -alh
Here it will list all the files hidden files as well same as ls -a
along with some human-readable format defined as well like in the form of Kb, mb, Gb, etc.
FileSystem Tree
It is considered a "Tree" in the downward form as here root is at the top and leaves & branches go downwards.
The path is also written in the same way from up to down to the directory/ file like /home/jason/Documents/Invoice.pdf
(if Invoice.pdf is present in the Documents directory of jason family).
Now there are certain commands used to give certain required results as:
pwd
"pwd" stands for Print working directory which will print the current directory we are working/ operating in, along with the path specified with it, like /home/jason/Documents
.
cd/
will move us to the root directory.
cd -
Go to the previous directory.
cd
Go to the home directory.
cp [source][destination]
Here it is the format for copying the file from the source location to the destination.
cp -r [source][destination]
"r" stands for the recurser in the code which helps in copying the whole content from the source to the destination folder/ directory(copying everything in it).
mv [source][destination]
It is similar to the cut option in Windows used for Linux.
rm file_name
To delete a file.
rm -r Invoices/
Delete all the files, folders and sub-directories from the directory.
echo "Pic(1) was created" > Pictures/family.jpg
The picture is created family_dog.jpg with the tag "Pic(1) was created".
Hope you get to learn some from this blog for which you came here 😄. Soon I will be releasing other blogs explaining Inode features, Hard Links, Soft Links, bits and purposes in the system and various other commands for system management and organizing.
If you like my Article then please react to it and connect with me on Twitter if you are also a tech enthusiast. I would love to collaborate with people and share the experience of tech😄😄.
My Twitter Profile: