How to Add or Remove the firewall PORT rules in Ubuntu Linux Author 11:06 0 To allow the port by the following command $ sudo ufw allow 80/tcp $ sudo ufw allow 443/tcp You can also delete the port by the following c... Read More
How to install a Microsoft Office in Linux Ubuntu Author 07:16 0 Installing the Microsoft office in Linux Ubuntu by the following $ sudo apt install winbind $ sudo apt install curl $ sudo apt install 7zip... Read More
Restarting the apache2 service by using the bash scripting Author 03:45 0 Below Bash script will restart the apache2 service #!/bin/bash RESTART="sudo service apache2 restart" PGREP="/usr/bin/pgrep... Read More
Fibonacci Series Program in Shell script Author 23:18 0 #!/bin/bash echo "Enter the number" read n a=0;b=1 echo $a echo $b #c=$(($a+$b)) while [ `expr $a + $b` -le $n ] o... Read More
How to Install sar(System Activity Report) in Linux Ubuntu Author 20:26 0 sudo apt update sudo apt install sysstat -y sudo apt start sysstat sudo apt ensble sysstat And then change the sysstat config file and c... Read More
Write a Bash script to print count of numbers, count of vowels and count of consonants in a given text Author 06:13 0 Below Bash script will give the output count of Numbers, Vowels, and Consonants #!/bin/sh echo -n "Enter a line of text: " read s... Read More
How to Find and How to Locate files by the name of file Author 22:12 0 Files you want to find and don't know the exact location below command to find the files > find /etc -name samb* -- It sh... Read More
Linux Simple Basic Commands Author 06:42 0 ls Shows the list of file ls -l Shows the long list of files ls -a Shows the list of hidden files ls -la Sho... Read More
How to Check the HTTPD service in Linux and Killing the Process Author 07:57 0 Check status of a service 1. systemctl status servicename(httpd) It shows the status of the service it started or stoped 2. wh... Read More
Quots in Linux Author 03:55 0 Single and double Quots in Linux In Double Quots "" $ value is takes the value of the variable 1. speaker=”marshal” assi... Read More
Linux Grep, Sed Commands Author 02:38 0 reating the link files ln -s /home/vagrant/data/tool.txt devtool It will create the softlink of the original file unlink devtool ... Read More
Linux Simple commands every one Author 06:06 0 ls Shows the list of file ls -l Shows the long list of files ls -a Shows the list of hidden files ls -la Shows th... Read More
Linux Basic Commands Author 23:27 0 Linux Basic Commands 1. pwd -shows present working directory 2. ls - shows the list of files 3. cd .. - goes one step back 4... Read More