====== Useful Gnu/Linux commands and tips ====== ===== Hardware ===== * [[computer_science:software:linux:commands:Display CPU information]] ===== Recovery ===== * [[computer_science:software:linux:commands:Cloning a Hard Drive]] * [[computer_science:software:linux:commands:Remount a partition in RW mode (fstab recovering)]] * [[computer_science:software:linux:commands:Mount .img file]] ===== Security ===== * [[computer_science:software:linux:commands:Crypt a Hard Drive using Cryptsetup]] * [[computer_science:software:linux:commands:Truecrypt]] ===== Bootloader ===== * [[computer_science:software:linux:commands:Remove splashscreen at the start of the OS]] ===== Files ===== * [[computer_science:software:linux:commands:Delete all files with the same name pattern in a directory and its subdirectories]] * [[computer_science:software:linux:commands:Archive all files in a directory]] ===== Data manipulation ===== * [[computer_science:software:linux:commands:Display the n first lines of a text file]] ==== With tool sed ==== * [[computer_science:software:linux:commands:Display only the line n of a text file]] * [[computer_science:software:linux:commands:Remove all lines of a text file except the ones containing a keyword]] ===== Multimedia ===== * [[computer_science:software:linux:commands:Play MP3 from the command line]]