From 88625ba6829444d15df942cd71efa5a7f5286055 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Wed, 24 Apr 2024 00:13:41 +0000 Subject: [PATCH] Update cheatsheets --- tldr/linux/readelf | 6 +++++- tldr/z | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tldr/linux/readelf b/tldr/linux/readelf index a26907ce..a7febc82 100644 --- a/tldr/linux/readelf +++ b/tldr/linux/readelf @@ -20,6 +20,10 @@ source: https://github.com/tldr-pages/tldr.git `readelf --symbols {{path/to/binary}}` -- Display the information contained in the ELF header at the start of the file: +- Display ELF header information: `readelf --file-header {{path/to/binary}}` + +- Display ELF section header information: + +`readelf --section-headers {{path/to/binary}}` diff --git a/tldr/z b/tldr/z index f08ca348..6822d82c 100644 --- a/tldr/z +++ b/tldr/z @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # z -> Tracks the most used (by frecency) directories and enables quickly navigating to them using string patterns or regular expressions. +> Tracks the most used (by frequency) directories and enables quickly navigating to them using string patterns or regular expressions. > More information: . - Go to a directory that contains "foo" in the name: