Video transcript: NetCloud24 Expert Guides. Practical knowledge for a reliable cloud.
Cloud and VPS expertise, security, performance, and step-by-step tutorials.
Learn, deploy, and keep building with NetCloud24.
La commande od (octal dump) est un utilitaire puissant sur Linux qui permet de afficher le contenu d’un fichier sous différentes formes. Ce tutoriel vous présente 6 exemples pratiques pour mieux comprendre cette commande.
Exemple 1 : Afficher le contenu d’un fichier en octal
$ od -c fichier.txt
Ceci affichera le contenu de fichier.txt en octets octaux.
Exemple 2 : Afficher le contenu d’un fichier en hexadécimal
$ od -x fichier.txt
Cela affichera le contenu de fichier.txt en hexadécimal.
Exemple 3 : Afficher le contenu d’un fichier en ASCII
$ od -A n -t a fichier.txt
Ici, nous utilisons -A n pour supprimer les adresses et -t a pour afficher le contenu en ASCII.
Exemple 4 : Afficher le contenu d’un fichier en binaire
$ od -t x1 fichier.txt
Cela affichera le contenu du fichier en bytes, chaque byte affiché en hexadécimal.
Exemple 5 : Afficher le contenu d’un fichier avec des offsets
$ od -N 16 fichier.txt
Cela permettra de n’afficher que les 16 premiers octets du fichier spécifié.
Visual overview: Tutoriel de la commande OD sous Linux pour les débutants
Exemple 6 : Afficher le contenu d’un fichier en format Mixte
$ od -A n -t x1 -t a fichier.txt
Cela affichera le contenu en hexadécimal et en ASCII.
Pour vos besoins en serveurs, envisagez un serveur vps pour héberger vos fichiers et exécuter des commandes Linux efficacement.
Łukasz Bodziony is the CEO and founder of NETCLOUD24, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance Windows VPS and Remote Desktop Services (RDS) solutions to clients across Europe, North America, and beyond.
His expertise covers a wide range of technologies, including Microsoft Azure, Proxmox VE, Amazon Web Services (AWS), and numerous other virtualization and cloud platforms.
Beyond running his hosting business, Łukasz also provides professional paid server configuration and optimization services for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.
If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via Windows VPS.
Tutoriel de la commande OD sous Linux pour les débutants