Sometimes if you experience this error

Read More

i need to remove file that contains some string but need to do it on terminal this is how to doitfind . | xargs grep -l email@domain.com | awk ‘{print “rm “$1}’ > doit.shvi doit.sh // check for murphy and his lawsource doit.sh find . | xargs grep -l email@domain.com | awk ‘{print “rm “$1}’ […]

Read More

passwordless ssh, this is how I set up for linux to freebsd   a@A:~> ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/a/.ssh/id_rsa): Created directory ‘/home/a/.ssh’. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/a/.ssh/id_rsa. Your public key has […]

Read More

Jails on freenas

  • Jun 24, 2020

this is my log when I’m using freebsd as web server and mysql server using nginx and php-fpm   # iocage console rsyncjail # pkg update && pkg upgrade # echo ‘sshd_enable=”YES”‘ >> /etc/rc.conf # service sshd start # pw useradd -n vivek -G wheel -s /bin/tcsh -m -d /home/vivek # passwd vivek pkg install […]

Read More