mandar mail consola
> mutt -a file1 -s «subject» destino en domain.com < /dev/null
> mutt -a file1 -s «subject» destino en domain.com < /dev/null
EPEL is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs such as CentOS or Scientific Linux. http://fedoraproject.org/wiki/EPEL su -c ‘rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm’ … su -c ‘yum -y install foo’
ls -tls -Z Text Syntax Virtual Host Options: httpd -t httpd -S httpd: Could not reliably determine the server’s fully qualified domain name, using 192.168.1.5 for ServerNameVirtualHost configuration:wildcard NameVirtualHosts and _default_ servers:_default_:443 192.168.1.5 (/etc/httpd/conf.d/ssl.conf:81)Syntax OK Configure SElinux Contexts : Use same context as /var/www/html sudo chcon -R –reference=/var/www/html/ public_html/
Primero bootear en el cd de rescate: 1) boot: Linux Rescue 2) Omitir montar partición //cargar los volumentes lógicos # lvm vgchange -a y //Comprobar el disco duro# e2fsck -f /dev/VolGroup00/LogVol00 //Reducir el tamaño# resize2fs -f /dev/VolGroup00/LogVol00 10G //Reducir el tamaño lógico# lvm lvreduce -L10G /dev/VolGroup00/LogVol00 Crear la partición home# lvcreate -L50G -nhome /dev/VolGroup00 Formatearlamkfs… Leer más: Rezise LVM 2 Root Centos 5.1 »
it has path completion and user friendly features: $lftp sftp://user@server1
/var/log/secure
$ echo $HISTFILE $HISTSIZE $HISTFILESIZE/home/user/.bash_history 1000 1000 List previous number of history commands$ history 5 1033 sudo yum update 1034 echo $HISTFILE $HISTSIZE $HISTFILESIZE 1035 history 1036 echo $HISTFILE $HISTSIZE $HISTFILESIZE 1037 history 5 Ctrl + r to search a string history
$yum list available $yum list installed $yum list extras $yum list *vorbis* $yum list updates $yum info wordpress $yum info word* $yum search mp3 $yum whatprovides ogg123 $ yum grouplist
Command and Sample Output :: Description Show the first mount command in PATH:$ type mountmount is /bin/mount Show binary source, and man pages for mount:$ whereis mountmount: /bin/mount /sbin/mount.cifs /sbin/mount.nfs /sbin/mount.nfs4 /usr/share/man/man2/mount.2.gz /usr/share/man/man8/mount.8.gz Find bash.ps anywhere in the file system$ locate bash.ps/usr/share/doc/bash-3.1/bash.ps/usr/share/doc/bash-3.1/rbash.ps Find the umount command anywhere in your PATH or aliases$ which umount/bin/umount Find… Leer más: Finding Commands »
Introduction To update the system applying the most recent corrective patches of security and to the operating system is not as difficult as many do not suppose, nor either must be a hell of dependencies between packages RPM as some others argue. The reality of the things is that it is much very simple and… Leer más: introduction to yum »