{"id":392,"date":"2009-12-23T16:01:50","date_gmt":"2009-12-23T16:01:50","guid":{"rendered":"http:\/\/salientsoft.co.uk\/?p=392"},"modified":"2010-01-23T11:23:52","modified_gmt":"2010-01-23T11:23:52","slug":"how-to-list-files-with-full-path-in-linux","status":"publish","type":"post","link":"https:\/\/salientsoft.co.uk\/?p=392","title":{"rendered":"How to list files with full path in Linux"},"content":{"rendered":"<p>Here is one way which also illustrates the use of the double backslash command substitution mechanism, whereby an embedded shell command in backquotes is replaced by the output of executing it :-<\/p>\n<pre>ls -lR `pwd`\/* | grep 'epdfview'<\/pre>\n<p>\u00a0<\/p>\n<p>The <strong>pwd<\/strong> command is expanded and replaced with the current working folder as the ls command is executed. In this example, the output is piped through the <strong>grep<\/strong> command to search for a file &#8211; this is for illustration, as you would normally do this with the <strong>find<\/strong> command as shown <strong><a title=\"http:\/\/salientsoft.co.uk\/?p=374\" href=\"http:\/\/salientsoft.co.uk\/?p=374\">here<\/a>.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is one way which also illustrates the use of the double backslash command substitution mechanism, whereby an embedded shell command in backquotes is replaced by the output of executing it :- ls -lR `pwd`\/* | grep &#8216;epdfview&#8217; \u00a0 The pwd command is expanded and replaced with the current working folder as the ls command [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[45],"tags":[186,16],"_links":{"self":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/392"}],"collection":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=392"}],"version-history":[{"count":9,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/392\/revisions"}],"predecessor-version":[{"id":398,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/392\/revisions\/398"}],"wp:attachment":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}