Archivo de la categoría: Blog Personal

Aquí divagaré todo lo que se me ocurra

cron redirect output to a file

1) Change the redirection to 2>&1. So now crontab -e looks like Iworks because by default cron is using sh to run the task 2) Change the default shell by adding SHELL=/bin/bash in the crontab -e file.

How to enable SSH Root Login In Solaris 11

Permit SSH Login for Root in Oracle Solaris 11 Open Terminal window and switch to root user. 1. Change the file /etc/ssh/sshd_config PermitRootLogin yes with PermitRootLogin no and save file.     vi /etc/ssh/sshd_config     PermitRootLogin yes 2. Comment out the “CONSOLE=/dev/console” line in /etc/default/login.     vi /etc/default/login   #CONSOLE=/dev/console 3.Remove “;type=role” from the root entry in /etc/user_attr or use the below command.  rolemod -K type=normal root 4. Restart the Services. #svcadm restart svc:/network/ssh:default… Leer más »

Mbuffer

https://everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/ http://www.polyomica.com/improving-transfer-speeds-for-zfs-sendreceive-in-a-local-network/ https://www.commandlinefu.com/commands/view/13582/backup-to-lto-tape-with-progress-checksums-and-buffering

yum provides

If you don’t know where to find the ifconfig command, follow the simple steps provided below. First let us find out which packages will provide ifconfig command. To do that , enter the following command: yum provides ifconfig Sample Output: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile  * base: centos.aol.in  * extras: centos.aol.in… Leer más »