Useful tips for everyday
How do I access Samba share from MAC? Open up the Finder and click Go | Connect to Server. In the resulting window type smb://…
How do I change my USB drive to boot? Boot from USB: Windows Press the Power button for your computer. During the initial startup screen,…
How do I connect to SSH WiFi? Enable SSH and WiFi [option 1] (Through Display and Mouse) Connect a screen to HDMI, Keyboard and Mouse…
How do I always show grub menu? You can get GRUB to show the menu even if the default GRUB_HIDDEN_TIMEOUT=0 setting is in effect: If…
How to repeat a char using printf or puts? You’ll have to either write a loop using printf or puts, or write a function that…
What does wait PID do? Suspends the calling process until a child process ends or is stopped. More precisely, waitpid() suspends the calling process until…
How do I turn off history in Linux? This post will help you to remove/ disable Bash shell commands history on Linux. Disable history for…
How to print all lines after a match in SED? Printing all lines after a match in sed: $ sed -ne ‘/pattern/,$ p’ # alternatively,…
How do I connect to WiFi on VirtualBox Linux? VirtualBox does not offer a WiFi adapter to any VMs, it’s only Ethernet adapters, i.e. wired…
Can you assign variables to print? A more explicit way to print the value of a variable is to use the print() function. Here we…