{"id":1266,"date":"2023-04-10T12:54:09","date_gmt":"2023-04-10T12:54:09","guid":{"rendered":"https:\/\/jamj.org\/?p=1266"},"modified":"2023-04-10T12:54:09","modified_gmt":"2023-04-10T12:54:09","slug":"gnu-touch","status":"publish","type":"post","link":"https:\/\/jamj.org\/index.php\/2023\/04\/10\/gnu-touch\/","title":{"rendered":"GNU &#8211; touch"},"content":{"rendered":"\n<p>This simple command is able to do a few things. If you read the man description it will tell you this:<\/p>\n\n\n\n<p><code>touch - change file timestamps<\/code><\/p>\n\n\n\n<p>so basically this tool changes the timestamp of a file, but it can also do: <\/p>\n\n\n\n<p><code>A FILE argument that does not exist is created empty, unless -c or -h is supplied<\/code><\/p>\n\n\n\n<p>which is what people usually use this command for. So the next time you need to create an empty file, in a fast and simple way, just type:<\/p>\n\n\n\n<p><code>touch filename <\/code><\/p>\n\n\n\n<p>and a new empty file named <em><strong>filename<\/strong><\/em> will be created for you. As allways check the man page for more information<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This simple command is able to do a few things. If you read the man description it will tell you this: touch &#8211; change file timestamps so basically this tool changes the timestamp of a file, but it can also do: A FILE argument that does not exist is created empty, unless -c or -h [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1266","post","type-post","status-publish","format-standard","hentry","category-gnu"],"_links":{"self":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts\/1266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/comments?post=1266"}],"version-history":[{"count":0,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts\/1266\/revisions"}],"wp:attachment":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/media?parent=1266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/categories?post=1266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/tags?post=1266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}