Repair Linux boot failures in GRUB 2 rescue mode
Update the GRUB config file.
sudo update-grub
Reinstallation of Grub on the device:
sudo grub-install /dev/sdX
This should be it for the rescue part and your system should be good and running.
Update the GRUB config file.
sudo update-grub
Reinstallation of Grub on the device:
sudo grub-install /dev/sdX
This should be it for the rescue part and your system should be good and running.
Termtosvg es una herramienta en linea de comandos que nos permite grabar nuestras sesiones de terminal en un entorno de animación SVG. Se trata de un formato soportado por los principales navegadores web (Chrome, Firefox que fue pionero a principios de esta década, Safari…), con la excepción del Edge de Microsoft, algo que a los linuxeros tampoco nos preocupa demasiado.
Creado en Python y con licencia libre BSD (3-Clause), termtosvg nos recuerda en diferentes aspectos a herramientas como script o el más reciente asciicinema, siempre una referencia a la hora de hacer demostraciones y tutoriales.
Lo que se debe hacer es actualizar un directorio en la variable PATH la cual posiblemente al actualizar la rama se pudo desconfigurar.
sudo export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
Y luego para que esta asignacion no se pierda al reinciar el equipo. Se debe configurar la variable PATH de forma permanente editando el archivo de configuración de su shell de conexión. Como por lo general el shell BASH es el más utilizado, debe editar su archivo:
echo 'export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin' >> /home/usuario/.bashrc
VoCore is open hardware and runs OpenWrt/LEDE. It has WIFI, USB, UART, 20+ GPIOs but is only one inch square. It will help you to make a smart house, study embedded system or even make the tiniest router in the world.
By adding the «-Y» flag to the ssh command, the display will automatically be redirected to your local computer.
ssh -Y <remoteip>
Then, if you start Firefox (or any other X application) in that ssh session, it will be displayed locally. (If you have a xserver running locally of course)
network={
ssid=»HomeOneSSID»
psk=»passwordOne»
priority=1
id_str=»homeOne»
}
network={
ssid=»HomeTwoSSID»
psk=»passwordTwo»
priority=2
id_str=»homeTwo»
}
iface eth0 inet static
: Defines a static IP address for eth0
iface eth0 inet manual
: To create a network interface without an IP address at all. Usually used by interfaces that are bridge or aggregation members, or have a VLAN device configured on them
#!/bin/bash #### # This script automatically creates user accounts with random passwords. # # Author: Russ Sanderlin # Date: 01/21/15 # ### if [ $# -lt 1 ]; then echo "Please supply a user name" echo "Example: " $0 "jsmith" exit fi # Declare local variables, generate random password. newuser=$1 randompw=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1) # Create new user and assign random password. useradd $newuser echo $newuser:$randompw | chpasswd echo "UserID:" $newuser "has been created with the following password:" $randompw
Password management should be simple and follow Unix philosophy. With pass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities.
pass makes managing these individual password files extremely easy. All passwords live in ~/.password-store, and pass provides some nice commands for adding, editing, generating, and retrieving passwords. It is a very short and simple shell script. It’s capable of temporarily putting passwords on your clipboard and tracking password changes using git.
…a mechanism that installs updates automatically so you don’t have to worry about it. Obviously, this is meant for personal servers operated by hobbyists where convenience is more important than availability. In a professional environment, you would test new packages first because seemingly innocent changes may break complex applications.
Founded in 2014, OSMC lets you play back media from your local network, attached storage and the Internet. OSMC is the leading media center in terms of feature set and community and is based on the Kodi project.
OSMC is a Kodi centric distribution.
Every user on a system may have their own crontab file. The location of the root and user crontab files are system dependant but they are generally below /var/spool/cron.
There is a system-wide /etc/crontab file, the /etc/cron.d directory may contain crontab fragments which are also read and actioned by cron. Some Linux distributions (eg, Red Hat) also have /etc/cron.{hourly,daily,weekly,monthly} which are directories, scripts inside which will be executed every hour/day/week/month, with root privilege.
Just simply run select-editor
, this will let you choose any editor you want.
After a while of work the right palm rest get so hot that I’m unable to keep my finger on the fingertip reader for more than two seconds. There is hidden the wireless card under the right palm rest. This is very annoying design bug of Lenovo X61s.