How to change URL in your WordPress site  using Shell on Linux Server

To change your URL you need to access functions.php file using Shell on Linux Server, functions.php file will be available in your current active theme. We assume here our active theme is Twentyfifteen in our WordPress Site root@www1:~# clear root@www1:~# cd /usr/share/nginx/html/wp-content/themes/t twentyfifteen/ twentyfourteen/ twentythirteen/