{"id":188,"date":"2013-03-08T10:58:07","date_gmt":"2013-03-08T09:58:07","guid":{"rendered":"http:\/\/zsteva.info\/?p=188"},"modified":"2013-03-08T10:58:07","modified_gmt":"2013-03-08T09:58:07","slug":"poslednji-argument-prethodne-komandne-linije-bash","status":"publish","type":"post","link":"http:\/\/zsteva.info\/blog\/2013\/03\/poslednji-argument-prethodne-komandne-linije-bash\/","title":{"rendered":"Poslednji argument prethodne komandne linije bash"},"content":{"rendered":"<p>Primer, korpirate vi\u0161e fajlova u neki direktorijum:<\/p>\n<p><code>cp file1 file2 file3 file4 \/var\/www\/nekidir\/pa-jos-neki\/pa-jos<\/code><\/p>\n<p>i onda skontate da treba i file5, ok <strong>cp file5<\/strong> ali sad treba opet upisati putanju.<\/p>\n<p>E pa ima lak\u0161e re\u0161enje:<\/p>\n<p><code>cp file5 <strong>Alt-.<\/strong><\/code><\/p>\n<p>(Alt i ta\u010dka) Naravno ovo mo\u017ee da bude neka druga kombinacija zavisno od va\u0161ih pode\u0161avanja.<\/p>\n<p>Izvor <a href=\"http:\/\/stackoverflow.com\/questions\/4009412\/bash-first-argument-of-the-previous-command\" title=\"http:\/\/stackoverflow.com\/questions\/4009412\/bash-first-argument-of-the-previous-command\" target=\"_blank\">stackoverflow<\/a><\/p>\n<p>PS: naravno ako koristite bash kao shell<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Primer, korpirate vi\u0161e fajlova u neki direktorijum: cp file1 file2 file3 file4 \/var\/www\/nekidir\/pa-jos-neki\/pa-jos i onda skontate da treba i file5, ok cp file5 ali sad treba opet upisati putanju. E pa ima lak\u0161e re\u0161enje: cp file5 Alt-. (Alt i ta\u010dka) &hellip; <a href=\"http:\/\/zsteva.info\/blog\/2013\/03\/poslednji-argument-prethodne-komandne-linije-bash\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[86,84,85,130,40],"_links":{"self":[{"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/posts\/188"}],"collection":[{"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":5,"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":193,"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions\/193"}],"wp:attachment":[{"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zsteva.info\/blog\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}