Suspensão no debian, funciona bem apenas se for por pouco tempo | correção
Adicione acpu_sleep=nonvs na linha GRUB_CMDLINE_LINUX_DEFAULT do arquivo: #vi /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT=”acpi_sleep=nonvs”
Continue lendoDescubra como a tecnologia pode melhorar sua vida | Junte-se a nós rumo a um futuro em que o útil e prático estão ao seu alcance!
Adicione acpu_sleep=nonvs na linha GRUB_CMDLINE_LINUX_DEFAULT do arquivo: #vi /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT=”acpi_sleep=nonvs”
Continue lendoQuando o adaptador wifi não conecta mas mostra todas as redes normalmente… Edite o arquivo /etc/NetworkManager/NetworkManager.conf e adicione: [device] wifi.scan-rand-mac-address=no Reinicie o serviço systemctl restart network-manager Causa: Algumas placas não suportam randomização de mac. Fonte: https://linuxdicasesuporte.blogspot.com.br/2017/06/networkmanager-nao-conecta-na-wifi-no.html
Continue lendoExistem várias maneiras de se fazer isto, mas eu gosto muito do comando avconv, pela simplicidade e rapidez: avconv -i arquivo_video.mp4 arquivo_audio.mp3 Outra forma: mplayer -dumpaudio arquivo_video.mp4 -dumpfile arquivo_audio.mp3 O programa avconv faz parte do pacote libav-tools. Fonte: Dicas-L
Continue lendoThere are various methods to run multiple instances of mysql (on different ports) on the same machine. We can either compile the mysql binary with … Fonte: Running multiple instances of MySQL on the same machine – MDLog:/sysadmin
Continue lendo# /usr/lib/systemd/system-generators/systemd-cryptsetup-generator # systemctl daemon-reload # systemctl restart cryptsetup.target fonte: https://bbs.archlinux.org/viewtopic.php?id=167639
Continue lendoNine commands that do some very unusual things on Linux systems. Some could actually prove useful. Fonte: 9 really odd Linux commands | Computerworld
Continue lendoHave you ever wanted to run a command every few seconds automatically? Of course you can do this using a shell script or cron jobs. Alternatively, you can repeat a Linux command at a particular interval without having to manually run it. Here comes watch command in handy. Watch command can be used to execute a program every X seconds […]
Continue lendoIn some situations when executing a command or a Linux shell script we may require some manual intervention. The yes command is simple built-in command which will help you remove this manual intervention stuff in your scripts. The yes command is a cousin of echo command both print what we given. Only difference is echo […] Fonte: How to simulate […]
Continue lendoFonte: Instalando fontes do Windows no Linux legalmente [Dica]
Continue lendoRealtek RTL8188CE, RTL8188CUS, RTL8188DE, RTL8188EE, RTL8188ETV, RTL8188EU, RTL8188SU, RTL8191SE, RTL8191SU, RTL8192CE, RTL8192CU, RTL8192DE, RTL8192E, RTL8192EE, RTL8192SE, RTL8192SU, RTL8192U, RTL8723AE, RTL8723AU, RTL8723BE, RTL8812AE, RTL8821AE devices Add a “non-free” component to /etc/apt/sources.list, for example: # Debian 8 “Jessie” deb http://http.debian.net/debian/ jessie main contrib non-free Update the list of available packages and install the firmware-realtek package: # apt-get update && apt-get install firmware-realtek […]
Continue lendocut – Comando com exemplos [Dica].
Continue lendoUsing commands and pipes to “mine” and extract data.
Continue lendoEncriptar #!/bin/bash # crypten – a script to encrypt files using openssl PASS=senha.txt FNAME=$1 date >> $FNAME.log md5sum $FNAME >> $FNAME.log if (( $# == 0 )); then echo “crypten [ … ]” echo ” – crypten is a script to encrypt file using aes256″ exit fi for FNAME in “$@”; do openssl enc -aes-256-cbc -a -salt -in “$FNAME” -out […]
Continue lendo