Useful tips for everyday
What is Postrouting and Prerouting? PREROUTING: Immediately after being received by an interface. POSTROUTING: Right before leaving an interface. INPUT: Right before being handed to…
How do I export all users path? Modify the “/etc/profile” file: vi /etc/profile. Press the I key to enter editing mode and move the cursor…
How do I fix printer access denied? Configure the printer that is having the problem to print directly to the printer: Click Start, point to…
How do I allow anonymous FTP? To allow anonymous FTP access: Go to Websites & Domains and click FTP Access. Click the Anonymous FTP tab.…
How to automate shell scripts with expect command? The other rows that remain are the Expect script that connects to our shell script. Last line…
How do I assign a key to SSH? Set up SSH on macOS/Linux From the terminal, enter ssh-keygen at the command line. The command prompts…
What do terminal emulators do? A terminal emulator allows a host computer to access another computer, including remote ones, through either a command-line interface or…
How do you set up a vagrant box? Creating Boxes via the Vagrant Cloud Web Interface Go to the Create Box page. Name the box…
Can you call functions in a for loop? “function” as a keyword is only used for defining functions, and cannot be used inside a loop…
How do I force delete a file in C drive? To do this, start by opening the Start menu (Windows key), typing run , and…