Useful tips for everyday
Why actual file size and file size on disk is different? Size is the actual size of the file in bytes. Size on disk is…
Does malloc call brk? This is exactly what malloc() does. It aggregates a lot of smaller malloc() requests into fewer large brk() calls. Doing so…
How to perform a Perl substitution on a string? I usually just copy the string to a new variable then bind it to the s///…
How to override the default group in sudoers? The sudoers_gid argument can be used to override the default group of the sudoers file. It must…
How to get gnome lock screen? To lock the screen in GNOME, do one of these things: From the Applications menu, choose Other then Screen…
Is there a way to escape spaces in a file path? Three Ways to Escape Spaces on Windows. There are three different ways you can…
How do you pause a resume process? All you have to do is find the PID (Process ID) and using ps or ps aux command,…
How do you type special characters when typing? The US International Keyboard gives you two ways to add a special character: Use the right-hand Alt…
How do I remove text after first space in Excel? Select a blank cell, enter the formula =LEFT(A2,FIND(” “,A2)-1) (A2 is the cell where you…
How do I exclude in rsync? The rsync tool allows you to exclude certain file types when synchronizing data. Use an asterisk * followed by…