Useful tips for everyday
How to recursively find text in a file? An easier way is to use Get-Content, this convert a file to an array of strings, one…
How do you change single quotes to double quotes in Unix? replacing single quotes with double quote in a file In case you have access…
How do I run a command from Bash history? To run a specific command from your history by its number, use the following command: For…
Is gzip compatible with Zip? 3 Answers. This is not possible. gzip and (pk)zip use different compression formats, and more significantly, zip also packages multiple…
How do I block access to other computers on my network? To set up access control: Launch a web browser from a computer or mobile…
Can you have two proxies? Using multiple proxies to serve different Web services can strengthen your company’s internal network security even further. To use multiple…
What is block device driver in Linux? A block driver provides access to devices that transfer randomly accessible data in fixed-size blocks—disk drives, primarily. The…
How do I print a particular line in Linux? Write a bash script to print a particular line from a file awk : $>awk ‘{if(NR==LINE_NUMBER)…
Can docker Read environment variables from host? You can pass the values of environment variables from the host to your containers without much effort. Simply…
Why do I get errors when I run a shell script? Assuming one of your requirement is to run a shell script/function containing a few…