Skip to content

ameyak04/Spider-Devops-Task1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Spider-Devops-Task1
copy all three scripts and user_info.txt to root directory
#Please login  user account with Sudo previledges.
sudo -i ( to Root) 
#######To run Sibling.sh#######
. Sibling.sh

#######To install nmap on system#######
apt-get install nmap -y

#######Creating a Cronjob#######
to add an entry ( it creates file /var/spool/cron/crontab/) ----> crontab -e
append the following text ----> 0 18 * * * /root/comp_log.sh
Giving executable permissions for comp_log.sh ----> chmod +x comp_log.sh
to see contents of comp_log.txt ----> cat /tmp/comp_log.txt or nano /tmp/comp_log.txt

#######System Information#######
. system_info.sh
to see contents of system_info.txt ----> cat system_info.txt or nano system_info.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages