Search results

  1. K

    Find Last 30 days modified files in Linux

    Linux allows you to search for files across the system using the find command. But what about the cases when you need to find files that were modified in a certain time period? Linux has commands for that purpose as well. It is the -mtime option. It’s used together with the find command to...
  2. K

    What are the methods to export SQL queries to a .txt file?

    You are at the right place to export SQL queries to a .txt file in 5 ways. Look out for the five methods such as • SQL Server Management Studio • BCP • Import/Export Wizard • PowerShell • SQL Server Command Line SQL Server Management Studio: It is not necessary to depend only on wizard...
  3. K

    Here’s How You Can Copy Files over SSH Without Password

    Typically when you use SSH to copy files from one server to another, you’re required to provide the password. The process goes something like this: You use the secure copy command and name the original file and the destination file like this: scp [options] original_file destination_file You...
  4. K

    Do you have 2 reasons for 550 rejection?

    Often you might have seen 550 rejections or 550 bad hello. Behind all the activity, there is only one smart user called spammers. Yes! You would have seen a set of people working to build a building on a construction site. All those people are men who work for a long time. Likewise, spammers use...
  5. K

    Steps to view running processes of user in SSH

    You can use below command to check currently running process. From ps command you can check the list of processes and for currently running processes you can use below command: # ps –aufx For a particular user: # ps -aufx | grep username For particular service: # ps -aufx | grep service_name
  6. K

    Command to check hidden files via SSH

    Hidden files are files which cannot be listed directly with ls command, mainly hidden files are used to execute the script about any services. You can run below command to check hidden files: ls –a
  7. K

    Command to sort the list of files/folders according to time

    As we know, ls command is used to list the files/folders and if you want to use ls command to list files/folders according to time then you can run below command: # ls –lt
  8. K

    In Linux or Unix enable apache file and directory indexing

    You can enable apache file and directory indexing by making changes in Apache config file: You can use directory options in Apache configuration file, httpd.conf file is an Apache configuration file. You can add below code in that file or you can also add that code in /etc/apache2/apache2.conf...
  9. K

    Steps to install Nginx on CentOS 7

    Nginx is a web server which is used for various different works but mostly used for reverse proxy or HTTP cache. But it can be also used for web server, load balancing, media streaming, etc. You can follow below steps to install Nginx: First you have to run below command to install Nginx...
  10. K

    Resolved error “Starting sshd: Missing privilege separation directory: /var/empty/sshd”

    Error: Starting sshd: Missing privilege separation directory: /var/empty/sshd Error Message: While starting the service, it will look for the symlink (softlink) to the 'localtime' and if it is unable to find then will result in the following error message. Solution: For the solution you...
  11. K

    Steps to disable email notification in cron job

    When then cron job runs everytime we get email notification, what if we want to disable this notification. Let’s see how to do this: You have to add this simple line in your cron job command. >/dev/null 2>&1 You can check below example. 15 * * * Mon ${HOME}/exampletask.sh > /dev/null 2>&1
  12. K

    Steps to upgrade Wordpress plugin

    You can upgrade your Wordpress plugin with 2 ways. Upgrade plugin with One-Click: In this you can easily upgrade your plugin automatically. For that you can follow below steps: Login to Wordpress >> Navigate to update section >> Here you can upgrade your plugin after selecting it. Enable...
  13. K

    Steps to resolve “MySQL Server Has Gone Away” Wordpress error

    If you want to resolve this error then you have to follow three steps: First you have to edit wp-db.php file in Wordpress After that repair your Wordpress database If your error still not resolved then you can contact your hosting provider and ask them to restore backup
  14. K

    Resolving the SQL Server Error 35206: A Complete Guide

    The SQL Server Error 35206 is common among server with high transactions. Most admins report of this error when transitioning from a Linux-based Oracle database to Microsoft’s SQL databases. The error dampens the entire process and creates unwanted delays. You’ll most likely receive the...
  15. K

    How to Export Large SQL Server Query Results to .txt File? (5 Different Ways)

    If you want to export a large SQL server query to a txt file, there are more than one ways. Which one to choose depends on your preference and credentials available to you. In this article, we explain five ways you can achieve this. Five Ways to Export SQL Server Query Results to txt file Here...
  16. K

    In Windows PHP is not working for domain. How to solve this issue?

    Mos of the time this issue occur when application extensions path is setup incorrectly. The correct path should be "C:\Program Files (x86)\PHP\v5.6\php-cgi.exe" in IIS. Let’s see how to set the correct PHP extensions path: Login to remote desktop services (RDP). Now open “IIS”. You have to...
  17. K

    Steps to create usergroup in Linux (CentOS7)

    For that first you have to create group with the help of groupadd command. sudo groupadd NAME-OF-THE-NEW-GROUP Now you have to use usermod command from which we can add user to that group. usermod -a -G wheel username NOTE: Here you have to replace username with actual username.
  18. K

    Steps to create Users in Linux (CentOS7)

    Add a new user: Login to server as root user. Now you have to add new user with adduser command. adduser username Here you have to replace username with your desired user which you want to create. After creating user you have to set password for it with passwd command. passwd username You...
  19. K

    Here is How You Fix the ‘550 Permanent Failure Blocked’ Email Error

    Email errors are frustrating for the end users who do not have much technical expertise. There are many errors you can encounter while sending or receiving emails. One such error is the ‘550 Permanent Failure Blocked’ email error. You’d most likely get this when sending an email to someone. In...
  20. K

    Steps to restore mysql database in cpanel

    You can follow below steps to restore mysql database: Login to cpanel. Here click on “Backup” option under “Files” section. You have to scroll your page and then you will find “Restore MySQL database backup”. Choose your backup file and upload it. It will take some time and your mysql backup...
Top