Useful tips for everyday
How to delete a line given with a variable in SED? Will delete any line containing the typed input. Bear in mind that sed matches…
What is the dpkg command to display information about a package named? dpkg command cheat sheet for Debian and Ubuntu Linux Syntax Description dpkg -p…
How do I get file descriptor from filename? You can use readlink on /proc/self/fd/NNN where NNN is the file descriptor. This will give you the…
How do I transpose data and paste? Transpose Data using Paste Special Select the data set (in this case A1:E5). Copy the dataset (Control +…
How do I fix screen tearing in Linux Mint? Re: screen tearing If you are using Cinnamon, go to System Settings > General, and turn…
How do I set VI tab to two spaces? 2. Set ‘tabstop’ and ‘shiftwidth’ to whatever you prefer and use ‘expandtab’. This way you will…
How do I install Windows 10 with PXE? Start the PC0001 computer. At the Pre-Boot Execution Environment (PXE) boot menu, press Enter to allow it…
What to do in case of a Linux kernel panic? Here’s how to avoid panicking when you see a Linux kernel panic. Linux is used…
How do I enable passive mode in Vsftpd? How to enable passive FTP connections in vsftpd Edit the conf file and add the following lines…
How to find package name in apt? Use apt-cache search to find the package name of a package in the default Ubuntu repositories that is…