{"id":1237,"date":"2025-05-07T11:21:10","date_gmt":"2025-05-06T23:21:10","guid":{"rendered":"https:\/\/fishy.fisher.net.nz\/?page_id=1237"},"modified":"2025-11-03T15:06:52","modified_gmt":"2025-11-03T03:06:52","slug":"my-latest-linux-notes","status":"publish","type":"page","link":"https:\/\/fishy.fisher.net.nz\/?page_id=1237","title":{"rendered":"My latest Linux Notes"},"content":{"rendered":"\n<p><strong><a href=\"https:\/\/fishy.fisher.net.nz\/wordpress\/?page_id=256\">How I copied HDD to SSD<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/fishy.fisher.net.nz\/?page_id=341\"><strong>My WordPress Backup<\/strong><\/a><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/fishy.fisher.net.nz\/?page_id=1357\" data-type=\"page\" data-id=\"1357\">My HASS notes<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/fishy.fisher.net.nz\/?page_id=415\"><strong>My HASS Backup<\/strong><\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/fishy.fisher.net.nz\/?page_id=1041\"><strong>Setup Email on Zoneminder<\/strong><\/a><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/fishy.fisher.net.nz\/?page_id=663\">Installing new ROM on Google phones<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/fishy.fisher.net.nz\/?page_id=1258\" data-type=\"page\" data-id=\"1258\"><strong>Boot Mac Mini from USB<\/strong><\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/fishy.fisher.net.nz\/?page_id=1334\" data-type=\"page\" data-id=\"1334\"><strong>Installing and setup WiFi on Headless Debian Mac Mini<\/strong><\/a><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/docs.docker.com\/engine\/install\/debian\/\">Installing Docker Compose on Debian<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/fishy.fisher.net.nz\/?page_id=1272\" data-type=\"page\" data-id=\"1272\"><strong>My HA Bathroom Fan Automations<\/strong><\/a><\/p>\n\n\n\n<p><strong>(Some of this is quite old and may be irrelevant now.)<\/strong><\/p>\n\n\n\n<p><strong>My fstab<\/strong><br># \/etc\/fstab: static file system information.<br>#<br># Use &#8216;blkid&#8217; to print the universally unique identifier for a<br># device; this may be used with UUID= as a more robust way to name devices<br># that works even if disks are added and removed. See fstab(5).<br>#<br># &lt;file system&gt; &lt;mount point&gt; &lt;type&gt; &lt;options&gt; &lt;dump&gt; &lt;pass&gt;<br># \/ was on \/dev\/sda1 during installation<br>UUID=da0cf23f-cb0d-443e-911a-36247b48f0d7 \/ ext4 errors=remount-ro 0 1<br># swap was on \/dev\/sda5 during installation<br>UUID=75445880-eb29-4784-a890-157ac38c4be1 none swap sw 0 0<br># \/mnt\/bak was on \/dev\/sdb1 during installation<br>UUID=6ab84907-1cd0-4509-b8c5-4ae8c0b8e024 \/mnt\/bak ext4 defaults 0 2<br># \/mnt\/store was on \/dev\/sdb2 during installation<br>UUID=a469e9cb-50fe-4f91-8615-78cd81fa7ba1 \/mnt\/store ext4 defaults 0 2<br>#<br>#<br>\/\/10.1.1.10\/store \/mnt\/fishmythstore cifs guest,nounix,user,uid=1000 0 0<\/p>\n\n\n\n<p><strong>To Do before upgrading or changing distro:-<\/strong><br>Save fstab, smb.conf<br>Save \/home<br>Save packages which are possibly not in new version<br>Export bookmarks, addressbook and calendar<br>Check (and maybe save) password.pwm, cron.daily and cron.hourly stuff, VMWare image folder<br>Take note of sound settings<\/p>\n\n\n\n<p><strong>To mount Shares from Windows PC&#8217;s<\/strong><br>Create directory e.g \/share<br>To mount&#8230;. type&#8230;<\/p>\n\n\n\n<p>smbmount \/\/winsys\/winshare some-mount-point<br>Example for me (X = win pc, C = Share name)<br>smbmount \/\/X\/C \/share<br>To unmount (my example)&#8230;<br>smbumount -t smbfs \/share<\/p>\n\n\n\n<p><strong>Mounting smbfs Shares Permanently<\/strong><br>http:\/\/www.justlinux.com\/nhf\/Filesystems\/Mounting_smbfs_Shares_Permanently.html<br>And some notes I found useful to access Vista shares&#8230;..<br>Using a text editor, create a plain text file containing two lines:<\/p>\n\n\n\n<p>username=windows_username<br>password=windows_password<\/p>\n\n\n\n<p>Substitute your actual Windows username and password for the italicized text. Save the file in your home folder as .smbpasswd (don&#8217;t forget the dot at the beginning of the filename, which makes the file hidden). Finally, change the permissions on the file so only you can open and change it by issuing the following command in a Terminal window:<br>chmod 600 .smbpasswd<\/p>\n\n\n\n<p>On the Linux machine, open \/etc\/fstab in a text editor.<br>(On Ubuntu, I used the command sudo gedit \/etc\/fstab. You can use another editor if you prefer.)<\/p>\n\n\n\n<p>At the end of the file, add a new line containing the following:<\/p>\n\n\n\n<p>\/\/vista_pc_name\/share_name mount_folder_name smbfs credentials=\/home\/linux_username\/.smbpasswd,uid=linux_username,gid=users 0 0<\/p>\n\n\n\n<p>Use the UNC path for the Windows share, and replace mount_folder_name with, for example, \/mnt\/vista_public).<br>Substitute your Linux username for the values in red. These credentials will be passed to the Vista machine.<br>(Note: there&#8217;s no space after the comma and before the uid and gid.)<br>[Update: Thanks to Jeremy Allison in the comments of the previous post for pointing out that smbfs is deprecated and no longer maintained. You can safely substitute cifs for smbfs in the fstab entry.]<\/p>\n\n\n\n<p><strong>Imagemagick<\/strong><\/p>\n\n\n\n<p>To resize&#8230;<br># convert -sample 80&#215;40 input.jpg output.jpg<br>for multiple files&#8230;.<br>mkdir new<br>for n in *; do convert -sample blabla $n new\/$n; done<br>where that asterisk stands for any shell glob pattern you wish to use to match the files to be converted (you can also use more than one pattern, space-separated).<\/p>\n\n\n\n<p>For example&#8230;..<br>mkdir new<br>for n in *jpg; do convert -sample 80&#215;40 $n new\/$n; done<\/p>\n\n\n\n<p>or<br>for n in *jpg; do convert -sample 400&#215;400 $n new\/$n; done<\/p>\n\n\n\n<p>Someone else suggested&#8230;..<br>for x in *.jpg; do convert -sample 80&#215;40 $x ${x\/.jpg\/640&#215;480.jpg}; done<\/p>\n\n\n\n<p>To rotate&#8230;<br>convert -rotate -90 dscf0010.jpg 10.jpg<\/p>\n\n\n\n<p><strong>WGET<\/strong><br>Try wget, it is a commandline tool, but don&#8217;t be scared! It is very robust.<br>example:<br>wget http:\/\/www.microsoft.com\/win2k.iso<br>if it stops part way through<br>wget -c http:\/\/www.microsoft.com\/win2k.iso<br>-c = continue.<br>It will dump the file in your current directory.<\/p>\n\n\n\n<p>I often cut and paste the file&#8217;s URL into a terminal window to save a lot of retyping.<\/p>\n\n\n\n<p><strong>SCP<\/strong><br>To copy a file from where you are working to a remote machine, the command is<br>$&gt; scp @:{}<\/p>\n\n\n\n<p>where is optional. If the directory is not given after the colon, the file will be saved in your home directory.<br>The statement<br>$&gt; scp foo.java blair@foo.clarku.edu:java<br>will save the file foo.java to my directory java\/ on the machine foo.clarku.edu<\/p>\n\n\n\n<p>To retrieve a file from a remote machine, the order is reversed:<br>$&gt; scp blair@foo.clarku.edu:java\/foo.java .\/java<\/p>\n\n\n\n<p>will bring foo.java from the java directory on foo and save it to the java directory where I am giving the scp command.<br>To save to the home directory the .\/ is just a . \/<\/p>\n\n\n\n<p>Use -r for recursive copies e.g.<br>scp -r \/localfile user@othercomputer:\/otherfolder<\/p>\n\n\n\n<p>My examples:-<br>scp -P xxx 60.234.134.181:Shared\/robert\/my_web\/super15\/week10.html .<br>(Note: The dot at the end means the current local directory. This is a handy trick that can be used about everywhere in Linux.)<\/p>\n\n\n\n<p>scp -P xxx week10.html robert@60.234.134.181:Shared\/robert\/my_web\/super15\/<\/p>\n\n\n\n<p><strong>Various Linux Commands:-<\/strong><br><code>cat \/proc\/bus\/usb\/devices<\/code><br><code>cat \/proc\/pci<\/code><br><code>cat \/proc\/modules<\/code><br><code>cat \/proc\/cpuinfo<\/code><br><code>cat \/proc\/ioports<\/code><br><code>cat \/proc\/sys\/dev\/cdrom\/info<\/code><br><code>cat \/proc\/scsi\/scsi<\/code><br><code>cat \/proc\/version<\/code><\/p>\n\n\n\n<p><strong>To Display Messages as they occur<\/strong><br><code>tail -f \/var\/log\/messages<\/code><\/p>\n\n\n\n<p><strong>To find Default Gateway:-<\/strong><br><code>route -n<\/code><br><code>ip route show<\/code><br><code>netstat -rn<\/code><\/p>\n\n\n\n<p><strong>To show active internet connections:-<\/strong><br><code>netstat -tlpn<\/code><\/p>\n\n\n\n<p><strong>To show DNS addresses<\/strong><br>nmcli dev show | grep DNS<\/p>\n\n\n\n<p><strong>To Mount an iso image to see files&#8230;.<\/strong><br>mount -o loop -t iso9660<\/p>\n\n\n\n<p><strong>To see pci devices&#8230;<\/strong><br><code>cat \/proc\/pci<\/code><\/p>\n\n\n\n<p><strong>To see Drives&#8230;<\/strong><br><code>dmesg | grep hd<\/code><br>or<br>df<\/p>\n\n\n\n<p><strong>To find files or folders&#8230;.<\/strong><br>locate name<br>For case insensitvity use -i (locate -i filename)<br>locate name | less (e.g. locate icon | less)<br>locate name | most (e.g. locate icon | most)<br>locate name | grep another_name | most (e.g. locate icons | grep mozilla | most)<br>or<br>qpkg -l mozilla|grep icons|less<br>OR &#8211; finding files with specific text&#8230;&#8230;<br>find dir | xargs (z)grep (e.g. find \/etc | xargs grep GENTOO_MIRRORS=)<br>(the z is used for zipped files)<\/p>\n\n\n\n<p><strong>Creating executable script file<\/strong><br>create a text file with<br>#!\/bin\/bash<br>as the first line then just add the command-line stuff you want.<br>Then when you are finished do:<br>chmod +x filename<br>to make it executable<br>then hey presto you have a script ready to run.<\/p>\n\n\n\n<p><strong>Backups with Linux and Rsync<\/strong><br>&lt;a href=&#8221;http:\/\/www.mikerubel.org\/computers\/rsync_snapshots\/&#8221;&gt;http:\/\/www.mikerubel.org\/computers\/rsync_snapshots\/&lt;\/a&gt;<\/p>\n\n\n\n<p><strong>SSH on different port<\/strong> (normally 22)<br>For example &#8211; ssh ipcop -p 222<\/p>\n\n\n\n<p><strong>How to create Image (ISO) files from CD\/DVD<\/strong><br>Assuming that \/dev\/cdrom is the location of CD\/DVD-ROM<\/p>\n\n\n\n<p>sudo umount \/dev\/cdrom<br>readcd dev=\/dev\/cdrom f=file.iso<br>or<br>Turn a CD\/DVD into an .iso<br>sudo umount \/dev\/cdrom<br>dd if=\/dev\/cdrom of=file.iso bs=1024<br>Turn a folder into an .iso<br>mkisofs -r -o file.iso \/location_of_folder\/<br>Generate an MD5 checksum file<br>md5sum file.iso &gt; file.iso.md5<\/p>\n\n\n\n<p><strong>To test pop3 use telnet<\/strong>:<br>telnet pop3.xtra.co.nz 110<br>user xxxx<br>pass yyyy<br>list<br>quit<\/p>\n\n\n\n<p><strong>To set up my USB Portable Hard drive enclosure.<\/strong><br>Create ntfs partion with<br>cfdisk \/dev\/sdc<\/p>\n\n\n\n<p>Format ntfs partition with<br>mkfs.ntfs \/dev\/sdc1 -L portable (portable = volume name)<\/p>\n\n\n\n<p>Mount drive (writable) with<br>mount -t ntfs-3g \/dev\/sdc1 \/mnt\/usbdrive\/ -o force<br>(Having first created folder \/mnt\/usbdrive)<br>or for my pocket drive&#8230;..<br>mount -t ntfs-3g \/dev\/sdc5 \/mnt\/usbpocket\/ -o force<\/p>\n\n\n\n<p>My bak backup&#8230;&#8230;<br><code>sudo rsync -urC --delete \/mnt\/bak\/ \/media\/robert\/HP\\ Pocket\\ Media\\ Drive1\/<\/code><\/p>\n\n\n\n<p><strong>To Install Webmin<\/strong><br>First, you need to install the components Webmin needs.<br>This can be done with one command:<br>#aptitude install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl libmd5-perl<br>When that is done, you need to download Webmin, the current version is 1.470.<br>You could simply go to the webmin website and download it<br>After it is downloaded, install it using dpkg:<br>#dpkg &#8211;install webmin_1.470_all.deb<\/p>\n\n\n\n<p><strong>How I installed Transmission on Ubuntu 16.04<\/strong><br>(I followed http:\/\/www.htpcguides.com\/install-transmission-bittorrent-client-on-ubuntu-15-x\/)<\/p>\n\n\n\n<p>sudo apt-get install transmission-cli transmission-common transmission-daemon transmission-gtk minissdpd<br>sudo service transmission-daemon status<br>sudo service transmission-daemon stop<br>sudo nano \/var\/lib\/transmission-daemon\/info\/settings.json<br>sudo usermod -a -G debian-transmission robert<br>sudo service transmission-daemon start<br>sudo service transmission-daemon stop<br>sudo service transmission-daemon status<br>sudo mkdir -p \/etc\/systemd\/system\/transmission-daemon.service.d<br>sudo nano \/etc\/systemd\/system\/transmission-daemon.service.d\/local.conf<br>sudo systemctl daemon-reload<br>sudo service transmission-daemon stop<br>sudo usermod -aG robert debian-transmission<br>sudo usermod -aG debian-transmission robert<br>sudo chmod 775 \/etc\/transmission-daemon\/settings.json<br>sudo nano \/etc\/transmission-daemon\/settings.json<br>sudo service transmission-daemon restart<br>sudo service transmission-daemon status<\/p>\n\n\n\n<p><strong>How I installed Google Drive on Linux Mint<\/strong><br>google-drive-ocamlfuse<br>Don\u2019t be frightened by the name, google-drive-ocamlfuse is a CLI fuse-based filesystem backed by Google itself, and with it you can perform directory operations on your Google Drive account.<\/p>\n\n\n\n<p>It features syncing with multiple accounts, access to Google Drive\u2019s trash directory, and read-only access to Google docs, sheets, and slides.<\/p>\n\n\n\n<p>sudo apt-add-repository ppa:alessandro-strada\/ppa<br>sudo apt-get update<br>sudo apt install google-drive-ocamlfuse<br>sudo groupadd fuse<br>sudo usermod -a -G fuse robert<br>exec su -l $USER<br>google-drive-ocamlfuse<br>mkdir ~\/googledrive<br>google-drive-ocamlfuse ~\/googledrive<br>mount<\/p>\n\n\n\n<p>To disconnect manually:- fusermount -u ~\/googledrive<\/p>\n\n\n\n<p>To connect your googledrive manually:- google-drive-ocamlfuse ~\/googledrive<\/p>\n\n\n\n<p><strong>How I set up Passwordless SSH<\/strong><br>cd \/home\/robert\/.ssh\/<br>ls<br>rm id_rsa<br>rm id_rsa.pub<br>ls<\/p>\n\n\n\n<p>ssh-keygen (Do not enter any passphrase. Just hit ENTER key and continue with default values.)<br>ssh-copy-id robert@123.456.789.123 -p 246<br>ssh-add<br>ssh-add -l<\/p>\n\n\n\n<p>ssh robert@123.456.789.123 -p 246<\/p>\n\n\n\n<p><strong>Pruning old docker images<\/strong><br><code>sudo docker system df<\/code><br><code>sudo docker images<\/code><br><code>docker image prune -a<\/code><\/p>\n\n\n\n<p><strong>Upgrading HASS (docker-compose)<\/strong><br><code>cd \/path\/to\/compose\/file\/<\/code><br><code>\/usr\/bin\/docker-compose pull &amp;&amp; \/usr\/bin\/docker-compose up -d<\/code><\/p>\n\n\n\n<p><strong>Backup my HASS (docker-compose)<\/strong><br>First run <code>sudo mount -a<\/code><\/p>\n\n\n\n<p><code>sudo rsync -urC --delete \/srv\/homeassistant\/ \/mnt\/fishmythstore\/bak-hass\/<\/code><\/p>\n\n\n\n<p><strong>Hass Crontab:-<\/strong><br>#10 2 * * * systemctl restart homeassistant.service<br>12 2 * * * systemctl restart nginx.service<\/p>\n\n\n\n<p>#30 2 5 * * certbot renew &#8211;pre-hook &#8220;systemctl stop nginx.service&#8221; &#8211;post-hook &#8220;systemctl start nginx.service&#8221;<br>#0 1 * * 3 rm \/home\/homeassistant\/.homeassistant\/.google_maps_location_sharing.cookies.hass_fisher_net_nz<\/p>\n\n\n\n<p><strong>Hass MQTT topics examples:-<\/strong><br><code>mosquitto_sub -h localhost -t '#' -v | grep shelly1<br>mosquitto_sub -h localhost -t '#' -v | grep shellyswitch25<\/code><\/p>\n\n\n\n<p><strong>Hass MQTT blinds with Shelly25:-<\/strong><br><a href=\"http:\/\/www.bujarra.com\/controlando-las-persianas-con-shelly-2-5-y-home-assistant\/?lang=en\">http:\/\/www.bujarra.com\/controlando-las-persianas-con-shelly-2-5-y-home-assistant\/?lang=en<\/a><\/p>\n\n\n\n<p><strong>Fishminder Crontab:-<\/strong><\/p>\n\n\n\n<p># m h dom mon dow command<br>#10 04 * * * systemctl restart zoneminder.service<br>#10 4 * * * systemctl restart zoneminder.service<br>0 *\/6 * * * systemctl restart zoneminder.service<br>#00 04 * * 0 \/usr\/bin\/mysqlcheck &#8211;all-databases &#8211;auto-repair<br>0 4 * * 0 \/usr\/bin\/mysqlcheck &#8211;all-databases &#8211;auto-repair<\/p>\n\n\n\n<p><strong>Updating my letsencrypt certificate:-<\/strong><\/p>\n\n\n\n<p>## SCRIPT CONTENTS<br>#!\/bin\/bash<br>sudo certbot -d *.fisher.net.nz &#8211;manual &#8211;preferred-challenges dns certonly<br>##<\/p>\n\n\n\n<p>&#8211; <code>.\/renew_cert<\/code><br>&#8211; 1stdomains -&gt; login &amp; Manage DNS Zone Records<br>&#8211; update _acme-challenge.fisher.net to challenge string from script above.<br>&#8211; Browse to <a href=\"https:\/\/mxtoolbox.com\/TXTLookup.aspx\">https:\/\/mxtoolbox.com\/TXTLookup.aspx<\/a><\/p>\n\n\n\n<p>&#8211; lookup: _acme-challenge.fisher.net.nz<\/p>\n\n\n\n<p>&#8211; confirm Record matches challenge string from script above.<\/p>\n\n\n\n<p>To check certificates:-<br><code>sudo certbot certificates<\/code><\/p>\n\n\n\n<p><strong>Important<\/strong>: Update calendar reminder to new expiry date.<\/p>\n\n\n\n<p><strong>How I installed VNC on my Ubuntu 20.04 server<\/strong><br><a href=\"https:\/\/linuxconfig.org\/vnc-server-on-ubuntu-20-04-focal-fossa-linux\">https:\/\/linuxconfig.org\/vnc-server-on-ubuntu-20-04-focal-fossa-linux<\/a><br>sudo apt update<br>sudo apt install tightvncserver xfce4 xfce4-goodies<\/p>\n\n\n\n<p>vncpasswd<br>vncserver (You will require a password to access your desktops.)<br>vncserver -kill :1<br>mv ~\/.vnc\/xstartup ~\/.vnc\/xstartup.bak<br>nano ~\/.vnc\/xstartup<br>Edit as follows:-<br>#!\/bin\/bash<br>xrdb $HOME\/.Xresources<br>startxfce4 &amp;<br>Save and make executable &#8211; sudo chmod +x ~\/.vnc\/xstartup<br>Start the server again &#8211; vncserver<br>netstat &#8211; tlpn (will show active connections)<\/p>\n\n\n\n<p><strong>Note:<\/strong> If using Vinagre as VNC client it pays not to save the password for multiple servers. (On Ubuntu or Linuxmint they can be removed using Seahorse)<\/p>\n\n\n\n<p><strong>Wake on lan:-<\/strong><\/p>\n\n\n\n<p>Enable Wake on LAN on server and after shutdown ensure lights are still on on NIC then on client (machine sending the magic packet):-<br><code>sudo apt-get install wakeonlan<\/code><br>wakeonlan (MAC address)<br>e.g.<br><code>wakeonlan f8:b1:56:b7:93:3d<\/code><\/p>\n\n\n\n<p><strong>Ookla Speedtest-cli (install and use):-<\/strong><\/p>\n\n\n\n<p><code>curl -s https:\/\/packagecloud.io\/install\/repositories\/ookla\/speedtest-cli\/script.deb.sh &gt; script.sh<\/code><\/p>\n\n\n\n<p><code>chmod 755 script.sh<\/code><\/p>\n\n\n\n<p><code>sudo os=ubuntu dist=jammy .\/script.sh<\/code><\/p>\n\n\n\n<p><code>sudo apt install speedtest-cli<\/code><\/p>\n\n\n\n<p><code>speedtest --version<\/code><\/p>\n\n\n\n<p>To run &#8211; <code>speedtest-cli --secure<\/code><\/p>\n\n\n\n<p>or <code>speedtest --secure<\/code><\/p>\n\n\n\n<p><strong>Things I needed to do after Debian upgrades to new version:-<\/strong><\/p>\n\n\n\n<p>On hass, edit <code>\/etc\/nginx\/sites-available\/wordpress<\/code> to new php version<\/p>\n\n\n\n<p>On zm, run <code>sudo zmupdate.pl<\/code> to update to new database version<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How I copied HDD to SSD My WordPress Backup My HASS notes My HASS Backup Setup Email on Zoneminder Installing new ROM on Google phones Boot Mac Mini from USB Installing and setup WiFi on Headless Debian Mac Mini Installing Docker Compose on Debian My HA Bathroom Fan Automations (Some of this is quite old [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1237","page","type-page","status-publish","hentry","post-preview"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/pages\/1237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1237"}],"version-history":[{"count":12,"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/pages\/1237\/revisions"}],"predecessor-version":[{"id":1359,"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/pages\/1237\/revisions\/1359"}],"wp:attachment":[{"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}