1 line
No EOL
44 KiB
XML
1 line
No EOL
44 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><category term="commandline" label="r/commandline"/><updated>2023-01-28T12:49:46+00:00</updated><icon>https://www.redditstatic.com/icon.png/</icon><id>/r/commandline.rss</id><link rel="self" href="https://www.reddit.com/r/commandline.rss" type="application/atom+xml" /><link rel="alternate" href="https://www.reddit.com/r/commandline" type="text/html" /><subtitle>This is for anything regarding the command line, in any operating system. All questions (including dumb ones), tips, and links to interesting programs/console applications you've found or made yourself are welcome. Linux / BSD / OSX / Windows CLI and TUI apps or questions or comments, we're happy to take them all!</subtitle><title>Command Line</title><entry><author><name>/u/psprint3</name><uri>https://www.reddit.com/user/psprint3</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>A zsh linter with 7 checks currently:</p> <p><a href="https://github.com/psprint/zsh-sweep">https://github.com/psprint/zsh-sweep</a></p> <p>The checks are:</p> <p>- whether emulate -L -o … or setopt has been used,</p> <p>- whether fun-name() { preamble exists within an autoload function (it&#39;s good practice to help Ctags recognizing the function),</p> <p>- whether certain, useful options has been given, like localoptions, typesetsilent, extendedglob, etc.</p> <p>- whether -F option has been given to zparseopts (toggles error detection),</p> <p>- whether -U option has been given to autoload,</p> <p>- whether 0=… assignment exists,- and whether 0= has a standard form,</p> <p>- also, if variable being array is appended without (…), ie. arr+=elem instead of arr+=(elem)</p> <p>Does someone have any ideas for more checks?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/psprint3"> /u/psprint3 </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10nbz4i/announcing_zshsweep_a_zshlinter/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10nbz4i/announcing_zshsweep_a_zshlinter/">[comments]</a></span></content><id>t3_10nbz4i</id><link href="https://www.reddit.com/r/commandline/comments/10nbz4i/announcing_zshsweep_a_zshlinter/" /><updated>2023-01-28T10:24:22+00:00</updated><published>2023-01-28T10:24:22+00:00</published><title>Announcing zsh-sweep, a zsh-linter</title></entry><entry><author><name>/u/phantaso0s</name><uri>https://www.reddit.com/user/phantaso0s</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>Hello everybody!</p> <p>I just published <a href="https://thevaluable.dev/practical-guide-fzf-example/">an article about the fuzzy finder fzf</a>, to show the basics and advanced features of this fantastic tool. The goal of the article: being able to create a whole file / directory explorer only using fzf.</p> <p>Hope you like it! I&#39;m eager for feedback (positive or negative), so don&#39;t hesitate to roast everything I&#39;m doing.</p> <p>Here&#39;s a TLDR:</p> <ul> <li>fzf is a fuzzy finder, allowing us to match a plain text query against line-separated inputs.</li> <li>We can overwrite fzf&#39;s default command and options with environment variables.</li> <li>fzf allows multi-selection with the option <code>-m</code> (or <code>--multi</code>).</li> <li>Some metacharacters (similar to regex patterns) can be used for queries: <code>^</code>,<code>$</code>, or <code>|</code> for example.</li> <li>To limit the search scope, we can specify what part of the entry we want to be searchable, thanks to <code>--nth</code> and <code>--delimiter</code>.</li> <li>fzf provides many different options to customize its TUI.</li> <li>Creating a preview (the output of a command) is quite easy with the <code>--preview</code> option.</li> <li>We can bound many actions to different keystrokes or events, to create a trully unique experience, and a more customized TUI.</li> <li>Some options take more resources than other; better disabling them if you&#39;re runnning into performance issues.</li> </ul> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/phantaso0s"> /u/phantaso0s </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10mfm5b/a_practical_guide_to_fzf_building_a_file_explorer/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10mfm5b/a_practical_guide_to_fzf_building_a_file_explorer/">[comments]</a></span></content><id>t3_10mfm5b</id><link href="https://www.reddit.com/r/commandline/comments/10mfm5b/a_practical_guide_to_fzf_building_a_file_explorer/" /><updated>2023-01-27T08:01:47+00:00</updated><published>2023-01-27T08:01:47+00:00</published><title>A Practical Guide to fzf: Building a File Explorer</title></entry><entry><author><name>/u/username2022oldnew</name><uri>https://www.reddit.com/user/username2022oldnew</uri></author><category term="commandline" label="r/commandline"/><content type="html"><table> <tr><td> <a href="https://www.reddit.com/r/commandline/comments/10m34pl/searching_and_watching_youtube_with_thumbnails/"> <img src="https://external-preview.redd.it/wynHlxeK9hrfzobqHzyffZWlmNXWFbmicdjDZLEgyPs.png?width=640&amp;crop=smart&amp;auto=webp&amp;s=5e6d7bebdbd65ec89adb21d0df206db5fde29384" alt="searching and watching youtube (with thumbnails) entirely within a terminal (using sixel)" title="searching and watching youtube (with thumbnails) entirely within a terminal (using sixel)" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/username2022oldnew"> /u/username2022oldnew </a> <br/> <span><a href="https://v.redd.it/gox4a69ehgea1">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10m34pl/searching_and_watching_youtube_with_thumbnails/">[comments]</a></span> </td></tr></table></content><id>t3_10m34pl</id><media:thumbnail url="https://external-preview.redd.it/wynHlxeK9hrfzobqHzyffZWlmNXWFbmicdjDZLEgyPs.png?width=640&crop=smart&auto=webp&s=5e6d7bebdbd65ec89adb21d0df206db5fde29384" /><link href="https://www.reddit.com/r/commandline/comments/10m34pl/searching_and_watching_youtube_with_thumbnails/" /><updated>2023-01-26T21:31:53+00:00</updated><published>2023-01-26T21:31:53+00:00</published><title>searching and watching youtube (with thumbnails) entirely within a terminal (using sixel)</title></entry><entry><author><name>/u/defr0std</name><uri>https://www.reddit.com/user/defr0std</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>Hi,</p> <p>The programs I typically run produce log-style output, e.g. each output line has certain format: info time message, warn time message, etc.</p> <p>Are there any tools to automatically color the output coming from the program? For example, I want info to be colored in blue, error in red, etc. I would like to provide a regex and colors to &quot;something&quot; which should analyze each line and print it accordingly. The question is what that something could be?</p> <p>For reference, I am using alacrity terminal, tmux and zsh.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/defr0std"> /u/defr0std </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10mq6wi/color_program_output/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10mq6wi/color_program_output/">[comments]</a></span></content><id>t3_10mq6wi</id><link href="https://www.reddit.com/r/commandline/comments/10mq6wi/color_program_output/" /><updated>2023-01-27T17:13:41+00:00</updated><published>2023-01-27T17:13:41+00:00</published><title>Color program output</title></entry><entry><author><name>/u/adamlhb</name><uri>https://www.reddit.com/user/adamlhb</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>I am using WSL and want to monitor the disk size so I can compact it whenever it goes high from diskpart since it is VHDX file.</p> <p>plus, no need if that requires reading cycles from ssd</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/adamlhb"> /u/adamlhb </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10mkw61/in_powerlevel10k_how_to_show_disk_sizecapacity/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10mkw61/in_powerlevel10k_how_to_show_disk_sizecapacity/">[comments]</a></span></content><id>t3_10mkw61</id><link href="https://www.reddit.com/r/commandline/comments/10mkw61/in_powerlevel10k_how_to_show_disk_sizecapacity/" /><updated>2023-01-27T13:32:27+00:00</updated><published>2023-01-27T13:32:27+00:00</published><title>In powerlevel10k how to show disk size/capacity instead of usage on the right side?</title></entry><entry><author><name>/u/American_Jesus</name><uri>https://www.reddit.com/user/American_Jesus</uri></author><category term="commandline" label="r/commandline"/><content type="html"><table> <tr><td> <a href="https://www.reddit.com/r/commandline/comments/10ltt6p/14_rust_tools_for_linux_terminal_dwellers/"> <img src="https://external-preview.redd.it/KmB4gYl18V2HWBAVUewdL8v0A84F23xV14zgme5QZdQ.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=275ca8f7e165b1a70015fc40c10fb8f3822c0b94" alt="14 Rust Tools for Linux Terminal Dwellers" title="14 Rust Tools for Linux Terminal Dwellers" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/American_Jesus"> /u/American_Jesus </a> <br/> <span><a href="https://itsfoss.com/rust-cli-tools/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10ltt6p/14_rust_tools_for_linux_terminal_dwellers/">[comments]</a></span> </td></tr></table></content><id>t3_10ltt6p</id><media:thumbnail url="https://external-preview.redd.it/KmB4gYl18V2HWBAVUewdL8v0A84F23xV14zgme5QZdQ.jpg?width=640&crop=smart&auto=webp&s=275ca8f7e165b1a70015fc40c10fb8f3822c0b94" /><link href="https://www.reddit.com/r/commandline/comments/10ltt6p/14_rust_tools_for_linux_terminal_dwellers/" /><updated>2023-01-26T15:02:58+00:00</updated><published>2023-01-26T15:02:58+00:00</published><title>14 Rust Tools for Linux Terminal Dwellers</title></entry><entry><author><name>/u/s0ftcorn</name><uri>https://www.reddit.com/user/s0ftcorn</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>In my use case, which is logical data recovery on ext4 inside a qcow2 image, i use the following:</p> <p><code>sudo dd if=/dev/vdb1 bs=100M | LC_ALL=C grep -F -a -C 50 &#39;superImportantText&#39; &gt; out.txt</code> </p> <p>This is already an attempt to stop grep from being killed by the OOM-killer.<br/> Somewhere on stackexchange i found this and changed it a bit: <a href="https://pastebin.com/YF3YnVrZ">https://pastebin.com/YF3YnVrZ</a><br/> But this doesnt seem to work at all lol </p> <p>Maybe some of you have a idea how i can stop grep from being so memory hungry?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/s0ftcorn"> /u/s0ftcorn </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10mhp82/grep_gets_killed_by_oomkiller/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10mhp82/grep_gets_killed_by_oomkiller/">[comments]</a></span></content><id>t3_10mhp82</id><link href="https://www.reddit.com/r/commandline/comments/10mhp82/grep_gets_killed_by_oomkiller/" /><updated>2023-01-27T10:28:32+00:00</updated><published>2023-01-27T10:28:32+00:00</published><title>grep gets killed by OOM-killer</title></entry><entry><author><name>/u/kyob</name><uri>https://www.reddit.com/user/kyob</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>I have thousands PDF files. I need to change font type to reduce their size. </p> <p>Is there any way to do it from linux shell ?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/kyob"> /u/kyob </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10mhodv/how_to_change_font_type_in_pdf_for_multiple_files/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10mhodv/how_to_change_font_type_in_pdf_for_multiple_files/">[comments]</a></span></content><id>t3_10mhodv</id><link href="https://www.reddit.com/r/commandline/comments/10mhodv/how_to_change_font_type_in_pdf_for_multiple_files/" /><updated>2023-01-27T10:26:53+00:00</updated><published>2023-01-27T10:26:53+00:00</published><title>How to change font type in PDF for multiple files</title></entry><entry><author><name>/u/LurkerFuniNambah</name><uri>https://www.reddit.com/user/LurkerFuniNambah</uri></author><category term="commandline" label="r/commandline"/><content type="html"><table> <tr><td> <a href="https://www.reddit.com/r/commandline/comments/10lx8t0/tuckr_a_better_stow_it_follows_stows_conventions/"> <img src="https://external-preview.redd.it/1mL_2CVWtRfE0PGQIZzCXR4GHgdBQoUGhprAQCwKx3A.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=bb095345d34c505b27bb768900a10581ed741bc5" alt="Tuckr: A better Stow. It follows stow's conventions and builds upon it to have a better tool for managing dotfiles." title="Tuckr: A better Stow. It follows stow's conventions and builds upon it to have a better tool for managing dotfiles." /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/LurkerFuniNambah"> /u/LurkerFuniNambah </a> <br/> <span><a href="https://github.com/RaphGL/Tuckr">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10lx8t0/tuckr_a_better_stow_it_follows_stows_conventions/">[comments]</a></span> </td></tr></table></content><id>t3_10lx8t0</id><media:thumbnail url="https://external-preview.redd.it/1mL_2CVWtRfE0PGQIZzCXR4GHgdBQoUGhprAQCwKx3A.jpg?width=640&crop=smart&auto=webp&s=bb095345d34c505b27bb768900a10581ed741bc5" /><link href="https://www.reddit.com/r/commandline/comments/10lx8t0/tuckr_a_better_stow_it_follows_stows_conventions/" /><updated>2023-01-26T17:26:10+00:00</updated><published>2023-01-26T17:26:10+00:00</published><title>Tuckr: A better Stow. It follows stow's conventions and builds upon it to have a better tool for managing dotfiles.</title></entry><entry><author><name>/u/RecursiveKaizen</name><uri>https://www.reddit.com/user/RecursiveKaizen</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>I&#39;d like to copy a directory structure. One main folder with many subfolders, potentially going down many levels. However, I do not want to copy any existing files from the old directory.</p> <p>Every year, I do this when preparing my taxes. Doing it manually is irritating, and time consuming.</p> <p>What would be a good way to go about it?</p> <p>System: macOS with Ventura 13.2 with a z shell.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/RecursiveKaizen"> /u/RecursiveKaizen </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10lxkxn/how_can_i_replicate_a_directory_structure/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10lxkxn/how_can_i_replicate_a_directory_structure/">[comments]</a></span></content><id>t3_10lxkxn</id><link href="https://www.reddit.com/r/commandline/comments/10lxkxn/how_can_i_replicate_a_directory_structure/" /><updated>2023-01-26T17:40:07+00:00</updated><published>2023-01-26T17:40:07+00:00</published><title>How can I replicate a directory structure?</title></entry><entry><author><name>/u/bayarea-dev</name><uri>https://www.reddit.com/user/bayarea-dev</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>I&#39;ve been doing Linux programming for quite a few years. I&#39;d like to share all of my terminal coding tricks and techniques with you guys. </p> <ul> <li><a href="https://sweworld.net/linux/setup/efficient_remote_linux_development/">My workflow setup</a></li> <li><a href="https://sweworld.net/linux/setup/setup_a_new_linux_server/">Beginners&#39; guide to set up a new Linux as a dev server</a></li> <li><a href="https://sweworld.net/cheatsheets/terminal_escape_code/">Terminal Escape Code Cheatsheets</a>. (This is going to help if you have certain hotkeys not working in terminal)</li> </ul> <p>More contents can be found in <a href="https://sweworld.net/">sweworld</a>. Hopefully they are useful to you.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/bayarea-dev"> /u/bayarea-dev </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10lg5w2/working_in_terminal_with_efficiency/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10lg5w2/working_in_terminal_with_efficiency/">[comments]</a></span></content><id>t3_10lg5w2</id><link href="https://www.reddit.com/r/commandline/comments/10lg5w2/working_in_terminal_with_efficiency/" /><updated>2023-01-26T01:45:07+00:00</updated><published>2023-01-26T01:45:07+00:00</published><title>Working In Terminal With Efficiency</title></entry><entry><author><name>/u/GoodForTheTongue</name><uri>https://www.reddit.com/user/GoodForTheTongue</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>I think the Miller (mlr) package is what I need for manipulating a bunch of CSV files I have here, but<br/> I&#39;m daunted by the number of options and the complexity of the syntax. Can someone help jumpstart me with using it for a really simply task?</p> <p>I have several thousand CSV pipe-delimited files with a format like:</p> <pre><code>type|date|name|class|comment| aaa|03-03-22|Bob|A1|OK| bbb|04-22-21|Charlie|B2|OK| [...etc....] </code></pre> <p>and in each file I just want to insert a completely blank column between &quot;name&quot; and &quot;class&quot;, so I get:</p> <pre><code>type|date|name|newcolumn|class|comment| aaa|03-03-22|Bob||A1|OK| bbb|04-22-21|Charlie||B2|OK| </code></pre> <p>I&#39;m sure Miller can do this (using <strong>mlr --csv put ...?)</strong>, but I can&#39;t figure out how, because all the (many) online examples seem to be about appending the columns at the end of each line, not in the middle. Help?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/GoodForTheTongue"> /u/GoodForTheTongue </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10m3frg/use_miller_mlr_to_insert_a_column_in_the_middle/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10m3frg/use_miller_mlr_to_insert_a_column_in_the_middle/">[comments]</a></span></content><id>t3_10m3frg</id><link href="https://www.reddit.com/r/commandline/comments/10m3frg/use_miller_mlr_to_insert_a_column_in_the_middle/" /><updated>2023-01-26T21:44:19+00:00</updated><published>2023-01-26T21:44:19+00:00</published><title>Use miller (mlr) to insert a column in the middle of a CSV file??</title></entry><entry><author><name>/u/3AMGames</name><uri>https://www.reddit.com/user/3AMGames</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>With today&#39;s abundance of VM&#39;s is there any reason I should dedicate time and effort into learning Windows cmd or PowerShell? My thought process is that, though I can use VM to run a linux terminal any time, my ACTUAL computer is ACTUALLY still running on Windows, so it would probably be beneficial for me to learn the command line commands for my TRUE OS? Right? </p> <p>Sorry for the lack of precision or clarity of my question, I&#39;m just a CS student thinking out loud here and wondering what I should do with my time.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/3AMGames"> /u/3AMGames </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10m2pk1/any_windows_cmd_or_powershell_people_out_there/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10m2pk1/any_windows_cmd_or_powershell_people_out_there/">[comments]</a></span></content><id>t3_10m2pk1</id><link href="https://www.reddit.com/r/commandline/comments/10m2pk1/any_windows_cmd_or_powershell_people_out_there/" /><updated>2023-01-26T21:14:36+00:00</updated><published>2023-01-26T21:14:36+00:00</published><title>Any Windows cmd or PowerShell people out there?</title></entry><entry><author><name>/u/PhotonFrost</name><uri>https://www.reddit.com/user/PhotonFrost</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>When you use ssh to access a remote computer, does that remote computer or the association using the remote computer gain access to your files or network?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/PhotonFrost"> /u/PhotonFrost </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10lbk9c/question_regarding_ssh/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10lbk9c/question_regarding_ssh/">[comments]</a></span></content><id>t3_10lbk9c</id><link href="https://www.reddit.com/r/commandline/comments/10lbk9c/question_regarding_ssh/" /><updated>2023-01-25T22:21:01+00:00</updated><published>2023-01-25T22:21:01+00:00</published><title>Question Regarding ssh</title></entry><entry><author><name>/u/Tough_Chance_5541</name><uri>https://www.reddit.com/user/Tough_Chance_5541</uri></author><category term="commandline" label="r/commandline"/><content type="html"><table> <tr><td> <a href="https://www.reddit.com/r/commandline/comments/10l9bxt/pswd_an_open_source_password_generator_for_linux/"> <img src="https://external-preview.redd.it/FBYP83wvkljF5Ciyzxbf0w90vmjMsFiHjl-K9RDkjao.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=84c8aa53479febc2d8673d7c7ba5ade56b616f0c" alt="pswd | an open source password generator for Linux systems" title="pswd | an open source password generator for Linux systems" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Tough_Chance_5541"> /u/Tough_Chance_5541 </a> <br/> <span><a href="https://github.com/Mandrew0822/pswd">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10l9bxt/pswd_an_open_source_password_generator_for_linux/">[comments]</a></span> </td></tr></table></content><id>t3_10l9bxt</id><media:thumbnail url="https://external-preview.redd.it/FBYP83wvkljF5Ciyzxbf0w90vmjMsFiHjl-K9RDkjao.jpg?width=640&crop=smart&auto=webp&s=84c8aa53479febc2d8673d7c7ba5ade56b616f0c" /><link href="https://www.reddit.com/r/commandline/comments/10l9bxt/pswd_an_open_source_password_generator_for_linux/" /><updated>2023-01-25T20:50:44+00:00</updated><published>2023-01-25T20:50:44+00:00</published><title>pswd | an open source password generator for Linux systems</title></entry><entry><author><name>/u/NetNotch</name><uri>https://www.reddit.com/user/NetNotch</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>I have a simple terminal app that I want to share with not-so-tech-savvy people at my work. I found couple of example of people sharing their app over ssh/telnet like &quot;telnet <a href="https://blinkenlights.com">blinkenlights.com</a>&quot;. How can I do this ? Any helps appreciated.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/NetNotch"> /u/NetNotch </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10kpa81/how_to_share_terminal_apps_over_ssh_just_like_ssh/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10kpa81/how_to_share_terminal_apps_over_ssh_just_like_ssh/">[comments]</a></span></content><id>t3_10kpa81</id><link href="https://www.reddit.com/r/commandline/comments/10kpa81/how_to_share_terminal_apps_over_ssh_just_like_ssh/" /><updated>2023-01-25T03:49:46+00:00</updated><published>2023-01-25T03:49:46+00:00</published><title>How to share terminal apps over ssh just like "ssh git.charm.sh" ?</title></entry><entry><author><name>/u/nikiholicx</name><uri>https://www.reddit.com/user/nikiholicx</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>I wanted to create a command line tool as a note taking for my own so i was wondering as to how to do this and when i watched other people bash scripts there are a lot of things are really confusing as to how they done it. </p> <p>Any guidelines and suggestions will be helpful</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/nikiholicx"> /u/nikiholicx </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10kecct/how_to_create_command_line_tools/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10kecct/how_to_create_command_line_tools/">[comments]</a></span></content><id>t3_10kecct</id><link href="https://www.reddit.com/r/commandline/comments/10kecct/how_to_create_command_line_tools/" /><updated>2023-01-24T19:50:01+00:00</updated><published>2023-01-24T19:50:01+00:00</published><title>How to create command line tools ?</title></entry><entry><author><name>/u/livia2lima</name><uri>https://www.reddit.com/user/livia2lima</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>This free month-long course is re-starting again on the first Monday of next month.</p> <p>As you&#39;ll see, it&#39;s aimed at those wanting to admin servers, but 100% of the content is classic Linux commandline stuff just as applicable to a desktop user.</p> <p>The course is free, and daily lessons appear in the sub-reddit <a href="/r/linuxupskillchallenge">r/linuxupskillchallenge</a> - which is used for support/discussion. A <a href="https://discordapp.com/invite/wd4Zqyk">discord server</a> is also available.</p> <p>More details at our <a href="https://www.reddit.com/r/linuxupskillchallenge/comments/qeymzb/please_read_this_first_how_this_works_faq/">FAQ</a>.</p> <p>Any feedback is very welcomed.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/livia2lima"> /u/livia2lima </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10kktrf/free_linux_commandline_upskill_course_starting_6/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10kktrf/free_linux_commandline_upskill_course_starting_6/">[comments]</a></span></content><id>t3_10kktrf</id><link href="https://www.reddit.com/r/commandline/comments/10kktrf/free_linux_commandline_upskill_course_starting_6/" /><updated>2023-01-25T00:15:30+00:00</updated><published>2023-01-25T00:15:30+00:00</published><title>Free Linux commandline "upskill" course starting 6 February 2023</title></entry><entry><author><name>/u/mjwhitta</name><uri>https://www.reddit.com/user/mjwhitta</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>I&#39;ve been working on <a href="https://github.com/mjwhitta/artty">ArTTY</a> since 2015-ish. It started as Ruby and got converted to Go in 2019. It just displays pixel art in your terminal, but it brings me great joy every time I open a new terminal. It&#39;s been open-source from the beginning, but I figured it&#39;s time to put it out there a bit more publicly so others can enjoy it (hopefully) as well.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/mjwhitta"> /u/mjwhitta </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10jif7b/spice_up_your_terminal_with_some_pixel_art/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10jif7b/spice_up_your_terminal_with_some_pixel_art/">[comments]</a></span></content><id>t3_10jif7b</id><link href="https://www.reddit.com/r/commandline/comments/10jif7b/spice_up_your_terminal_with_some_pixel_art/" /><updated>2023-01-23T17:43:06+00:00</updated><published>2023-01-23T17:43:06+00:00</published><title>Spice up your terminal with some pixel art!</title></entry><entry><author><name>/u/speckz</name><uri>https://www.reddit.com/user/speckz</uri></author><category term="commandline" label="r/commandline"/><content type="html">&#32; submitted by &#32; <a href="https://www.reddit.com/user/speckz"> /u/speckz </a> <br/> <span><a href="https://t-ravis.com/post/shell/modular_bash_profile_scripting_with_shellswain/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10k9ett/modular_bash_profile_scripting_with_shellswain/">[comments]</a></span></content><id>t3_10k9ett</id><link href="https://www.reddit.com/r/commandline/comments/10k9ett/modular_bash_profile_scripting_with_shellswain/" /><updated>2023-01-24T16:28:54+00:00</updated><published>2023-01-24T16:28:54+00:00</published><title>modular bash profile scripting with shellswain</title></entry><entry><author><name>/u/gylotip</name><uri>https://www.reddit.com/user/gylotip</uri></author><category term="commandline" label="r/commandline"/><content type="html"><table> <tr><td> <a href="https://www.reddit.com/r/commandline/comments/10k9bio/error_cannot_find_specified_file_tekhexo/"> <img src="https://b.thumbs.redditmedia.com/Xn7hDf74Pt-rIjVVZFn0Mr7s-AUui204LBrY_fhzvlU.jpg" alt="Error: Cannot find specified file `tekhex.o`" title="Error: Cannot find specified file `tekhex.o`" /> </a> </td><td> <!-- SC_OFF --><div class="md"><p>I get the error <code>The system cannot find the specified file. C:\Program Files\msys64\home\User\MINGW-packages\mingw-w64-powerpc-apple-macos-binutils-git\tekhex.o</code></p> <p>I used mingw64 (ran as admin), and used the command <code>LC_ALL=C makepkg-mingw -sCLf</code> but it says that <code>tekhex.o</code> is missing. How to solve this problem?</p> <p><a href="https://preview.redd.it/wkog0gmbo0ea1.png?width=1120&amp;format=png&amp;auto=webp&amp;s=601c3367a71d31e0156e63eced3e24db0966a37d">https://preview.redd.it/wkog0gmbo0ea1.png?width=1120&amp;format=png&amp;auto=webp&amp;s=601c3367a71d31e0156e63eced3e24db0966a37d</a></p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/gylotip"> /u/gylotip </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10k9bio/error_cannot_find_specified_file_tekhexo/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10k9bio/error_cannot_find_specified_file_tekhexo/">[comments]</a></span> </td></tr></table></content><id>t3_10k9bio</id><media:thumbnail url="https://b.thumbs.redditmedia.com/Xn7hDf74Pt-rIjVVZFn0Mr7s-AUui204LBrY_fhzvlU.jpg" /><link href="https://www.reddit.com/r/commandline/comments/10k9bio/error_cannot_find_specified_file_tekhexo/" /><updated>2023-01-24T16:24:55+00:00</updated><published>2023-01-24T16:24:55+00:00</published><title>Error: Cannot find specified file `tekhex.o`</title></entry><entry><author><name>/u/CombinationBest9091</name><uri>https://www.reddit.com/user/CombinationBest9091</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>For my bachelor thesis I am developing a calendar app for iPhone and Android, which will provide an interface for CLI-calendars.</p> <p>The idea is not to port a CLI calendar one-to-one to a mobile phone. But to use the advantages and strengths of cell phones and PCs and thus create a suitable app. Much like Apple did with the first iPod.</p> <p>I would be very happy to receive tips, requests or suggestions regarding the app. It is very likely that these will end up in my report and the app. Whatever comes to your mind, anything is helpful!</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/CombinationBest9091"> /u/CombinationBest9091 </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10k38bc/developing_an_app_for_clicalendars_opinion_poll/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10k38bc/developing_an_app_for_clicalendars_opinion_poll/">[comments]</a></span></content><id>t3_10k38bc</id><link href="https://www.reddit.com/r/commandline/comments/10k38bc/developing_an_app_for_clicalendars_opinion_poll/" /><updated>2023-01-24T11:20:39+00:00</updated><published>2023-01-24T11:20:39+00:00</published><title>Developing an App for CLI-Calendars - "opinion poll"</title></entry><entry><author><name>/u/Nuradin-Pridon</name><uri>https://www.reddit.com/user/Nuradin-Pridon</uri></author><category term="commandline" label="r/commandline"/><content type="html"><table> <tr><td> <a href="https://www.reddit.com/r/commandline/comments/10jfh0z/oc_countryfetch_written_in_go_featuring/"> <img src="https://b.thumbs.redditmedia.com/qQT1gSjxDR_J79Xfa25zBsUHQoRfGHEq1Y8sEdALPvM.jpg" alt="[OC] Countryfetch written in Go, featuring adjustable flag ASCII art." title="[OC] Countryfetch written in Go, featuring adjustable flag ASCII art." /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Nuradin-Pridon"> /u/Nuradin-Pridon </a> <br/> <span><a href="https://v.redd.it/2anq16hmbtda1">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10jfh0z/oc_countryfetch_written_in_go_featuring/">[comments]</a></span> </td></tr></table></content><id>t3_10jfh0z</id><media:thumbnail url="https://b.thumbs.redditmedia.com/qQT1gSjxDR_J79Xfa25zBsUHQoRfGHEq1Y8sEdALPvM.jpg" /><link href="https://www.reddit.com/r/commandline/comments/10jfh0z/oc_countryfetch_written_in_go_featuring/" /><updated>2023-01-23T15:43:52+00:00</updated><published>2023-01-23T15:43:52+00:00</published><title>[OC] Countryfetch written in Go, featuring adjustable flag ASCII art.</title></entry><entry><author><name>/u/-rkta-</name><uri>https://www.reddit.com/user/-rkta-</uri></author><category term="commandline" label="r/commandline"/><content type="html">&#32; submitted by &#32; <a href="https://www.reddit.com/user/-rkta-"> /u/-rkta- </a> <br/> <span><a href="/r/w3m/comments/10jiak8/gemini_support_for_w3m/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10jid0v/gemini_support_for_w3m/">[comments]</a></span></content><id>t3_10jid0v</id><link href="https://www.reddit.com/r/commandline/comments/10jid0v/gemini_support_for_w3m/" /><updated>2023-01-23T17:40:39+00:00</updated><published>2023-01-23T17:40:39+00:00</published><title>Gemini support for w3m</title></entry><entry><author><name>/u/AverageMan282</name><uri>https://www.reddit.com/user/AverageMan282</uri></author><category term="commandline" label="r/commandline"/><content type="html"><!-- SC_OFF --><div class="md"><p>&#x200B;</p> <p>G&#39;day,</p> <p>I&#39;m looking to replace my use of File History with a batch file that runs periodically. I have one written already that I&#39;ll post tomorrow.</p> <p>&#x200B;</p> <p>Edit: <a href="https://pastebin.com/MfWD1bgD">Here&#39;s what I have so far</a>. It&#39;s cruder than I thought, because each directory is is made under the backup, then each is copied over. If one exists in one part, it would probably fail.</p> <p>I&#39;ll mark solved questions with a spoiler.</p> <p>Pretty much I have a couple things I need help with:</p> <p><span class="md-spoiler-text">1. Patching a particular directory which I&#39;m looking to copy. </span></p> <ol> <li><p>Changing how the directory to save in is determined for the interval adaptation.</p></li> <li><p>Managing the directories better.</p></li> <li><p>Backing up system data.</p></li> <li><p>Some general advice about doing this in a clean/less crude way. Or just general advice in general.</p></li> </ol> <p>(line to stop auto formatting of list numbers)</p> <p><span class="md-spoiler-text">1. I need to copy some files from an encrypted location (packages in appdata) which have directories longer than 255 characters. I&#39;ve found robocopy can&#39;t deal with the encryption, and xcopy can&#39;t deal with the character length. Any ideas?</span> Edit: I&#39;m guessing PowerShell doesn&#39;t have these limitations</p> <ol> <li>Currently the batch creates a folder called C and a folder called D where the files are stored. Folders are created underneath these to mimic the file structure of my pc. I&#39;m wondering if there&#39;s a way to have $\timestamp\C*, etc, where the timestamp is the same for the whole script. So if I ran it hourly, and it took longer than an hour to run, half the files won&#39;t end up in $\hour1\C* and the others in $\hour2\C*</li> </ol> <p>Also, how do I make the batch run periodically? And can it run in the background, like not in the taskbar?</p> <ol> <li><p>Any advice for managing which directories are used. Maybe a list which is fed in then a loop which handles copying them, rather than a hard-coded instruction for each.</p></li> <li><p>I have some very personalised settings that I&#39;d hate to lose. Are there any backup options in the standard Windows 10 environment? Like a system image? I think I&#39;ve made on on a 32GB drive using a tool which is available in the start menu under a hidden folder (only accessible via the folder, I&#39;ll name the tool later) I&#39;ve also edited a couple keys in the registry, to change how many times a program flashes in the taskbar and enable hexadecimal unicode input via the numpad. Is it a good idea to back up the registry to use on another system? Or is it better to write a script which will change these keys to the customised value, as the backup of these preferences?</p></li> <li><p>In point 3, I used the $ symbol. Was this the correct usage? Also, is it good to call .bat files batches? Tips for communicating about command lines like these two would be appreciated. Maybe some tips on verifying that everything has worked as well.</p></li> </ol> <p>Thanks for your time. This specific set of information is best asked all at once to a community, I think, rather than hours of research and trial and error.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/AverageMan282"> /u/AverageMan282 </a> <br/> <span><a href="https://www.reddit.com/r/commandline/comments/10jbpxz/advice_for_backing_up_files_with_a_bat_script/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/commandline/comments/10jbpxz/advice_for_backing_up_files_with_a_bat_script/">[comments]</a></span></content><id>t3_10jbpxz</id><link href="https://www.reddit.com/r/commandline/comments/10jbpxz/advice_for_backing_up_files_with_a_bat_script/" /><updated>2023-01-23T12:49:50+00:00</updated><published>2023-01-23T12:49:50+00:00</published><title>Advice for backing up files with a bat script cleanly</title></entry></feed> |