{"id":7662,"date":"2020-10-05T20:19:00","date_gmt":"2020-10-05T18:19:00","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=7662"},"modified":"2020-10-05T10:20:49","modified_gmt":"2020-10-05T08:20:49","slug":"advanced-unix-commands-to-boost-your-productivity","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2020\/10\/05\/advanced-unix-commands-to-boost-your-productivity\/","title":{"rendered":"Advanced Unix commands to boost your productivity"},"content":{"rendered":"<p><em><a href=\"https:\/\/levelup.gitconnected.com\/advanced-unix-commands-to-boost-your-productivity-4af6e9086c04\">Advanced Unix commands to boost your productivity<\/a><\/em><\/p>\n<blockquote><p>The more you learn the better you get<\/p><\/blockquote>\n<ol>\n<li>vi or better Vim<\/li>\n<li>find<\/li>\n<li>awk<\/li>\n<li>alias<\/li>\n<li>netstat<\/li>\n<\/ol>\n<p>Well, I can say that I do use them all except awk which I usually reimplement poorly using a combination of grep, sed and the like.<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Advanced Unix commands to boost your productivity The more you learn the better you get vi or better Vim find awk alias netstat Well, I can say that I do use them all except awk which I usually reimplement poorly using a combination of grep, sed and the like.<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2020\/10\/05\/advanced-unix-commands-to-boost-your-productivity\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"status","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[19],"tags":[],"class_list":["post-7662","post","type-post","status-publish","format-status","hentry","category-mood","post_format-post-format-status"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-1ZA","jetpack-related-posts":[{"id":1895,"url":"https:\/\/monodes.com\/predaelli\/2016\/11\/15\/50-most-frequently-used-unix-linux-commands-with-examples\/","url_meta":{"origin":7662,"position":0},"title":"50 Most Frequently Used UNIX \/ Linux Commands (With Examples)","author":"Paolo Redaelli","date":"2016-11-15","format":false,"excerpt":"Several pearl in 50 Most Frequently Used UNIX \/ Linux Commands (With Examples) Add line number for all non-empty-lines in a file $ sed '\/.\/=' thegeekstuff.txt | sed 'N; s\/\\n\/ \/' Remove duplicate lines using awk $ awk '!($0 in array) { array[$0]; print }' temp \u00a0 Print all lines\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11554,"url":"https:\/\/monodes.com\/predaelli\/2024\/04\/03\/how-to-replace-string-in-bash-5-methods-linuxsimply\/","url_meta":{"origin":7662,"position":1},"title":"How to Replace String in Bash? [5 Methods] &#8211; LinuxSimply","author":"Paolo Redaelli","date":"2024-04-03","format":"quote","excerpt":"In bash scripting, the replacement of string is important because it allows you to modify a variable and the text of a file. It also helps in file and text processing and to validate user input. To replace a string in bash, check the following methods: Using Parameter expansion: ${String\/pattern\/replacement}\u2026","rel":"","context":"In &quot;Tricks&quot;","block_context":{"text":"Tricks","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/tricks\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6634,"url":"https:\/\/monodes.com\/predaelli\/2020\/02\/04\/nice-mail-discoveries\/","url_meta":{"origin":7662,"position":2},"title":"Nice mail discoveries","author":"Paolo Redaelli","date":"2020-02-04","format":false,"excerpt":"Holy my! For the first time in years, someone wrote 2 decades, OpenBSD Mail Server Bug Allowed Remotely Executing Shell Commands As Root. So I was curious to find it out on my Debian machine: apt search OpenSMTPD Ordinamento\u2026 Fatto Ricerca sul testo\u2026 Fatto mblaze\/unstable 0.6-1 amd64 utilit\u00e0 UNIX per\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5049,"url":"https:\/\/monodes.com\/predaelli\/2018\/12\/11\/redox-your-nextgen-os\/","url_meta":{"origin":7662,"position":3},"title":"Redox &#8211; Your Next(Gen) OS","author":"Paolo Redaelli","date":"2018-12-11","format":false,"excerpt":"Source: Redox - Your Next(Gen) OS - Redox - Your Next(Gen) OS ...MIT licensed. They will have their reason to choose it.","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/monodes.com\/predaelli\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/Screenshot_2018-12-11-Redox-Your-NextGen-OS-Redox-Your-NextGen-OS-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/Screenshot_2018-12-11-Redox-Your-NextGen-OS-Redox-Your-NextGen-OS-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/Screenshot_2018-12-11-Redox-Your-NextGen-OS-Redox-Your-NextGen-OS-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/Screenshot_2018-12-11-Redox-Your-NextGen-OS-Redox-Your-NextGen-OS-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":6480,"url":"https:\/\/monodes.com\/predaelli\/2020\/01\/25\/advanced-cli-commands-you-should-know-as-a-developer\/","url_meta":{"origin":7662,"position":4},"title":"Advanced CLI: Commands You Should Know as a Developer","author":"Paolo Redaelli","date":"2020-01-25","format":"link","excerpt":"Advanced CLI: Commands You Should Know as a Developer May I feel a little proud when I tell you I know them all? :) Advanced CLI: Commands You Should Know as a Developer Advanced commands; get more done No, in this article we won\u2019t go over the basic commands like\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11936,"url":"https:\/\/monodes.com\/predaelli\/2024\/09\/28\/attacking-unix-systems-via-cups-part-i\/","url_meta":{"origin":7662,"position":5},"title":"Attacking UNIX Systems via CUPS, Part I","author":"Paolo Redaelli","date":"2024-09-28","format":false,"excerpt":"Hello friends, this is the first of two, possibly three (if and when I have time to finish the Windows research) writeups. We will start with targeting GNU\/Linux systems with an RCE. As someone who\u2019s Source: Attacking UNIX Systems via CUPS, Part I","rel":"","context":"In &quot;Senza categoria&quot;","block_context":{"text":"Senza categoria","link":"https:\/\/monodes.com\/predaelli\/category\/senza-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=7662"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7662\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=7662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=7662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=7662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}