“Please click arrow mark,you will get answers”
BASICS;
How to view Hidden Files in Linux;
#ls -la
How to check open Ports in Linux;
#nmap IP /Eg:#nmap 127.0.0.1
What is the command to create empty file;
#touch filename
what is the command to change file permission;
#chmod 755 filename
what ts the command tochnge file permission;
#chmod 755 filename
what is the command to change file owner permission;
#chown user:group filename
What is the command to make directory;
#mkdir dir_name
What is the command to remove files;
#rm filename
What is the command to check current working directory;
#pwd
What is the command to check real time system process;
#top
what is the command to download files from web;
#wget
PORTS
What is the port Number of SSH;
22
What is the Port Number of NFS
2049
What is the Port Number of HTTP;
80
What is the Port Number of HTTPS;
443
What is the Port Number of DNS;
53
What is the Port Number of FTP;
20,21
What is the Port Number of SMTP;
25
What is the Port Number of POP3;
110
CONFIG FILES;
Which config files has user Information;
/etc/passwd
Which config files has disk Partions and file systems;
/etc/fstab
Which config files has Network settings;
/etc/network/interfaces
Which config files has system services and process at boot time;
/etc/init.d/
Which config files has hostname;
/etc/hostname
SSH;
What is SSH:
SSH or Secure Shell is a protocol Used to Securely Access and Manage Devices Over a Network.
What is the Port Number of SSH:
22
How do I Connect to a Remote Server using SSH:
#ssh username@hostname(or)IP
How can I check SSH Service status:
#systemctl status sshd
What is the Default Config file for SSH:
/etc/ssh/sshd.config
NFS;
whats is NFS:
NFS (Network File System) is a Distributed file system Protocol that allows users to access files over network as if they were on their local storage.
What is the Port of NFS:
2045
What is the command to mount NFS Share:
#sudo mount -t nfs_share_ip:/shareddirectory /mountpoint
How to start NFS Service:
#systemctl start nfs-server
What is the Default Config file for NFS:
/etc/exports