Logo TheBeArsenal

Linux | Technical Handbook

Create bootable USB using 'dd' command.

Solution
sudo dd bs=4M if=path/to/input.iso of=/dev/sd conv=fdatasync status=progress


Append words to the end of the file in Linux.

Solution
echo 'input' >> filename


Display last few words of a file in Linux.

Solution
tail -c 100 filename


Insert text into the beginning of a file in Linux.

Solution
sed -i '1s/^/abcde /' filename


Install .deb file in Linux.

Solution
sudo dpkg -i /path/a.deb


Display the first few words of a file in Linux.

Solution
head -c 100 filename