Rechercher dans ce blog

Affichage des articles dont le libellé est shell. Afficher tous les articles
Affichage des articles dont le libellé est shell. Afficher tous les articles

lundi 18 novembre 2024

EFI SHELL Usefull commands / secure boot Mokmanager

 Pour lancer le shell.efi depuis grub, il faut parfois faire sortir sur la console et non sur gfx :

grub> terminal_output console

la commande terminal_output seule indique les modes disponibles

en mode console, le shell démarre en 80x25. Pour changer la définition il faut utiliser la commande

shell> mode

lancée seule elle indique les modes disponibles, sous la forme col rang comme 80 25, 80 50, 100 56

pour changer de mode :

shell> mode 100 56 par exemple

pour insérer une extension :

shell> load ntfs.efi par exemple

pour remaper les fs après l'ajout d'un périphérique ou d'un module de fs, 

shell> map -r 

Il y a aussi un éditeur 

shell> edit

A partir du shell il est possible de lancer les outils pour la gestion des clefs pour secure boot

MokManager, Keytool, hashtool permettent d'ajouter ou de supprimer des keys ou des hashes

RU.efi est un éditeur de BIOS... plutôt pointu et pas facile à gérer. A n'utiliser qu'avec beaucoup de précautions voire pas du tout !!!

Tous les fichiers sur : https://drive.google.com/drive/folders/1p8bFNmjYE-shY64pTNntJeYMO2aGatfr?usp=drive_link


jeudi 24 mai 2012

Raccourcis BASH

Control Key combinations (CTRL+KEY)

Ctrl + a : jump to the start of the line

Ctrl + b : move back a char

Ctrl + c : terminate the command

Ctrl + d : delete from under the cursor

Ctrl + e : jump to the end of the line

Ctrl + f : move forward a char

Ctrl + k : delete to EOL

Ctrl + l : clear the screen

Ctrl + r : search the history backwards

Ctrl + R : search the history backwards with multi-occurrence

Ctrl + u : delete backward from cursor

Ctrl + w : delete backward a word

Ctrl + xx : move between EOL and current cursor position

Ctrl + z : suspend/stop the command

Alt Key combinations (ALT+KEY)

Alt + < : move to the first line in the history

Alt + > : move to the last line in the history

Alt + ? : show current completion list

Alt + * : insert all possible completions

Alt + / : attempt to complete filename

Alt + . : yank last argument to previous command

Alt + b : move backward

Alt + c : capitalize the word

Alt + d : delete word

Alt + f : move forward

Alt + l : make word lowercase

Alt + n : search the history forwards non-incremental

Alt + p : search the history backwards non-incremental

Alt + r : recall command

Alt + t : move words around

Alt + u : make word uppercase

Alt + Backspace : delete backward from cursor

Escape Key combinations (ESC+KEY)

Esc + d : delete from cursor position to end of the word

Esc + f : move forward a word

Esc + b : move backward a word

Esc + t : transpose two adjacent words