
How to add timestamp to history command?
history command lists all executed command on server. By default output of command is as follows: 989 date 990 history 991 history 992 w 993 …
history command lists all executed command on server. By default output of command is as follows: 989 date 990 history 991 history 992 w 993 …
Following script to check the load on the server could be referred:- This script will create a file called chkload wherein all the details will …
When a URL specifying only a directory is requested … eg.: https://www.domain.com/directory/ Initially, Apache looks for file names by default (in the order they appear): …
Are you a Linux user trying set or change the date, time, or timezone on your Linux Server? Read on to learn how to display …
#!/bin/sh cd /root/ wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz tar -zxvf chkrootkit.tar.gz CHKDIR=`ls -1 |grep chkrootkit-` cd $CHKDIR/ make ./chkrootkit
Login to your server as root and at the root prompt fire the below command: root@xxx[~]vi /etc/cron.daily/chkrootkit.sh Insert the following to the new file: #!/bin/bash …
SSH as admin to your server. #Change to root su – #Execute the following command wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz # Check the MD5 SUM of the download …
Normally you get the following error Error or warning message : Check /var/tmp is mounted as a filesystem WARNING /var/tmp should either be symlinked to …
a.Login as root in your Linux server b. Type this command: [root@TftpServer ~]# yum install tftp-server c.Once the installation completes, Type this command [root@TftpServer ~]#vim …
Following are the steps to change the hostname via ssh: Login to server via SSH as root Run the following command to change host name: …
SSH into your server as ‘admin’ and gain root access by su Copy and paste this line to edit the file for SSH logins pico …
This website uses cookies to ensure you get the best experience on our website. Please read our Privacy Policy.