{"id":70700,"date":"2024-05-17T03:58:50","date_gmt":"2024-05-17T09:58:50","guid":{"rendered":"https:\/\/www.scalahosting.com\/blog\/?p=70700"},"modified":"2026-01-22T00:14:34","modified_gmt":"2026-01-22T06:14:34","slug":"the-most-useful-linux-ssh-commands-for-website-developers","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/blog\/the-most-useful-linux-ssh-commands-for-website-developers\/","title":{"rendered":"Useful SSH Commands for Web Developers"},"content":{"rendered":"\n<p>Nearly 70% of desktop computers run on Windows. A further 20% are based on macOS. In light of this, many of you may be a bit apprehensive when you learn that the server you host your website on is powered by <strong>Linux <\/strong>&#8211; an <em>operating system traditionally associated with computer geeks and technical specialists.<\/em><\/p>\n\n\n\n<p><em>The truth is, you have nothing to worry about.<\/em><\/p>\n\n\n\n<p>The web hosting industry has adapted its services to ensure you don&#8217;t need to be a technical wizard to use your hosting account. Modern server management solutions like <a href=\"https:\/\/www.scalahosting.com\/spanel.html\"><strong>SPanel<\/strong><\/a><strong> <\/strong>give you everything a typical website owner might need in <strong>a newbie-friendly point-and-click interface<\/strong>.<\/p>\n\n\n\n<p>However, this isn&#8217;t always enough for experienced website developers and administrators. They often find it easier to use <strong>SSH commands<\/strong> to perform various tasks. The fact that you landed on this page means you most likely want to learn a bit more about<strong> Linux commands<\/strong> as well.<\/p>\n\n\n\n<p>Getting to know them does make sense. It will give you a better understanding of how your server works and level up your technical expertise.<\/p>\n\n\n\n<p>So, let&#8217;s get to it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Is SSH and How Do You Use It?<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full mpg-gallery\"><img decoding=\"async\" width=\"1140\" height=\"513\" src=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-What-Is-SSH-1140x513-1.webp\" alt=\"Useful SSH Commands for Web Developers, What Is SSH and How Do You Use It?\" class=\"wp-image-70703\" srcset=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-What-Is-SSH-1140x513-1.webp 1140w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-What-Is-SSH-1140x513-1-300x135.webp 300w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-What-Is-SSH-1140x513-1-768x346.webp 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p>Before we get to the commands, we first need to explain how to actually execute them. It&#8217;s all facilitated by <a href=\"https:\/\/www.scalahosting.com\/blog\/what-is-ssh-and-how-to-use-it\/\"><strong>SSH<\/strong><\/a><strong> <\/strong>&#8211; a networking protocol that connects your computer to your server and allows you to <strong>send commands over the internet<\/strong>. SSH stands for <strong>Secure Shell<\/strong>.<\/p>\n\n\n\n<p><em>To understand SSH&#8217;s value, it&#8217;s best to explain the two words separately.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><strong>Secure<\/strong><\/h3>\n\n\n\n<p>SSH is secure because it uses complex cryptography to fully encrypt the communication channel between you and your server. Before this tool, information between clients and servers was transmitted in plain text, opening the opportunity for<em> eavesdropping, data theft, and even server takeover.<\/em><\/p>\n\n\n\n<p>To eliminate this, SSH uses a secure algorithm involving a combination of <strong>public and private cryptographic keys<\/strong> to ensure any information exchanged between your computer and your hosting server is inaccessible to third parties.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><strong>Shell<\/strong><strong><\/strong><\/h3>\n\n\n\n<p>In a computing context, a <strong>Shell <\/strong>is the interface you use to interact with the operating system. If you use Windows, the shell consists of things like the desktop, taskbar, Start menu, close, restore, and minimize buttons, etc.<\/p>\n\n\n\n<p>When it comes to<strong> Unix-based operating systems like Linux<\/strong>, the shell is more often associated with <strong>the Terminal<\/strong> &#8211; the program that reads the commands you enter and tells the computer what needs to be done.<\/p>\n\n\n\n<p>So, when you use SSH, you establish a secure connection to your server and send commands. The shell interprets them and tells Linux what you want to do.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a>Establishing an SSH Connection<\/h2>\n\n\n\n<p>The easiest way to open an SSH connection to your server is to use your computer&#8217;s own command-line interface. Windows users can use <strong>PowerShell <\/strong>or <strong>Command Prompt<\/strong>, and if you have a Mac or another Unix-based OS &#8211; <strong>the Terminal<\/strong> is the easiest way forward.<\/p>\n\n\n\n<p>You start with:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>ssh [your username]@[your server&#8217;s IP or hostname]<\/em><\/p>\n\n\n\n<p>Your computer will try to establish a connection on <strong>port 22<\/strong> on your server. Bear in mind that your host may use a different SSH port for security reasons. If that&#8217;s the case, you&#8217;ll need to add <strong><em>-p <\/em><\/strong>followed by the port number to the command above.<\/p>\n\n\n\n<p>The server then asks you for your <strong>password<\/strong>, and after successful authentication, it opens the shell so you can start executing commands. Another option is to use a <strong>dedicated SSH client<\/strong>.<\/p>\n\n\n\n<p><strong>PuTTy<\/strong> is the most popular one, mainly because it&#8217;s lightweight and available for pretty much any platform you can think of. It remembers your <strong>session information and login credentials<\/strong>, so you don&#8217;t have to enter your password whenever you want to use it. Furthermore, it enables authentication via <a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-generate-an-ssh-key-pair-in-windows-using-putty\/\"><strong>SSH keys<\/strong><\/a> &#8211; a more convenient and secure alternative to the regular password.<\/p>\n\n\n\n<p>With the basics explained, it&#8217;s time to see what you can do once an <strong>SSH connection is established.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Useful SSH Commands for Website Owners and Developers<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full mpg-gallery\"><img decoding=\"async\" width=\"1140\" height=\"513\" src=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-Useful-SSH-Commands-1140x513-1.webp\" alt=\"Useful SSH Commands for Web Developers, Useful SSH Commands for Website Owners and Developers\" class=\"wp-image-70704\" srcset=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-Useful-SSH-Commands-1140x513-1.webp 1140w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-Useful-SSH-Commands-1140x513-1-300x135.webp 300w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-Useful-SSH-Commands-1140x513-1-768x346.webp 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p>What you do with your server over SSH depends mainly on what sort of access you have. If your host gives you <strong>root privileges<\/strong>, you can do whatever you want. You can install new software, apply updates, change core server settings, update configuration files, etc.<\/p>\n\n\n\n<p>However, you don&#8217;t need root access for everything. Quite a few commands don&#8217;t require full control over the server but can still help you manage your project. Let&#8217;s have a look at some of them.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>cd<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>Unlike most commands on this list, <strong><em>cd<\/em><\/strong> also works on many non-Unix operating systems, including Windows. It stands for <strong>c<\/strong>hange <strong>d<\/strong>irectory, and as you may have guessed, it&#8217;s used to <strong>change the current working directory<\/strong>.<\/p>\n\n\n\n<p>After you <strong>start a new SSH session<\/strong>, your current working directory is your account&#8217;s home folder (usually, <em>\/home\/[your account&#8217;s username]\/<\/em>). Inside it is the <em>public_html <\/em>folder &#8211; your site&#8217;s document root. To go to it, you need to enter:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ cd public_html<\/em><\/p>\n\n\n\n<p><strong>You can also jump straight to a directory within <em>public_html:<\/em><\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ cd public_html\/folder-name<\/em><\/p>\n\n\n\n<p><strong>To go back one level, you use:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ cd ..<\/em><\/p>\n\n\n\n<p><strong>And to go straight back to your account&#8217;s home directory, you can use:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ cd ~<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>ls<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>Like <em>cd<\/em>, <em>ls <\/em>works on many non-Unix systems. You use it to <strong>view the contents of a directory<\/strong>. For example, if you are in <em>public_html <\/em>and you type just <strong><em>ls<\/em><\/strong>, you&#8217;ll see the names of the files and folders in the current directory arranged in alphabetical order.<\/p>\n\n\n\n<p>You may notice that the .htaccess file is missing from the list. That&#8217;s because it&#8217;s hidden.<\/p>\n\n\n\n<p><strong>To include hidden files, you need to use:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ ls -a<\/em><\/p>\n\n\n\n<p><strong>If you want to see the file size, permission, and ownership information, and modification timestamps, you need:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>ls -l<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>mkdir<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>The <strong><em>mkdir <\/em><\/strong>command <strong>creates new directories<\/strong>. If you&#8217;re creating the new folder in the current working directory, you just specify its name after the command.<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ mkdir new-folder<\/em><\/p>\n\n\n\n<p><strong>However, you can also create subfolders. For example, you are in <em>home\/user<\/em>, and you can set up a new folder inside <em>public_html <\/em>(a subdirectory) with:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ mkdir public_html\/new-folder<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>rm<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>This is perhaps the command you should be most careful with. It&#8217;s short for <em>remove<\/em> and is used to <strong>delete objects from the disk<\/strong>. These could include files, folders, symbolic links (the equivalent of Windows shortcuts), file systems, etc.<\/p>\n\n\n\n<p>Bear in mind that the files and folders you remove with <strong><em>rm <\/em><\/strong>aren&#8217;t sent to a recycle bin or trash facility that can help you recover them if you make a mistake. They&#8217;re removed from the disk, so they&#8217;re gone for good.<\/p>\n\n\n\n<p>The syntax is pretty straightforward, especially if you want to delete a file from your current working directory. All you need to do is specify the file&#8217;s full name (including the extension). For example:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ rm file.txt<\/em><\/p>\n\n\n\n<p><strong>There are quite a few options, though:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>$ rm -f <\/em><\/strong>deletes the specified file or folder forcefully. There&#8217;s no prompt asking you whether you&#8217;re sure you want to continue.<\/li>\n\n\n\n<li><strong><em>$ rm -r <\/em><\/strong>is used for recursively removing folders and the objects in them.<\/li>\n\n\n\n<li><strong><em>$ rm -v <\/em><\/strong>displays a message informing you whether or not the process has been successful.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>df<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>The <strong><em>df<\/em><\/strong>command employs the <em>disk free <\/em>utility embedded in Linux to show you <strong>information on storage space usage<\/strong> for mounted filesystems.<\/p>\n\n\n\n<p>On its own, <strong><em>df <\/em><\/strong>displays a table showing all the <strong>mounted filesystems on the server<\/strong>, their total size in kilobytes, how much of it is used, how much is available, the percentage usage, and the mounting point.<\/p>\n\n\n\n<p>The command can be used for <strong>specific filesystems<\/strong>, and with the <strong><em>-h <\/em><\/strong>(short for <em>human readable<\/em>) flag, the usage data is converted to <strong>megabytes and gigabytes<\/strong>, so the output is easier to understand.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>du<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>The <strong><em>du <\/em><\/strong>command <strong>prints detailed reports on disk usage<\/strong> for specific files and directories. It lets you manage storage more efficiently, identify directories that take up too much space, and <strong>generally improve data management<\/strong> on your server.<\/p>\n\n\n\n<p>By default, it produces a list of all the files, folders, and subfolders in the current working directory, so it&#8217;s best to apply it to specific objects.<\/p>\n\n\n\n<p>The syntax is as follows:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ du [flags] [filepath]<\/em><\/p>\n\n\n\n<p>There are a few flags you&#8217;ll likely use with the command. With <strong><em>-h<\/em><\/strong>, the utility converts the usage stats into kilobytes, megabytes, and gigabytes, making the report easier to read. With the <strong><em>-s <\/em><\/strong>flag, the utility only prints the space usage information for the specific directory it&#8217;s applied to without detailing every single inode. And if you use <strong><em>&#8211;time<\/em><\/strong>, you&#8217;ll see a timestamp next to each object showing you when it was last modified.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>ps<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>The <strong><em>ps<\/em><\/strong> command stands for <em>process status<\/em> and gives you an<strong> insight into the tasks currently running on your server<\/strong>. When executed on its own, <strong><em>ps <\/em><\/strong>prints a table with all the currently <strong>active processes, their IDs, the terminal type <\/strong>the user is logged in to, the CPU time, and the command that launched it.<\/p>\n\n\n\n<p>By default, <strong><em>ps<\/em><\/strong> displays information about processes associated with the current terminal session. Using the<strong><em> -A<\/em><\/strong> option, you can<strong> see the processes running on the entire system<\/strong>. The amount of visible information depends on the level of privileges your user has.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>find<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>The <strong><em>find<\/em><\/strong>command is one of the most useful tools in the arsenal of any Linux user. It&#8217;s a powerful utility that helps you <strong>quickly and efficiently find the information you&#8217;re looking for <\/strong>within the filesystem on your server.<\/p>\n\n\n\n<p><strong>You can use the following syntax:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ find [path] [options] [expression]<\/em><\/p>\n\n\n\n<p>The path specifies where you want Linux to search. Options let you modify the search conditions, and through the expression, you set the criteria for the search. There are many options and criteria you can learn about as you use the command. To get an idea of how it works, we have a quick example.<\/p>\n\n\n\n<p>Imagine you have multiple <a href=\"https:\/\/www.scalahosting.com\/blog\/how-to-install-wordpress\/\"><strong>WordPress installations<\/strong><\/a> scattered in various subfolders of the <em>public_html<\/em> directory. You want to know how many there are and where they&#8217;re located.<\/p>\n\n\n\n<p>Every active WordPress installation has a <strong>wp-config.php file<\/strong>, which you can use to your advantage. The command you need is:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ find \/public_html\/ -name &#8220;wp-config.php&#8221;<\/em><\/p>\n\n\n\n<p>Linux will scour the contents of the <em>public_html<\/em> folder and will display the list with the file paths of all your<strong> WordPress configuration files<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>cat<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>The <strong><em>cat<\/em><\/strong> command is the easiest way to <strong>look at the contents of a file<\/strong>. For example, if you&#8217;re in the document root folder of your <a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-create-a-wordpress-website-for-beginners\/\"><strong>WordPress website<\/strong><\/a>, and you want to see what&#8217;s inside the main configuration file, you just enter:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ cat wp-config.php<\/em><\/p>\n\n\n\n<p>Linux prints the file&#8217;s contents in the Terminal without opening a <strong>text editing application<\/strong>. You can open multiple files at once by adding their names to the command (i.e., <strong><em>$ cat file1 file2<\/em><\/strong>), and the <strong><em>-n<\/em><\/strong> option adds line numbers to make the output more readable.<\/p>\n\n\n\n<p>You can create new files with <strong><em>cat<\/em><\/strong> as well. The syntax is as follows:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ cat &gt; filename<\/em><\/p>\n\n\n\n<p>After you hit <em>Enter<\/em>, Linux moves you to a new line where you input the file&#8217;s content. To save the file, hit <em>Enter <\/em>again and press <em>Ctrl+D<\/em>.<\/p>\n\n\n\n<p>You can also merge two files together. The syntax you need to follow is:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ cat file1.txt file2.txt &gt; file3.txt<\/em><\/p>\n\n\n\n<p>To <strong>append the contents of one file <\/strong>to the end of another, you can use:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ cat file1.txt &gt;&gt; file2.txt<\/em><\/p>\n\n\n\n<p>If you want to append text to a file, the syntax is:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ cat &gt;&gt; filename<\/em><\/p>\n\n\n\n<p>The console will open a new line where you add your text. Press <em>Enter<\/em> and <em>Ctrl+D <\/em>to save the changes.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>less<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>With the <strong><em>less <\/em><\/strong>command, you can view the contents of a file one page at a time.<strong> Instead of displaying all the text at once and having to scroll through it<\/strong>, it prints only the information that fits on the screen. You use the spacebar to move to the next page.<\/p>\n\n\n\n<p>This is particularly useful when you need to <strong>go through large logs with lots of data<\/strong>. It not only makes it easier to read through them but also helps the server breathe more easily. If you view a large file with <strong><em>cat<\/em><\/strong>, the entire document would need to be loaded and displayed. With <strong><em>less<\/em><\/strong>, Linux only reads the data visible to the user at any given time, so the file is effectively loaded one small chunk at a time.<\/p>\n\n\n\n<p>If you want to stop reading the document and return to the shell, press <em>q<\/em>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>nano<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>GNU Nano is a text editor pre-installed on most <strong>Linux distributions<\/strong>. With it, you can <strong>open, view, and modify the contents of any file<\/strong>.<\/p>\n\n\n\n<p>It&#8217;s not the only Linux text editor, and some developers argue that Vim is the better choice. However, the general consensus is that<strong> Nano is more user-friendly and has enough features<\/strong> for the average website owner.<\/p>\n\n\n\n<p>To open an existing file, you just need to use the <strong><em>nano<\/em><\/strong> command and specify which file you want to edit. If it&#8217;s in your current working directory, you simply enter its name. If it&#8217;s in a different folder &#8211; you have to specify the file path. For example:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ nano \/public_html\/blog\/wp-config.php<\/em><\/p>\n\n\n\n<p>The principles are the same if you want to create a new file. You enter the <strong><em>nano<\/em> command<\/strong> followed by the name of the new file.<\/p>\n\n\n\n<p>Nano may be a command-line tool, but its interface is actually pretty straightforward to get around. It also has plenty of features. You can use your mouse or keyboard to <strong>mark, copy, cut, and paste text<\/strong>.<\/p>\n\n\n\n<p>There&#8217;s a <strong>find-and-replace utility<\/strong> and <strong>syntax highlighting<\/strong> for supported languages. When you&#8217;re done editing a file, you can press <em>Ctrl+X<\/em>. Nano will ask you if you want to save the changes before closing the application and returning you back to the shell.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>grep<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong><em>Grep<\/em><\/strong> stands for &#8220;<em>global regular expression print<\/em>.&#8221; The command is used for finding text patterns inside files in Linux.<\/p>\n\n\n\n<p>Say, for example, you want to find out the name of the database your WordPress website uses. You know it&#8217;s available under the <strong><em>DB_NAME<\/em> variable<\/strong> in the <em>wp-config.php <\/em>file.<\/p>\n\n\n\n<p><strong>Instead of opening the file and trying to locate the line with the correct information yourself, you can use the following command:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ grep &#8220;DB_NAME&#8221; wp-config.php<\/em><\/p>\n\n\n\n<p>The command above will only work if you&#8217;re in the same folder as the wp-config file. If you want to perform a recursive search in the current working directory and all its subfolders, you can use the <strong><em>-r<\/em><\/strong> option.<\/p>\n\n\n\n<p>By default, all <strong>commands and names in Linux are case-sensitive<\/strong>. If you want to ignore case sensitivity when using <strong><em>grep<\/em><\/strong>, use the <strong><em>-i<\/em><\/strong> option. On the other hand, if you&#8217;re going to find exact matches only, you use the <strong><em>-w<\/em><\/strong> option.<\/p>\n\n\n\n<p>If you only need a list of the files containing the term you&#8217;re looking for, you can use the <strong><em>-l<\/em><\/strong> option.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>replace<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>The <strong><em>replace <\/em><\/strong>utility can <strong>automatically swap one string of text for another<\/strong>. You just need to specify the file you wish to edit and the object you want to change. The syntax looks like this:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ replace &#8220;original text&#8221; &#8220;new text&#8221; &#8212; file.txt<\/em><\/p>\n\n\n\n<p>Remember to put the strings in quotes and leave a space between the <strong><em>&#8212; <\/em><\/strong>and the filename.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>crontab<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>In Linux, you can <strong>specify commands or programs to be executed at a specific time<\/strong>. For example, you can create a script that checks for updates to your <strong>site&#8217;s CMS and plugins<\/strong> and installs them if available. The script can be scheduled to run every day at midnight when your site isn&#8217;t that busy.<\/p>\n\n\n\n<p>The scheduled task is referred to as a <em>cron job<\/em>. Every cron job you create is stored and managed through your own cron table, and with the <strong><em>crontab<\/em><\/strong> command, you can view and edit that table.<\/p>\n\n\n\n<p><strong>To view the cron jobs set for your user, you need the following command:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ crontab -l<\/em><\/p>\n\n\n\n<p><strong>If you want to edit it, you&#8217;ll use:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ crontab -e<\/em><\/p>\n\n\n\n<p>Linux opens the default text editor (<em>often GNU Nano, but it could also be Vim<\/em>) and allows you to modify your cron table.<\/p>\n\n\n\n<p>Server owners can also edit the cron tables of other users. To do that, they need to specify which account they&#8217;ll edit using the <strong><em>-u<\/em><\/strong> option.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>wget\/curl<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>Both <strong><em>wget<\/em><\/strong> and <strong><em>curl<\/em><\/strong> are used to <strong>download files on your server<\/strong>. The main difference between the two is that <strong><em>wget<\/em><\/strong> is considered more user-friendly, and <strong><em>curl <\/em><\/strong>is the more versatile tool with a broader range of options and <strong>supported protocols<\/strong>.<\/p>\n\n\n\n<p>The syntax with <strong><em>wget <\/em><\/strong>is as straightforward as you&#8217;d expect. You simply need to add the URL of the file you want to download. For example, if you wish to download an archive with the latest version of <strong>WordPress to your server<\/strong>, the command you need is:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ wget https:\/\/wordpress.org\/latest.tar.gz<\/em><\/p>\n\n\n\n<p>With this, <strong>Linux downloads <\/strong>the<strong> TAR archive<\/strong> and saves it with the same name in the current working directory. If the process is interrupted before the download is complete, you can use the <strong><em>-c<\/em> <\/strong>option (placed before the URL) to resume the download instead of starting from scratch &#8211; useful when shifting large files.<\/p>\n\n\n\n<p>The syntax <strong><em>curl<\/em><\/strong> uses is similar. Here&#8217;s the basic command for completing the task we outlined above:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ curl -O https:\/\/wordpress.org\/latest.tar.gz<\/em><\/p>\n\n\n\n<p>This will save the WordPress archive as <em>latest.tar.gz <\/em>in your current working directory. If you want to save it with a different name, use the <strong><em>&#8211;output <\/em><\/strong>option. For example, if we want the archive to be stored as <em>wordpress.tar.gz <\/em>instead of <em>latest.tar.gz<\/em>, we&#8217;ll use:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ curl &#8211;output wordpress.tar.gz https:\/\/wordpress.org\/latest.tar.gz<\/em><\/p>\n\n\n\n<p>Just like <strong><em>wget<\/em><\/strong>, <strong><em>curl<\/em><\/strong> supports continuous download with the <strong><em>-c<\/em><\/strong> option.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>tar<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>Tar (sometimes called tarball) is a computer utility that <strong>collects multiple files into an archive<\/strong>. The technology was first developed in the 1970s, and its name derives from <em>tape archive<\/em> because, at the time, some<strong> storage devices used magnetic tapes.<\/strong><\/p>\n\n\n\n<p>This seems like ancient times now, but despite this, tar archives are still widely distributed today, especially on <strong>Unix-based systems<\/strong>. If you regularly use the command line, you should familiarize yourself with the <strong><em>tar<\/em><\/strong> command.<\/p>\n\n\n\n<p>Let&#8217;s start with creating a new archive. Say you&#8217;re in your home directory and want to create an archive with the contents of your <strong>public_html folder<\/strong>. The command is:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ tar -vcf new.tar public_html<\/em><\/p>\n\n\n\n<p>As you can see, we use three options. The <strong><em>-v <\/em><\/strong>flag stands for verbose mode. It means that Linux will print out the name of every file and directory it puts in the archive as it&#8217;s doing it. You can create the archive without it, but most server owners prefer to use it as a progress update.<\/p>\n\n\n\n<p>With the <strong><em>-c<\/em><\/strong> option, we tell Linux that we&#8217;re creating a new archive, and with <strong><em>-f<\/em><\/strong>, we indicate we&#8217;ll specify its name.<\/p>\n\n\n\n<p>The command above will put the files and folders you want in an archive but won&#8217;t use any compression. To enable it, you need to use the <strong><em>-z<\/em><\/strong> flag to Linux to compress the data using gzip. You must also save the new archive with a <strong>.tar.gz <\/strong>extension.<\/p>\n\n\n\n<p><strong>So, the command above would look like this:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ tar -vcfz new.tar.gz public_html<\/em><\/p>\n\n\n\n<p>To view the contents of an existing archive, you need to swap the <strong><em>-c<\/em><\/strong> option for <strong><em>-t<\/em><\/strong>. So, if you want to check what&#8217;s inside the archive you created minutes ago, you&#8217;ll need to enter:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ tar -vtf new.tar.gz<\/em><\/p>\n\n\n\n<p>Finally, when you need to extract the files and folders from your archive, you should use the <strong><em>-x<\/em><\/strong> option. <strong>To unload all the data from the archive, the command would be:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ tar -vxf new.tar.gz<\/em><\/p>\n\n\n\n<p>You can also extract a single file from the archive simply by adding its file path to the end of the command.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>zip\/unzip<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>The <strong><em>zip <\/em><\/strong>and <strong><em>unzip<\/em><\/strong> commands are used for <strong>managing ZIP archives<\/strong>. Zip is by far the more popular format of the two, mainly because it&#8217;s supported out of the box on <strong>Windows machines<\/strong>. Although Tar archives are widely used on <strong>Linux systems<\/strong>, you&#8217;ll likely encounter <strong>Zip archives<\/strong> as well, so it&#8217;s a good idea to learn how to manage them through the command-line interface.<\/p>\n\n\n\n<p>The syntax is pretty simple. When you want to create a new archive and put files into it, you use the <strong><em>zip <\/em><\/strong>command followed by the name of the archive and the file paths of the items you want to add to it.<\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ zip new-zip-archive file1.txt file2.php file3.css<\/em><\/p>\n\n\n\n<p>Note that the <em>.zip<\/em> extension is added to your new archive automatically. You can add only files with specific extensions to your archive. For example, if you only want to archive only the <strong>PHP files in your current working directory<\/strong>, you need:<\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ zip new-zip\u2013archive *.php<\/em><\/p>\n\n\n\n<p>If you want to add a folder to an archive, navigate to its parent directory and use the <strong><em>-r<\/em><\/strong> option to <strong>create a command that looks like this:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ zip -r new-zip-archive folder-name<\/em><\/p>\n\n\n\n<p>Unlike Tar, <strong>Zip uses compression by default<\/strong>. In fact, there are ten levels to choose from, with level 0 meaning no compression at all and level 9 offering the smallest archive file size. Level 6 is used by default, but you can specify a different level using the number as an option.<\/p>\n\n\n\n<p><strong>For example, if you want to use level 3 for the command above, you&#8217;ll need:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ zip -3 -r new-zip-archive folder-name<\/em><\/p>\n\n\n\n<p><strong>Unzipping is even more straightforward. The syntax is as follows:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ unzip archive-name.zip<\/em><\/p>\n\n\n\n<p>Linux will automatically extract the data from the archive and place it in the current working directory.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>history<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>This command is pretty much self-explanatory. It gives you a <strong>list of the commands you&#8217;ve recently executed on your server<\/strong>. The number of entries you see depends on things like the <strong>shell configuration<\/strong> and your usage patterns. What you usually have in the list are the commands you&#8217;ve executed since the start of the current session.<\/p>\n\n\n\n<p>The <strong><em>history<\/em><\/strong> command can be beneficial if you need to use a <strong>complex command multiple times<\/strong>. The entries in the history list are numbered, and Linux gives you a quick option to invoke them from the shell.<\/p>\n\n\n\n<p><strong>For example, if you want to execute the command number 54 on the list, you enter:<\/strong><\/p>\n\n\n\n<p class=\"alert-orange\"><em>$ !54<\/em><\/p>\n\n\n\n<p>Linux automatically enters the command in the <strong>Terminal<\/strong> and runs it.<\/p>\n\n\n\n<p>The <strong><em>history <\/em><\/strong>utility can also be helpful if you&#8217;re diagnosing a problem and trying to discover what has happened. For example, if you find a file missing, you can figure out whether you&#8217;ve deleted it yourself with <strong><em>rm<\/em><\/strong>. You can do that using a combination of the <strong><em>history<\/em><\/strong> and <strong><em>grep<\/em><\/strong> commands separated by a pipe (<strong><em>|<\/em><\/strong>).:<\/p>\n\n\n\n<p><strong><em>$ history | grep &#8220;rm&#8221;<\/em><\/strong><\/p>\n\n\n\n<p>This will give you all the <strong><em>rm<\/em><\/strong> commands on your history list, helping you see exactly what you have deleted.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>SPanel and SSH Commands<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full mpg-gallery\"><img decoding=\"async\" width=\"1140\" height=\"513\" src=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-SPanel-and-SSH-1140x513-1.webp\" alt=\"Useful SSH Commands for Web Developers, SPanel and SSH Commands\" class=\"wp-image-70705\" srcset=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-SPanel-and-SSH-1140x513-1.webp 1140w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-SPanel-and-SSH-1140x513-1-300x135.webp 300w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/The-Most-Useful-Linux-SSH-Commands-SPanel-and-SSH-1140x513-1-768x346.webp 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p>Many website owners prefer to run their projects without delving too deep into the command-line interface. That&#8217;s why we worked so hard to <strong>make <\/strong><a href=\"https:\/\/www.scalahosting.com\/spanel.html\"><strong>SPanel<\/strong><\/a><strong> as easy to use as possible.<\/strong><\/p>\n\n\n\n<p>Even people with no <strong>server management experience <\/strong>should have no problems getting used to SPanel and its wide range of tools. However, we also know that some of our customers are seasoned professionals who view the command line as an efficient way of handling everyday <strong>website management tasks.<\/strong><\/p>\n\n\n\n<p>These people need access to the <strong>Linux Terminal <\/strong>on their server, but it has to be <strong>quick, easy, and secure<\/strong>. That&#8217;s why the owner of an <strong>SPanel<\/strong> server is the only one who can decide who can open a remote shell and who can&#8217;t. In the main menu of SPanel&#8217;s Admin Interface, you&#8217;ll find a tool labeled <strong>Manage SSH Access<\/strong>. When you open it, you&#8217;ll see a list of all the accounts on your server with toggle switches next to them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" width=\"1140\" height=\"746\" src=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-access-1140x746.webp\" alt=\"Useful SSH Commands for Web Developers, SPanel and SSH Commands 2\" class=\"wp-image-70706\" srcset=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-access-1140x746.webp 1140w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-access-300x196.webp 300w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-access-768x502.webp 768w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-access-1536x1005.webp 1536w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-access.webp 1903w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p>With these, you decide which projects can be managed via the <strong>command line<\/strong>. SSH access is disabled by default, but once enabled, users can open a <strong>remote shell and use commands<\/strong> to manage the files and folders on their accounts.<\/p>\n\n\n\n<p>They can do it via a<strong> traditional SSH client <\/strong>but can also establish a connection in their browser. Under the <strong>Tools<\/strong> section on the homepage of <strong>SPanel&#8217;s User Interface<\/strong>, you&#8217;ll find the <strong>SSH Terminal<\/strong>. If SSH access for your account is enabled, it lets you open a shell straight in your browser, and you can start executing commands immediately.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" width=\"1140\" height=\"573\" src=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-terminal-1140x573.webp\" alt=\"Useful SSH Commands for Web Developers, SPanel and SSH Commands 3\" class=\"wp-image-70707\" srcset=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-terminal-1140x573.webp 1140w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-terminal-300x151.webp 300w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-terminal-768x386.webp 768w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-terminal-1536x772.webp 1536w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2024\/05\/spanel-ssh-terminal.webp 1903w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Managing a website through the command line is not for everyone, especially now when many novice-friendly alternatives with a point-and-click interface exist. However, many of the more experienced administrators find commands quicker and more efficient.<\/p>\n\n\n\n<p>The truth is, getting to know the command-line interface isn&#8217;t a bad idea. It may not be a requirement for running a website these days, but it&#8217;s an insight into the inner workings of your server, and it could help you gain technical knowledge that will streamline your workflow and make your life easier.<\/p>\n\n\n<div class=\"shortcode-cta-new-wrap row spanel\">\r\n    <img decoding=\"async\" class=\"shortcode-logo\" src=\"\/blog\/images\/shortcode-bg-new-logo-spanel.svg\" alt=\"shortcode-logo\" title=\"shortcode-logo\"\/>\r\n    <div class=\"shortcode-cta-img col-10 col-sm-7 col-md-5\">\r\n        <img decoding=\"async\" class=\"shortcode-bg\" src=\"\/blog\/images\/shortcode-bg-new-spanel.webp\" alt=\"shortcode-bg\" title=\"shortcode-bg\"\/>\r\n    <\/div>\r\n    <div class=\"shortcode-cta-content col-12 col-md-7\">\r\n        <div class=\"content\">\r\n            <div class=\"heading\">Revolutionize Your Hosting Management - Join the SPanel Family<\/div>\r\n            <div class=\"list-wrap\">\r\n                <div class=\"list\">\r\n                    <div><b>Effortless Server Management through Powerful Tools<\/b><\/div>\r\n                    <div><b>Anytime Unconditional Money-back Guarantee<\/b><\/div>\r\n                    <div><b>24\/7 Expert Support and Free Website Migration<\/b><\/div>\r\n                <\/div>\r\n            <\/div>\r\n            <div class=\"btn-wrap row\">\r\n                <div class=\"col-auto\">\r\n                    <a class=\"button green\" href=\"https:\/\/www.scalahosting.com\/spanel.html\">Start Now<\/a>\r\n                <\/div>\r\n                <div class=\"col-auto\">\r\n                    <button class=\"button blue_outer\" title=\"Contact Sales\" onclick=\"chatChangeVisibility(this, 'maximize', {}, 5);\">Chat with our Experts<\/button>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n    <\/div>\r\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a><strong>FAQ<\/strong><\/h2>\n\n\n\n<p><strong>Q:<\/strong> <strong>What is the most widely used command in Linux?<\/strong><\/p>\n\n\n\n<p><strong>A:<\/strong> There are no concrete statistics on the most widely used Linux command. However, logic dictates that it should be <strong><em>ls<\/em><\/strong>. The command line interface doesn&#8217;t show you the contents of your current working directory by default, so admins need to use the <strong><em>ls <\/em><\/strong>command to see what they&#8217;re working with.<\/p>\n\n\n\n<p><strong>Q:<\/strong> <strong>Does SSH support GUI?<\/strong><\/p>\n\n\n\n<p><strong>A:<\/strong> SSH is strictly a command-line protocol. You can theoretically use <strong>SSH to launch a GUI-based application remotely<\/strong> and encrypt the data flow during <strong>SFTP sessions with a regular FTP client.<\/strong> However, it&#8217;s completely different from fully GUI-based sessions like those set up through the <strong>Remote Desktop Protocol<\/strong> for Windows, for example.<\/p>\n\n\n\n<p><strong>Q:<\/strong> <strong>Does SSH require root access?<\/strong><\/p>\n\n\n\n<p><strong>A:<\/strong> The level of privilege you have depends on your <strong>hosting package<\/strong>. Some plans give you full root access to your server,<strong> allowing you to install additional software<\/strong>, manage core server settings, etc. With others, account owners can still open a <strong>remote shell<\/strong>, but their rights are limited to managing the files, folders, and databases and using<strong>pre-installed tools<\/strong> to run their websites.<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n    {\n      \"@context\": \"https:\/\/schema.org\",\n      \"@type\": \"FAQPage\",\n      \"mainEntity\": [{\n        \"@type\": \"Question\",\n        \"name\": \"What is the most widely used command in Linux?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"There are no concrete statistics on the most widely used Linux command. However, logic dictates that it should be ls. The command line interface doesn't show you the contents of your current working directory by default, so admins need to use the ls command to see what they're working with.\"\n        }\n      }, {\n        \"@type\": \"Question\",\n        \"name\": \"Does SSH support GUI?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"SSH is strictly a command-line protocol. You can theoretically use SSH to launch a GUI-based application remotely and encrypt the data flow during SFTP sessions with a regular FTP client. However, it's completely different from fully GUI-based sessions like those set up through the Remote Desktop Protocol for Windows, for example.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"Does SSH require root access?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"The level of privilege you have depends on your hosting package. Some plans give you full root access to your server, allowing you to install additional software, manage core server settings, etc. With others, account owners can still open a remote shell, but their rights are limited to managing the files, folders, and databases and using pre-installed tools to run their websites.\"\n        }\n      }]\n    }\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Nearly 70% of desktop computers run on Windows. A further 20% are based on macOS. In light of this, many &#8230;<\/p>\n","protected":false},"author":113,"featured_media":70708,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"Useful SSH Commands for Web Developers | ScalaHosting Blog","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"categories":[61],"tags":[],"class_list":["post-70700","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-hosting"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/posts\/70700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/comments?post=70700"}],"version-history":[{"count":4,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/posts\/70700\/revisions"}],"predecessor-version":[{"id":73365,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/posts\/70700\/revisions\/73365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/media\/70708"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/media?parent=70700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/categories?post=70700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/tags?post=70700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}