Useful tips for everyday
How do you sort hex values? The first line will convert the hexadecimal numbers to decimal numbers. The second line concatenate the converted decimal numbers…
How do you use LILO? The /etc/lilo. conf File boot=/dev/hda. Tells LILO where to install the bootloader. map=/boot/map. The map file is automatically generated by…
How do you get the last line of a cat file? To look at the last few lines of a file, use the tail command.…
How to list all of the iptables rules by specification? There are two different ways to view your active iptables rules: in a table or…
How do I make a directory writable in Linux? How do I make a directory writable in Linux? chmod +w or chmod a+w – Write…
How do you execute a shell? Steps to write and execute a script Open the terminal. Go to the directory where you want to create…
How do I change permissions on settings? Change app permissions On your phone, open the Settings app. Tap Apps & notifications. Tap the app you…
How to automatically enter input into Bash script? You can supply user input to your script with cat, from a text file, piped to your…
Can files disappear from flash drive? It is not an entirely unusual scenario for files copied to USB drives to mysteriously disappear. Users have stated…
What variable holds the exit status from the last command? variable in Linux. “$?” is a variable that holds the return value of the last…