HOWTO: Delete all hidden .swp files from terminal

E325: ATTENTION Found a swap file by the name “.swp” owned by: subhrcho dated: Wed Dec 26 05:54:45 2012 file name: ~subhrcho/ modified: YES user name: subhrcho host name: slc04lyo process ID: 26176 While opening file “.vimrc” dated: Mon Jan 28 22:45:16 2013 NEWER than swap file! (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution. (2) An edit session for this file crashed. If this is the case, use “:recover” or “vim -r ” to recover the changes (see “:help recovery”). If you did this already, delete the swap file “.swp” to avoid this message. Swap file “.swp” already exists! find . -type f -name “.*.swp” -exec rm -f {} \;

Arch Linux – Creating BIOS and UEFI Bootable USB

Bootable USB disk oluştururken bazı programlar efi bölümü oluşturmuyor. En sağlıklı yöntem dd komutu ile oluşturmaktır. Aşağıdaki yönergeleri uygulayabilirsiniz. Bootable usb oluşturmadan önce mutlaka usb disk’i unmount etmeniz gerekmektedir. lsblk sdb 8:16 1 3.8G 0 disk `-sdb1 8:17 1 3.7G 0 part /run/media/xxxx/e54c4ce0-9def-4183-a415-c0d98 sr0 11:0 1 1024M 0 rom sudo umount /dev/sdb1 lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 223.6G 0 disk |-sda1 8:1 0 512M 0 part /boot |-sda2 8:2 0 215G 0 part / `-sda3 8:3 0 8.1G 0 part [SWAP] sdb 8:16 1 3.8G 0 disk `-sdb1 8:17 1 3.7G 0 part sr0 11:0 1 1024M 0 rom Not : Bootable iso oluştururken (/dev/sdb1) olarak yazmayın. dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync &

“Load on Module failed – not enough disc space” error

Policy installation / fetch fails on Centrally Managed The fix is included since: Check Point R77.20 HFA 10 (R77.20.10) for 600 / 1100 / 1200R Appliance Check Point R77.20 for 600 / 1100 / 1200R Appliance Check Point R75.20 HFA 70 (R75.20.70) for 600 / 1100 Appliance and Security Gateway 80 As an immediate workaround, manually delete the temporary policy files on the SMB Appliance: Connect to the command line on SMB Appliance. Log in to Expert mode. Delete the temporary policy files: #rm $FWDIR/state/__tmp/FW1/* To increase the size of the partition on-the-fly: [[email protected]]# mount tmpfs /fwtmp -t tmpfs -o size=250m,remount Install the policy again. the size of the partition permanently: Backup the current start up script /pfrm2.0/etc/userScript: [[email protected]]# cp /pfrm2.0/etc/userScript /pfrm2.0/etc/userScript_ORG Note: The userScript file does not exist by default. It should be created. Edit the current start up script /pfrm2.0/etc/userScript [[email protected]]# vi /pfrm2.0/etc/userScript Add the following command in this script: mount tmpfs /fwtmp -t tmpfs -o size=250m,remount Save the changes and exit from Vi editor. Reboot the appliance.