{"id":26,"date":"2022-03-04T15:11:13","date_gmt":"2022-03-04T20:11:13","guid":{"rendered":"https:\/\/pressbooks.library.ryerson.ca\/opsyshiraki\/chapter\/common-unix-commands\/"},"modified":"2025-09-07T08:57:56","modified_gmt":"2025-09-07T12:57:56","slug":"common-unix-commands","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/chapter\/common-unix-commands\/","title":{"raw":"Common Unix Commands","rendered":"Common Unix Commands"},"content":{"raw":"<p class=\"c2\"><span class=\"c1\">While there are hundreds of Unix commands, fortunately it is not necessary to know all of them. In fact, one can achieve a significant level of productivity knowing just a couple of dozen. Here are some of the most common and useful commands.<\/span><\/p>\r\n<p class=\"c2\"><span class=\"c1\">All commands are case sensitive.<\/span><\/p>\r\n\r\n<div class=\"textbox shaded\">\r\n<h2 id=\"h.gr7e4fwomdd4\">Spaces are a BIG DEAL in Unix<\/h2>\r\n<p class=\"c2\"><span class=\"c1\">When issuing commands, in order for Unix to tell when a command finishes and when parameters and file names start and end, every item (or token) on a command line must be separated by whitespace (one or more space characters). One of the most common causes of frustration is failure to put whitepace between items on the command line, or putting whitespace where it should not be.<\/span><\/p>\r\n<p class=\"c2\"><span class=\"c1\">Just as in English, there is a big difference in meaning between \"no table\" and \"notable\", or \"a trophy\" and \"atrophy\", so is the case in Unix.<\/span><\/p>\r\n<p class=\"c2\"><span class=\"c1\">Right: <\/span><\/p>\r\n\r\n<pre class=\"c2\" style=\"padding-left: 40px\"><span class=\"c1\">ls \/etc<\/span><\/pre>\r\n<p class=\"c2\"><span class=\"c1\">Wrong: <\/span><\/p>\r\n\r\n<pre class=\"c2\" style=\"padding-left: 40px\"><span class=\"c1\">ls\/etc<\/span><\/pre>\r\n<\/div>\r\n&nbsp;\r\n\r\nUnix commands are a single word requesting an action. Sometimes the action is standalone, but most actions are applied to some object like a file or directory. At the point in the command where it expects the name of a file, say, this is where you specify the file in the form of an absolute or relative reference as described in the previous chapter.\r\n<table class=\"grid\" style=\"border-collapse: collapse;width: 87.5%\" border=\"1\" cellspacing=\"0\" cellpadding=\"5\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 15.7%\" scope=\"col\">Command<\/th>\r\n<th style=\"width: 24.6%\" scope=\"col\">What does it do?<\/th>\r\n<th style=\"width: 47.2%\" scope=\"col\">Example usage<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<th scope=\"row\"><code>ls<\/code><\/th>\r\n<td>list directory contents<\/td>\r\n<td>List files (and directories) in my current directory:\r\n<code>ls<\/code>List files in top level etc directory:\r\n<code>ls \/etc<\/code>List all files beginning with g (wildcard *):\r\n<code>ls g*<\/code>\r\n\r\nList and give details about files:\r\n<code>ls -l<\/code>\r\n\r\nList all files including hidden:\r\n<code>ls -a<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>cat<\/code><\/th>\r\n<td>concatenate files and print on the standard output<\/td>\r\n<td>Show contents of file report:\r\n<code>cat report<\/code>Show contents of files chapter1 and chapter2:\r\n<code>cat chapter1 chapter2<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>head<\/code><\/th>\r\n<td>output the first part of files<\/td>\r\n<td>Show the first few lines of file longfile:\r\n<code>head longfile<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>tail<\/code><\/th>\r\n<td>output the last part of files<\/td>\r\n<td>Show the last few lines of file logfile:\r\n<code>tail logfile<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>cp<\/code><\/th>\r\n<td>copy files and directories<\/td>\r\n<td>Copy file report to report_v2 in the work directory:\r\n<code>cp report work\/report_v2<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>mv<\/code><\/th>\r\n<td>move (rename) files<\/td>\r\n<td>Rename file report to presentation:\r\n<code>mv report presentation<\/code>Move file mydata to yourdata one level up:\r\n<code>mv mydata ..\/yourdata<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>rm<\/code><\/th>\r\n<td>remove files (permanent)<\/td>\r\n<td>Delete file report in current directory:\r\n<code>rm report<\/code><strong>Caution:<\/strong> There is no recycling bin in Unix. Consider all deletions as permanent. Exercise care when using wildcards (e.g. *).<\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>cd<\/code><\/th>\r\n<td>change the working directory<\/td>\r\n<td>Change directory to work directory (one level down):\r\n<code>cd work<\/code>Change directory to \/bin directory:\r\n<code>cd \/bin<\/code>Change directory to parent (one level up):\r\n<code>cd ..<\/code>\r\n\r\nChange directory to home directory of user ahmed:\r\n<code>cd ~ahmed<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>pwd<\/code><\/th>\r\n<td>print name of current\/working directory<\/td>\r\n<td>Are you lost?\r\n<code>pwd<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>mkdir<\/code><\/th>\r\n<td>make directories<\/td>\r\n<td>Create new directory called unix_exercises:\r\n<code>mkdir unix_exercises<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>rmdir<\/code><\/th>\r\n<td>remove empty directories<\/td>\r\n<td>Remove (permanently delete) the directory unix_exercises:\r\n<code>rmdir unix_exercises<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>who<\/code><\/th>\r\n<td>show who is logged on<\/td>\r\n<td>Display who else is logged in right now:\r\n<code>who<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>whoami<\/code><\/th>\r\n<td>print effective userid<\/td>\r\n<td>Display one's own userid (short login name):\r\n<code>whoami<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>date<\/code><\/th>\r\n<td>print the system date and time<\/td>\r\n<td><code>date<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<th scope=\"row\"><code>man<\/code><\/th>\r\n<td>an interface to the on-line reference manuals<\/td>\r\n<td>Display manual entry for ls command:\r\n<code>man ls<\/code>Keyword search for commands related to \"directory\":\r\n<code>man -k directory<\/code><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n<div class=\"textbox textbox--key-takeaways\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Key Takeaways<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<ul>\r\n \t<li>Spaces are a BIG DEAL in Unix: They are needed between commands, parameters, and filenames.<\/li>\r\n \t<li>All commands are case-sensitive (usually all lowercase)<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--key-takeaways\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">More Key Takeaways<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<ul>\r\n \t<li>Command options (e.g. -l, or -d, etc.) are specific to the command. For example, while both the ls and and cp command both have a \"-l\" option, the option means different things in each command. Command options are <strong>not<\/strong> mix and match.<\/li>\r\n \t<li>Command options may be listed separately or combined. The following are equivalent:\r\n<ul>\r\n \t<li>\r\n<pre>ls -ld<\/pre>\r\n<\/li>\r\n \t<li>\r\n<pre>ls -l -d<\/pre>\r\n<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/div>\r\n<h2>More Unix Commands<\/h2>\r\n<div class=\"textbox shaded\">All the commands below require some sort of input, typically a file, but the commands do <strong>not<\/strong> modify the input file. The outputs will contain portions of the input files, but the input files are never changed.<\/div>\r\n&nbsp;\r\n<table class=\"grid\" style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 15.7161%\" scope=\"col\">Command<\/th>\r\n<th style=\"width: 24.588%\" scope=\"col\">What does it do?<\/th>\r\n<th style=\"width: 59.6958%\" scope=\"col\">Example usage<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<th style=\"width: 15.7161%\" scope=\"row\">\r\n<pre>cut<\/pre>\r\n<\/th>\r\n<td style=\"width: 24.588%\">Print selected parts of lines from each FILE to standard output.<\/td>\r\n<td style=\"width: 59.6958%\">display columns 1-10 and 20-23 of myfile\r\n<pre style=\"padding-left: 40px\">cut -c1-10,20-23 myfile<\/pre>\r\ndisplay the 3rd and 5th fields of the \/etc\/passwd file\r\n<pre style=\"padding-left: 40px\">cut -f3,5 -d: \/etc\/passwd<\/pre>\r\n&nbsp;<\/td>\r\n<\/tr>\r\n<tr>\r\n<th style=\"width: 15.7161%\" scope=\"row\">\r\n<pre>paste<\/pre>\r\n<\/th>\r\n<td style=\"width: 24.588%\">merge lines of files\r\n\r\nIf cat joins vertically, think of paste as a horizontal version of cat.<\/td>\r\n<td style=\"width: 59.6958%\">display file1, file2, and file3 side-by-side\r\n<pre style=\"padding-left: 40px\">paste file1 file2 file3<\/pre>\r\n&nbsp;<\/td>\r\n<\/tr>\r\n<tr>\r\n<th style=\"width: 15.7161%\" scope=\"row\">\r\n<pre>wc<\/pre>\r\n<\/th>\r\n<td style=\"width: 24.588%\">print newline, word, and byte counts for each file<\/td>\r\n<td style=\"width: 59.6958%\">display the number of lines, words, and characters for the file chapter3\r\n<pre style=\"padding-left: 40px\">wc chapter3<\/pre>\r\ndisplay only the number of lines\r\n<pre style=\"padding-left: 40px\">wc -l chapter3<\/pre>\r\n&nbsp;<\/td>\r\n<\/tr>\r\n<tr>\r\n<th style=\"width: 15.7161%\" scope=\"row\">\r\n<pre>grep<\/pre>\r\n<\/th>\r\n<td style=\"width: 24.588%\">print lines matching a pattern<\/td>\r\n<td style=\"width: 59.6958%\">display lines matching the string Total in the file sales\r\n<pre style=\"padding-left: 40px\">grep Total sales<\/pre>\r\n&nbsp;<\/td>\r\n<\/tr>\r\n<tr>\r\n<th style=\"width: 15.7161%\" scope=\"row\">\r\n<pre>sort<\/pre>\r\n<\/th>\r\n<td style=\"width: 24.588%\">sort lines of text files<\/td>\r\n<td style=\"width: 59.6958%\">display a sorted version of the file namelist\r\n<pre style=\"padding-left: 40px\">sort namelist<\/pre>\r\n&nbsp;<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n\r\n&nbsp;","rendered":"<p class=\"c2\"><span class=\"c1\">While there are hundreds of Unix commands, fortunately it is not necessary to know all of them. In fact, one can achieve a significant level of productivity knowing just a couple of dozen. Here are some of the most common and useful commands.<\/span><\/p>\n<p class=\"c2\"><span class=\"c1\">All commands are case sensitive.<\/span><\/p>\n<div class=\"textbox shaded\">\n<h2 id=\"h.gr7e4fwomdd4\">Spaces are a BIG DEAL in Unix<\/h2>\n<p class=\"c2\"><span class=\"c1\">When issuing commands, in order for Unix to tell when a command finishes and when parameters and file names start and end, every item (or token) on a command line must be separated by whitespace (one or more space characters). One of the most common causes of frustration is failure to put whitepace between items on the command line, or putting whitespace where it should not be.<\/span><\/p>\n<p class=\"c2\"><span class=\"c1\">Just as in English, there is a big difference in meaning between &#8220;no table&#8221; and &#8220;notable&#8221;, or &#8220;a trophy&#8221; and &#8220;atrophy&#8221;, so is the case in Unix.<\/span><\/p>\n<p class=\"c2\"><span class=\"c1\">Right: <\/span><\/p>\n<pre class=\"c2\" style=\"padding-left: 40px\"><span class=\"c1\">ls \/etc<\/span><\/pre>\n<p class=\"c2\"><span class=\"c1\">Wrong: <\/span><\/p>\n<pre class=\"c2\" style=\"padding-left: 40px\"><span class=\"c1\">ls\/etc<\/span><\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Unix commands are a single word requesting an action. Sometimes the action is standalone, but most actions are applied to some object like a file or directory. At the point in the command where it expects the name of a file, say, this is where you specify the file in the form of an absolute or relative reference as described in the previous chapter.<\/p>\n<table class=\"grid\" style=\"border-collapse: collapse;width: 87.5%; border-spacing: 0px;\" cellpadding=\"5\">\n<thead>\n<tr>\n<th style=\"width: 15.7%\" scope=\"col\">Command<\/th>\n<th style=\"width: 24.6%\" scope=\"col\">What does it do?<\/th>\n<th style=\"width: 47.2%\" scope=\"col\">Example usage<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th scope=\"row\"><code>ls<\/code><\/th>\n<td>list directory contents<\/td>\n<td>List files (and directories) in my current directory:<br \/>\n<code>ls<\/code>List files in top level etc directory:<br \/>\n<code>ls \/etc<\/code>List all files beginning with g (wildcard *):<br \/>\n<code>ls g*<\/code><\/p>\n<p>List and give details about files:<br \/>\n<code>ls -l<\/code><\/p>\n<p>List all files including hidden:<br \/>\n<code>ls -a<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>cat<\/code><\/th>\n<td>concatenate files and print on the standard output<\/td>\n<td>Show contents of file report:<br \/>\n<code>cat report<\/code>Show contents of files chapter1 and chapter2:<br \/>\n<code>cat chapter1 chapter2<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>head<\/code><\/th>\n<td>output the first part of files<\/td>\n<td>Show the first few lines of file longfile:<br \/>\n<code>head longfile<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>tail<\/code><\/th>\n<td>output the last part of files<\/td>\n<td>Show the last few lines of file logfile:<br \/>\n<code>tail logfile<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>cp<\/code><\/th>\n<td>copy files and directories<\/td>\n<td>Copy file report to report_v2 in the work directory:<br \/>\n<code>cp report work\/report_v2<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>mv<\/code><\/th>\n<td>move (rename) files<\/td>\n<td>Rename file report to presentation:<br \/>\n<code>mv report presentation<\/code>Move file mydata to yourdata one level up:<br \/>\n<code>mv mydata ..\/yourdata<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>rm<\/code><\/th>\n<td>remove files (permanent)<\/td>\n<td>Delete file report in current directory:<br \/>\n<code>rm report<\/code><strong>Caution:<\/strong> There is no recycling bin in Unix. Consider all deletions as permanent. Exercise care when using wildcards (e.g. *).<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>cd<\/code><\/th>\n<td>change the working directory<\/td>\n<td>Change directory to work directory (one level down):<br \/>\n<code>cd work<\/code>Change directory to \/bin directory:<br \/>\n<code>cd \/bin<\/code>Change directory to parent (one level up):<br \/>\n<code>cd ..<\/code><\/p>\n<p>Change directory to home directory of user ahmed:<br \/>\n<code>cd ~ahmed<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>pwd<\/code><\/th>\n<td>print name of current\/working directory<\/td>\n<td>Are you lost?<br \/>\n<code>pwd<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>mkdir<\/code><\/th>\n<td>make directories<\/td>\n<td>Create new directory called unix_exercises:<br \/>\n<code>mkdir unix_exercises<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>rmdir<\/code><\/th>\n<td>remove empty directories<\/td>\n<td>Remove (permanently delete) the directory unix_exercises:<br \/>\n<code>rmdir unix_exercises<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>who<\/code><\/th>\n<td>show who is logged on<\/td>\n<td>Display who else is logged in right now:<br \/>\n<code>who<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>whoami<\/code><\/th>\n<td>print effective userid<\/td>\n<td>Display one&#8217;s own userid (short login name):<br \/>\n<code>whoami<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>date<\/code><\/th>\n<td>print the system date and time<\/td>\n<td><code>date<\/code><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\"><code>man<\/code><\/th>\n<td>an interface to the on-line reference manuals<\/td>\n<td>Display manual entry for ls command:<br \/>\n<code>man ls<\/code>Keyword search for commands related to &#8220;directory&#8221;:<br \/>\n<code>man -k directory<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--key-takeaways\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Key Takeaways<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<ul>\n<li>Spaces are a BIG DEAL in Unix: They are needed between commands, parameters, and filenames.<\/li>\n<li>All commands are case-sensitive (usually all lowercase)<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--key-takeaways\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">More Key Takeaways<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<ul>\n<li>Command options (e.g. -l, or -d, etc.) are specific to the command. For example, while both the ls and and cp command both have a &#8220;-l&#8221; option, the option means different things in each command. Command options are <strong>not<\/strong> mix and match.<\/li>\n<li>Command options may be listed separately or combined. The following are equivalent:\n<ul>\n<li>\n<pre>ls -ld<\/pre>\n<\/li>\n<li>\n<pre>ls -l -d<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<h2>More Unix Commands<\/h2>\n<div class=\"textbox shaded\">All the commands below require some sort of input, typically a file, but the commands do <strong>not<\/strong> modify the input file. The outputs will contain portions of the input files, but the input files are never changed.<\/div>\n<p>&nbsp;<\/p>\n<table class=\"grid\" style=\"border-collapse: collapse;width: 100%\">\n<thead>\n<tr>\n<th style=\"width: 15.7161%\" scope=\"col\">Command<\/th>\n<th style=\"width: 24.588%\" scope=\"col\">What does it do?<\/th>\n<th style=\"width: 59.6958%\" scope=\"col\">Example usage<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th style=\"width: 15.7161%\" scope=\"row\">\n<pre>cut<\/pre>\n<\/th>\n<td style=\"width: 24.588%\">Print selected parts of lines from each FILE to standard output.<\/td>\n<td style=\"width: 59.6958%\">display columns 1-10 and 20-23 of myfile<\/p>\n<pre style=\"padding-left: 40px\">cut -c1-10,20-23 myfile<\/pre>\n<p>display the 3rd and 5th fields of the \/etc\/passwd file<\/p>\n<pre style=\"padding-left: 40px\">cut -f3,5 -d: \/etc\/passwd<\/pre>\n<p>&nbsp;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 15.7161%\" scope=\"row\">\n<pre>paste<\/pre>\n<\/th>\n<td style=\"width: 24.588%\">merge lines of files<\/p>\n<p>If cat joins vertically, think of paste as a horizontal version of cat.<\/td>\n<td style=\"width: 59.6958%\">display file1, file2, and file3 side-by-side<\/p>\n<pre style=\"padding-left: 40px\">paste file1 file2 file3<\/pre>\n<p>&nbsp;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 15.7161%\" scope=\"row\">\n<pre>wc<\/pre>\n<\/th>\n<td style=\"width: 24.588%\">print newline, word, and byte counts for each file<\/td>\n<td style=\"width: 59.6958%\">display the number of lines, words, and characters for the file chapter3<\/p>\n<pre style=\"padding-left: 40px\">wc chapter3<\/pre>\n<p>display only the number of lines<\/p>\n<pre style=\"padding-left: 40px\">wc -l chapter3<\/pre>\n<p>&nbsp;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 15.7161%\" scope=\"row\">\n<pre>grep<\/pre>\n<\/th>\n<td style=\"width: 24.588%\">print lines matching a pattern<\/td>\n<td style=\"width: 59.6958%\">display lines matching the string Total in the file sales<\/p>\n<pre style=\"padding-left: 40px\">grep Total sales<\/pre>\n<p>&nbsp;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 15.7161%\" scope=\"row\">\n<pre>sort<\/pre>\n<\/th>\n<td style=\"width: 24.588%\">sort lines of text files<\/td>\n<td style=\"width: 59.6958%\">display a sorted version of the file namelist<\/p>\n<pre style=\"padding-left: 40px\">sort namelist<\/pre>\n<p>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":2,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-26","chapter","type-chapter","status-publish","hentry"],"part":23,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/pressbooks\/v2\/chapters\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":12,"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/pressbooks\/v2\/chapters\/26\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/pressbooks\/v2\/chapters\/26\/revisions\/124"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/pressbooks\/v2\/parts\/23"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/pressbooks\/v2\/chapters\/26\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/pressbooks\/v2\/chapter-type?post=26"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/wp\/v2\/contributor?post=26"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/opsyshiraki\/wp-json\/wp\/v2\/license?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}