error when copying or overwriting the same directory name linux

my directory structure in linux – centos: /home/html/prod/wordpress/update/ /home/html/prod/wordpress/ /wordpress/ is my wordpress install, and /update/ is my unziped download files and directories. The errors I kept getting when trying to move or copy the entire directory while sitting in /home/html/prod/wordpress/update/ was: mv: cannot move `wp-admin’ to a subdirectory of itself, `../wp-admin’ mv: cannot move ...

how to disable RHN in linux – red hat or centos

What I did to disable it was go to: /etc/sysconfig/rhn and delete all of the files in it. If you want to re-enabled it after, you can just copy the files back, so you may want to copy them to a location you want to keep them at.

How to get external ip via linux command line

wget -O - -q you will get a very easy looking readout example: root@madhost419 [~]# wget -O - -q root@madhost419 [~]# or via curl: curl

change CSGO crosshair to pink

PINK CROSS HAIR COMMANDS: cl_crosshaircolor 5 (This tells the game you want to create a custom colour using the RGB values) cl_crosshaircolor_r 255 cl_crosshaircolor_g 0 cl_crosshaircolor_b 255 cl_crosshairthickness 1 (This sets the thickness of the cross hair lines, default is 0.5) cl_crosshairgap 0 (This sets the distance of the gap between the cross hair, default ...

removing the limit of 100 rows in squirrel 11

Using the squirrel app: I had issues with only seeing 100 rows in a table. I fixed this by going to File -> New Sessions Properties -> Object Tree -> Contents -> limit rows. The default is 100, but you can uncheck it and you should be good. If not, you can also do ...

alt f4 on surface pro with type keyboard 2

I couldn’t get alt f4 working on any of my apps on my new microsoft surface pro with type keyboard 2. It ended up being that my function lock was set! I had to unlock that via: function + caps lock (Thanks rsutoratosu on Anandtech). And now ALT F4 works, time to go kill some ...

bitfeniex prodigy with 7 hard drives

I bought this bitfenix prodigy case for about $30 off craiglist, someone didn’t like that it was white, and for $30, couldn’t be beat for this case. As it was retailing for about $80 at newegg/microcenter. I was going to build my girlfriend a new PC and thought ITX was the way to go, after ...

Windows 7 – Windows cannot be installed to this disk

I was trying to install windows on my new ASRock H81M-ITX motherboard and for some reason loading windows 7 pro 64bit to my OCZ agility 2 I got this error message: Windows cannot be installed to this disk. This computer’s hardware may not support booting to this disk. Ensure that the disk’s controller is enabled ...

Could not open external command file for reading via open(): (13) -> Permission denied in nagios v4.01

I ended up getting this in my nagios.log, the fix was to change the permissions on the rw file! chmod 777 /usr/local/nagios/var/rw/nagios.cmd

Directory index forbidden by Options directive: /var/www/html/

I was receiving this error in my nagios apache log: Directory index forbidden by Options directive: /var/www/html/ to fix this, I just did touch index.html to /var/www/html It creates a file in the directory that is empty. I found this safer then turning on indexes for my nagios install.