User Tools

Site Tools


linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux [2020/11/04 17:05] – [See Also] open-source tag rjtlinux [2022/09/01 17:41] – copying rjt
Line 2: Line 2:
  
 ===== Fixes ===== ===== Fixes =====
 +
 +==== Copying ====
 +The progress bar when copying files from, for example, your hard disk to a USB drive, will usually fill up, then be stuck at 100% for a while. This isn't really a bug, //per se//: the bar fills when the data has been completely copied to the cache, then goes away when the data has finished moving to the disk. It's annoying!
 +
 +You can work round this by using [[rsync]] for larger files—
 +
 +<code>rsync -av --progress [source] [destination]</code>
 +
 +—or be more adventurous and mess with some system setup:
 +
 +  * https://askubuntu.com/questions/122113/copy-to-usb-memory-stick-really-slow
 +  * https://forum.manjaro.org/t/copying-progress-bar-hangs-at-100-when-copying-to-thumb-drive/37108
 +  * https://lonesysadmin.net/2013/12/22/better-linux-disk-caching-performance-vm-dirty_ratio/
 +
 ==== Memory ==== ==== Memory ====
 Not having a great time with the kernal's OOM((__O__ut-__O__f-__M__emory)) Killer at the moment; it's not doing the job I expected it to, and I'm getting freezes when I get down to about 1GB of RAM. Not having a great time with the kernal's OOM((__O__ut-__O__f-__M__emory)) Killer at the moment; it's not doing the job I expected it to, and I'm getting freezes when I get down to about 1GB of RAM.
Line 21: Line 35:
 ===== Reminders ===== ===== Reminders =====
 I forget how to do shit a lot. I forget how to do shit a lot.
 +
 +==== Pausing Terminal ====
 +You can pause activity in the [[terminal]] with ''Ctrl+s'', and resume again with ''Ctrl+q'', which I find handy sometimes when I'm doing updates.
 +
 +If you think of it beforehand you can pipe output to [[less]] or [[more]] or send it to a file, but I never remember.
  
 ==== Renaming Multiple Files ==== ==== Renaming Multiple Files ====
-For me, **[[mmv]]** has the easiest syntax to remember. You'll probably have to install it.+For me, **[[mmv]]** has the easiest syntax to remember. You'll probably have to install it. Otherwise, most [[file_manager|file managers]] should support it if you want a GUI?
  
 ''mmv [options] [from] [to]'' ''mmv [options] [from] [to]''
linux.txt · Last modified: 2024/04/30 19:58 by rjt