{"id":54,"date":"2018-10-03T20:47:00","date_gmt":"2018-10-03T12:47:00","guid":{"rendered":"https:\/\/yeslq.com\/20181054.html"},"modified":"2018-10-03T20:47:00","modified_gmt":"2018-10-03T12:47:00","slug":"the-linux-command-line-a-guided-tour","status":"publish","type":"post","link":"https:\/\/yeslq.com\/?p=54","title":{"rendered":"The Linux Command Line&#8212;A Guided Tour"},"content":{"rendered":"<h1 style=\"background-color: white; font-family: verdana, arial, helvetica, sans-serif; font-weight: normal;\"><i style=\"font-size: x-small;\"><a href=\"http:\/\/linuxcommand.org\/tlcl.php\" style=\"color: #002740;\">The Linux Command Line&nbsp;<\/a><\/i><span style=\"font-size: xx-small;\">by William Shotts<\/span><\/h1>\n<div><span style=\"font-size: xx-small;\"><\/p>\n<div style=\"font-family: courier, lucidatypewriter, monospace;\">A Guided Tour<\/div>\n<ul style=\"background-color: white; font-family: verdana, arial, helvetica, sans-serif;\">\n<li type=\"disk\"><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">cd<\/tt>&nbsp;into each directory.<\/li>\n<\/ul>\n<ul style=\"background-color: white; font-family: verdana, arial, helvetica, sans-serif;\">\n<li type=\"disk\">Use&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">ls<\/tt>&nbsp;to list the contents of the directory.<\/li>\n<\/ul>\n<ul style=\"background-color: white; font-family: verdana, arial, helvetica, sans-serif;\">\n<li type=\"disk\">If you see an interesting file, use the&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">file<\/tt>&nbsp;command to determine its contents.<\/li>\n<\/ul>\n<ul style=\"background-color: white; font-family: verdana, arial, helvetica, sans-serif;\">\n<li type=\"disk\">For text files, use&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">less<\/tt>&nbsp;to view them.<\/li>\n<\/ul>\n<p><span style=\"font-size: xx-small;\"><\/p>\n<table border=\"\" cellpadding=\"8\" style=\"background-color: white; color: black; font-family: verdana, arial, helvetica, sans-serif;\" summary=\"Various interesting directories found on the system and their contents.\">\n<caption>Interesting directories and their contents<\/caption>\n<tbody>\n<tr>\n<th valign=\"top\" width=\"150\"><strong>Directory<\/strong><\/th>\n<th valign=\"top\"><strong>Description<\/strong><\/th>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"root\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/<\/tt><\/td>\n<td valign=\"top\">The root directory where the file system begins. In most cases the root directory only contains subdirectories.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"boot\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/boot<\/tt><\/td>\n<td valign=\"top\">This is where the Linux kernel and boot loader files are kept. The kernel is a file called&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">vmlinuz<\/tt>.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"etc\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/etc<\/tt><\/td>\n<td valign=\"top\">The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/etc<\/tt>&nbsp;directory contains the configuration files for the system. All of the files in&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/etc<\/tt>&nbsp;should be text files. Points of interest: <\/p>\n<dl>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/etc\/passwd<\/tt><\/dt>\n<dd>The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">passwd<\/tt>&nbsp;file contains the essential information for each user. It is here that users are defined.<\/dd>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/etc\/fstab<\/tt><\/dt>\n<dd>The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">fstab<\/tt>&nbsp;file contains a table of devices that get mounted when your system boots. This file defines your disk drives.<\/dd>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/etc\/hosts<\/tt><\/dt>\n<dd>This file lists the network host names and IP addresses that are intrinsically known to the system.<\/dd>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/etc\/init.d<\/tt><\/dt>\n<dd>This directory contains the scripts that start various system services typically at boot time.<\/dd>\n<\/dl>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"bin\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/bin, \/usr\/bin<\/tt><\/td>\n<td valign=\"top\">These two directories contain most of the programs for the system. The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/bin<\/tt>directory has the essential programs that the system requires to operate, while&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/bin<\/tt>&nbsp;contains applications for the system&#8217;s users.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"sbin\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/sbin, \/usr\/sbin<\/tt><\/td>\n<td valign=\"top\">The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">sbin<\/tt>&nbsp;directories contain programs for system administration, mostly for use by the superuser.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"usr\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr<\/tt><\/td>\n<td valign=\"top\">The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr<\/tt>&nbsp;directory contains a variety of things that support user applications. Some highlights: <\/p>\n<dl>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/share\/X11<\/tt><\/dt>\n<dd>Support files for the X Window system<\/dd>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/share\/dict<\/tt><\/dt>\n<dd>Dictionaries for the spelling checker. Bet you didn&#8217;t know that Linux had a spelling checker. See&nbsp;<a href=\"http:\/\/linuxcommand.org\/lc3_man_pages\/look1.html\" style=\"color: #002740;\"><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">look<\/tt><\/a>&nbsp;and&nbsp;<a href=\"http:\/\/linuxcommand.org\/lc3_man_pages\/aspell1.html\" style=\"color: #002740;\"><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">aspell<\/tt><\/a>.<\/dd>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/share\/doc<\/tt><\/dt>\n<dd>Various documentation files in a variety of formats.<\/dd>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/share\/man<\/tt><\/dt>\n<dd>The man pages are kept here.<\/dd>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/src<\/tt><\/dt>\n<dd>Source code files. If you installed the kernel source code package, you will find the entire Linux kernel source code here.<\/dd>\n<\/dl>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"local\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/local<\/tt><\/td>\n<td valign=\"top\"><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/local<\/tt>&nbsp;and its subdirectories are used for the installation of software and other files for use on the local machine. What this really means is that software that is not part of the official distribution (which usually goes in&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/bin<\/tt>) goes here.<\/p>\n<p>When you find interesting programs to install on your system, they should be installed in one of the&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/local<\/tt>&nbsp;directories. Most often, the directory of choice is&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/usr\/local\/bin<\/tt>.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"var\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/var<\/tt><\/td>\n<td valign=\"top\">The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/var<\/tt>&nbsp;directory contains files that change as the system is running. This includes: <\/p>\n<dl>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/var\/log<\/tt><\/dt>\n<dd>Directory that contains log files. These are updated as the system runs. You should view the files in this directory from time to time, to monitor the health of your system.<\/dd>\n<dt><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/var\/spool<\/tt><\/dt>\n<dd>This directory is used to hold files that are queued for some process, such as mail messages and print jobs. When a user&#8217;s mail first arrives on the local system (assuming you have local mail), the messages are first stored in&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/var\/spool\/mail<\/tt><\/dd>\n<\/dl>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"lib\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/lib<\/tt><\/td>\n<td valign=\"top\">The shared libraries (similar to DLLs in that other operating system) are kept here.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"home\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/home<\/tt><\/td>\n<td valign=\"top\"><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/home<\/tt>&nbsp;is where users keep their personal work. In general, this is the only place users are allowed to write files. This keeps things nice and clean \ud83d\ude42<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"root_home\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/root<\/tt><\/td>\n<td valign=\"top\">This is the superuser&#8217;s home directory.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"tmp\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/tmp<\/tt><\/td>\n<td valign=\"top\"><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/tmp<\/tt>&nbsp;is a directory in which programs can write their temporary files.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"dev\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/dev<\/tt><\/td>\n<td valign=\"top\">The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/dev<\/tt>&nbsp;directory is a special directory, since it does not really contain files in the usual sense. Rather, it contains devices that are available to the system. In Linux (like Unix), devices are treated like files. You can read and write devices as though they were files. For example&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/dev\/fd0<\/tt>&nbsp;is the first floppy disk drive,&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/dev\/sda<\/tt>&nbsp;(<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/dev\/hda<\/tt>&nbsp;on older systems) is the first hard drive. All the devices that the kernel understands are represented here.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"proc\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/proc<\/tt><\/td>\n<td valign=\"top\">The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/proc<\/tt>&nbsp;directory is also special. This directory does not contain files. In fact, this directory does not really exist at all. It is entirely virtual. The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/proc<\/tt>directory contains little peep holes into the kernel itself. There are a group of numbered entries in this directory that correspond to all the processes running on the system. In addition, there are a number of named entries that permit access to the current configuration of the system. Many of these entries can be viewed. Try viewing&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/proc\/cpuinfo<\/tt>. This entry will tell you what the kernel thinks of your CPU.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/draft.blogger.com\/null\" name=\"mnt\"><\/a><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/media,\/mnt<\/tt><\/td>\n<td valign=\"top\">Finally, we come to&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/media<\/tt>, a normal directory which is used in a special way. The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/media<\/tt>&nbsp;directory is used for&nbsp;<i>mount points<\/i>. As we learned in the&nbsp;<a href=\"http:\/\/linuxcommand.org\/lts0020.php\" style=\"color: #002740;\">second lesson<\/a>, the different physical storage devices (like hard disk drives) are attached to the file system tree in various places. This process of attaching a device to the tree is called&nbsp;<i>mounting<\/i>. For a device to be available, it must first be mounted.<\/p>\n<p>When your system boots, it reads a list of mounting instructions in the file&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/etc\/fstab<\/tt>, which describes which device is mounted at which mount point in the directory tree. This takes care of the hard drives, but you may also have devices that are considered temporary, such as CD-ROMs, thumb drives, and floppy disks. Since these are removable, they do not stay mounted all the time. The&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/media<\/tt>&nbsp;directory is used by the automatic device mounting mechanisms found in modern desktop oriented Linux distributions. On systems that require manual mounting of removable devices, the&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/mnt<\/tt>&nbsp;directory provides a convenient place for mounting these temporary devices. You will often see the directories&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/mnt\/floppy<\/tt>&nbsp;and&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/mnt\/cdrom<\/tt>. To see what devices and mount points are used, type&nbsp;<a href=\"http:\/\/linuxcommand.org\/lc3_man_pages\/mount8.html\" style=\"color: #002740;\"><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">mount<\/tt><\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/span><span style=\"font-size: xx-small;\"><br style=\"background-color: white; font-family: verdana, arial, helvetica, sans-serif;\" \/><\/span>A weird kind of file&#8230;<tt style=\"font-family: courier, lucidatypewriter, monospace;\"><\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">lrwxrwxrwx     25 Jul  3 16:42 System.map -&gt; \/boot\/System.map-2.0.36-3<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">-rw-r--r-- 105911 Oct 13  1998 System.map-2.0.36-0.7<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">-rw-r--r-- 105935 Dec 29  1998 System.map-2.0.36-3<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">-rw-r--r-- 181986 Dec 11  1999 initrd-2.0.36-0.7.img<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">-rw-r--r-- 182001 Dec 11  1999 initrd-2.0.36.img<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">lrwxrwxrwx     26 Jul  3 16:42 module-info -&gt; \/boot\/module-info-2.0.36-3<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">-rw-r--r--  11773 Oct 13  1998 module-info-2.0.36-0.7<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">-rw-r--r--  11773 Dec 29  1998 module-info-2.0.36-3<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">lrwxrwxrwx     16 Dec 11  1999 vmlinuz -&gt; vmlinuz-2.0.36-3<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">-rw-r--r-- 454325 Oct 13  1998 vmlinuz-2.0.36-0.7<\/tt><br \/><tt style=\"font-family: courier, lucidatypewriter, monospace;\">-rw-r--r-- 454434 Dec 29  1998 vmlinuz-2.0.36-3<\/tt><\/p>\n<div style=\"background-color: white; font-family: verdana, arial, helvetica, sans-serif;\">It&#8217;s time to take our tour. The table below lists some interesting places to explore. This is by no means a complete list, but it should prove to be an interesting adventure. For each of the directories listed below, do the following:<\/div>\n<p><\/span><span style=\"font-size: xx-small;\"><\/p>\n<div style=\"background-color: #e0e0e0; font-family: verdana, arial, helvetica, sans-serif; padding: 1em;\">During your tour, you probably noticed a strange kind of directory entry, particularly in the&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/boot<\/tt>&nbsp;and&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">\/lib<\/tt>&nbsp;directories. When listed with&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">ls -l<\/tt>, you would have seen something like this:<br \/>Notice the files,&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace;\">System.map, module-info<\/tt>&nbsp;and&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace;\">vmlinuz<\/tt>. See the strange notation after the file names?<br \/>These three files are called&nbsp;<i>symbolic links<\/i>. Symbolic links are a special type of file that points to another file. With symbolic links, it is possible for a single file to have multiple names. Here&#8217;s how it works: Whenever the system is given a file name that is a symbolic link, it transparently maps it to the file it is pointing to.<br \/>Just what is this good for? This is a very handy feature. Let&#8217;s consider the directory listing above (which is the&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace;\">\/boot<\/tt>&nbsp;directory of an old Red Hat 5.2 system). This system has had multiple versions of the Linux kernel installed. We can see this from the files&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace;\">vmlinuz-2.0.36-0.7<\/tt>&nbsp;and&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace;\">vmlinuz-2.0.36-3<\/tt>. These file names suggest that both version 2.0.36-0.7 and 2.0.36-3 are installed. Because the file names contain the version it is easy to see the differences in the directory listing. However, this would be confusing to programs that rely on a fixed name for the kernel file. These programs might expect the kernel to simply be called&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace;\">\"vmlinuz\"<\/tt>. Here is where the beauty of the symbolic link comes in. By creating a symbolic link called&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace;\">vmlinuz<\/tt>&nbsp;that points to&nbsp;<tt style=\"font-family: courier, lucidatypewriter, monospace;\">vmlinuz-2.0.36-3<\/tt>, we have solved the problem.<br \/>To create symbolic links, use the&nbsp;<a href=\"http:\/\/linuxcommand.org\/lc3_man_pages\/ln1.html\" style=\"color: #002740;\"><tt style=\"font-family: courier, lucidatypewriter, monospace; font-weight: bold;\">ln<\/tt><\/a>&nbsp;command.<\/div>\n<p><\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Linux Command Line&nbsp;by William Shotts A Guided  &#8230; <a title=\"The Linux Command Line&#8212;A Guided Tour\" class=\"read-more\" href=\"https:\/\/yeslq.com\/?p=54\" aria-label=\"\u9605\u8bfb The Linux Command Line&#8212;A Guided Tour\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,6],"tags":[],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-linux","category-shell","category-the-linux-command-line"],"_links":{"self":[{"href":"https:\/\/yeslq.com\/index.php?rest_route=\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yeslq.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yeslq.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yeslq.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yeslq.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54"}],"version-history":[{"count":0,"href":"https:\/\/yeslq.com\/index.php?rest_route=\/wp\/v2\/posts\/54\/revisions"}],"wp:attachment":[{"href":"https:\/\/yeslq.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yeslq.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yeslq.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}