Apache Tomcat Server
SSL certificate creation
HTTP, HTTPS
LINUX basic interview questions
The difference between grep and egrep is:
grep
It uses Basic Regular Expression which means if you use grep 'a|b' it will not not
use this "|" as OR operator without using this "\" prefix.
It searches for PATTERN in each FILE.
egrep
It uses Extended Regular Expression and in this you can use commands like this
egrep 'a|b'
It treats meta-character as it is and does not substitute them as strings like
grep.
***********************************************************************************
***********************************************************
grep command is used to find the lines having required patran in a file,we have
separate meta-characters by placing '\'
egrep is equal to grep -E,which is extended regular expression uses {,},(,),|,? as
meta-characters without giving '\' in expression
fgrep is used to find the fixed string ,which is equal to grep -F
IP:
****
An Internet Protocol (IP) address is a unique number that can identify each host
(computers, routers, switches, etc.) on a network. When a host sends information to
the IP address of a second receiving host it includes IP of origination, IP of
destination and other information. Knowing the IP address of key network components
such as routers, firewalls and servers, can be useful when troubleshooting network
problems.
Domain Name Service (DNS) numbers are IP addresses that a workstation or server
uses to refer to specific servers that resolve domain names to IP addresses.
A gateway IP refers to a device on a network which sends local network traffic to
other networks.
The subnet mask number helps to define the relationship between the host
(computers, routers, switches, etc.) and the rest of the network.
DNS information is most often found in a text file called resolv.conf. This file
can be read using the cat command. A common place for this DNS file is:
/etc/resolv.conf although the name and location of this file may vary by Linux
distribution.
To access this file type:
cat /etc/resolv.conf
*******************
useradd: Create a new user or update default new user information.
adduser: Create a new user with all default parameters or update default new user
information.
newusers: update and create new users in batch.
******************
nslookup is a command-line tool to discover the IP address or DNS record of a
specific domain name. It also allows for reverse DNS lookup, letting you find the
domain attached to an IP address.
To use the tool, enter “nslookup” into the Command Prompt or Terminal.
******************
dig command stands for Domain Information Groper. It is used for retrieving
information about DNS name servers. It is basically used by network administrators.
It is used for verifying and troubleshooting DNS problems and to perform DNS
lookups.
******************