We will be needing root permissions to enable this feature. Default view of vi/vim without syntax highlighting: It would be a lot easier for developers to read / create programs if the codes they are writing are more distinct, so let’s enable syntax highlighting in our environment. STEPS: Check whether our current version of vi supports […]
This method requires root privileges. Heads up, use this method at your own risk. I would not recommend using this approach in production level environment. Steps: Create a shell script drop_multiple_db.sh then paste the following contents in it. Set User and Password. Modify the contents of the DBS variable, write all the database names that you […]
You need to have root permissions to execute these commands I. DISABLE PING RESPONSE PERMANENTLY Append this line to /etc/sysctl.conf file. Reload sysctl. II. DISABLE PING RESPONSE TEMPORARILY Use this command to disable ping response: Use this command to re-enable ping response:
Background: 404 errors during yum install are usually encountered when the downloaded yum metadata in your CentOS gets obsolete. Solution: I’ll be assuming that you already have root privileges in your machine. You have 2 options to resolve this problem. 1st option is to clear the yum metadata using this command: 2nd option is to […]
Requirements: Tested on ESXi 5.5 and 6.0 vSphere client version 6.0 OS Windows 8 Putty for SSH access Assuming that you have root privileges/account on your ESXi Server. Steps: Login to your vSphere client. Click the ESXi server on the left panel, it is usually the IP of your server. Go to Configuration tab, […]
Steps: Login to your server. Let’s check your default location using pwd. Modify your .bashrc file. Append the cd /<desired location>. Save Logout/exit. Login again then check if your default directory is changed.
Steps: Open Start menu and click on Search. Type cmd then hit enter. Type ipconfig then hit enterr. Take note of the IP address (IPv4) then save it for later. Type systempropertiesremote.exe then hit enter. Select Allow Remote Connection to this Computer. Check Allow only Computers running Remote Desktop with Network Level Authentication. Click OK. That’s […]
“I’m giving away MILLIONS of FREE Microsoft eBooks again! Including: Windows 10, Windows 8.1, Windows 8, Windows 7, Office 2013, Office 365, SharePoint 2013, Dynamics CRM, PowerShell, Exchange Server, Lync 2013, System Center, Azure, Cloud, SQL Server, and” -Eric Ligman Eric Ligman, Microsoft’s Senior Sales Excellence Manager is giving away a huge collection of FREE […]
Steps: Go to Menu -> Preferences Open/click Settings – User Append this line Do not forget to add a comma (,) from the previous entry. Save Restart Sublime You can now see the file path from your ST3’s title bar.
You can delete all files and/or directories with some exceptions using this command: We will be using: ls command to list all the names of files and folders on our current directory. | grep -v (grep inverse) to filter all the names of files and folders which are not on your <name> list. | xargs to pass the results from the previous commands […]