buscar recursivamente una cadena de texto
find . -type f | xargs grep textoabuscar
find . -type f | xargs grep textoabuscar
su yum install wget cd /tmp wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz tar xzvf flashplayer10_2_p3_64bit_linux_111710.tar.gz mv /tmp/libflashplayer.so /usr/lib64/mozilla/plugins/
Btrfs is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration. Initially developed by Oracle, Btrfs is licensed under the GPL and open for contribution from anyone. https://btrfs.wiki.kernel.org/index.php/Main_Page https://btrfs.wiki.kernel.org/index.php/Getting_started
quick commands ipmitool -H 192.168.1.1 -U root -P 123456 chassis power status ipmitool -H 192.168.1.1 -U root -P 123456 chassis power on ipmitool -H 192.168.1.1 -U root -P 123456 chassis power soft (note: -a prompts password) What is IPMI? IPMI is standard which allows remote server management, primarily developed by Intel. IPMI cards, known… Leer más: Running IPMI on Linux »
in vi do the following: :g/^M/s/// (the ctrl-m has to be entered with the key strokes «ctrl-v followed by ctrl-m». That’s teh only way it works! Or use sed to do it: sed ‘s(ctrl v ctrl m)g//g’ old.file > new.file tr -d ‘\r’ new.file
Create a 1 GiB file containing only zeros (bs=blocksize, count=number of blocks): time dd if=/dev/zero of=trash bs=1M count=1024 Benchmark —————————————– Laptop HP Wrk 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 14.2728 s, 75.2 MB/s —————————————————— Server T110 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 9.777131 s, 110… Leer más: Create a 1 GiB file containing only zeros »
-bash: fork: Not enough space First your RAM, then the swap got full. Check the space available using swapinfo and check if there is any user application causing huge memory leaks. Increase swap space. PID list FULL
http://spacewalk.redhat.com/
By default SL 6 enables SELinux, and as far as I know you can’t choose to not have it during the install process (correct me if I’m wrong). SELinux is not for everyone and it can cause headaches for certain applications. I’ve had trouble before with permission settings, checking, and rechecking my setup only to… Leer más: disable SELinux SL6 scientific linux 6 »
yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps xml-commons-apis # service tomcat5 restart # chkconfig tomcat5 on edit #sudo vim /etc/tomcat5/tomcat-users.xml