Categoria: dicas

Resize/Add more space on file system with linux logical volume

At first you need to unmount the second device again, before you proceed with the following steps: You will have to add the device /dev/vdb into your logical volume group VolGroup, you can do this using vgextend. vgextend VolGroup /dev/vdb After this you can first grow the logical volume lv_root to the size of the…


How to Disable IPV6 Ubuntu 15.04, CentOS 7, Fedora 24

We can disable the IPV6 in Linux systems, the following steps are should be disabled to all major Linux distributions including Ubuntu, CentOS, Fedora, RHEL, Debian, Linux Mint. You have to open the sysctl.conf file using any text editor (vi, vim, nano), # vim /etc/sysctl.conf at end of the line copy and paste the following…


Espaço ocupado pelo diretorio.

Algumas vezes queremos saber o espaço ocupado por um diretório no disco. Um comando simples pode ajudar:   du -h –max-depth=1 | sort -hr  


Replace spaces in file names (linux)

A simple command to change filename. It’s not recursive, it’s quite fast and simple. for f in *\ *; do mv “$f” “${f// /_}”; done  


Fedora 23 e superiores – Desabilitando o FIREWALL

[root@localhost ~]# systemctl stop firewalld [root@localhost ~]# systemctl disable firewalld rolekit


Content Protected Using Blog Protector By: PcDrome.