Useful tips for everyday
What is the difference between yum update and yum install? yum update – If you run the command without any packages, update will update every…
How is data accessed from a block device? The data from the block device is accessed as blocks defined by the structure buffer_head. For example,…
What is an example of using xargs to find files? The example above demonstrates using the find command to find all files with the .sh…
How do I copy the last command in Linux? Following are the 4 different ways to repeat the last executed command. Use the up arrow…
How to restore a backup from windows to Linux? Make a few switch log in windows. SQL> alter system switch logfile; System altered. Transfer all…
How do I enable the Fn key on my laptop? Press fn and the left shift key at the same time to enable fn (function)…
What is the VAR www folder? var/www/html is just the default root folder of the web server. You can change that to be whatever folder…
How do I Screenshot Btrfs? You can use the “cp –reflink” command to take a snapshot of a file. With this option, the file system…
How do I remove a loopback device? Try to stop the process, which could use /dev/loop0. If necessary use kill -9 or try fuser -k…
Which command we can use to find out which partition a directory is on? 1. fdisk. Fdisk is the most commonly used command to check…