Comment by Kamil Maciorowski on Does full erase create all 0s or all 1s on...
Does this answer really apply to the CD-RW technology the question is about?
View ArticleComment by Kamil Maciorowski on Checking HDD drives for physical errors -...
Will this check the whole disk? Or just the partition with the filesystem? (even with a single partition of max size there are still sectors not assigned to it). Or just the fragment used by the...
View ArticleComment by Kamil Maciorowski on How to count word frequency with grep (or...
grep -iE '\bperson(s|’s)?\b' sample.txt. Add -o and/or pipe to wc -l at will. This is not an answer because you're explicitly asking about implementing exclusions according to the list and the command...
View ArticleComment by Kamil Maciorowski on Linux shell coding for adding a column with %...
@bobo Sigh…This is how accepting works.
View ArticleAnswer by Kamil Maciorowski for Does full erase create all 0s or all 1s on...
Does full erase create all 0s or all 1s on the media?Neither.In a CD there are spots called pits and spots called lands. The important thing is they reflect light differently and thus allow information...
View ArticleDoes full erase create all 0s or all 1s on the CD-RW?
Disclaimer: there was this question, it was deleted before I managed to post an answer. Since I put effort in creating my answer and I don't want it to go down the drain, I re-post the question...
View ArticleComment by Kamil Maciorowski on Why ulimit doesn't work when run with sudo?
sudo ulimit -s 16384 does not start a shell. Here sudo runs ulimit with arguments directly. This will throw command not found unless ulimit exists as a separate executable (and it may exist, like cd)....
View ArticleAnswer by Kamil Maciorowski for File name too long when transferring to a...
The key word here is mkstemp you can see in the error message.The mkstemp() function shall create a regular file with a unique name derived from template and return a file descriptor for the file open...
View ArticleComment by Kamil Maciorowski on How to deal with a dd copy from smaller onto...
You copied from /dev/nvme0n1 to /dev/sdc and now there are problems with /dev/nvme0n1? Please confirm. Or is the problematic nvme0n1 the disk that used to be sdc? The question is not clear. Did you...
View ArticleComment by Kamil Maciorowski on Is it possible to execute a remote command...
In principle: yes. See this answer (but do not miss the preliminary note there).
View ArticleComment by Kamil Maciorowski on What is the fastest way to duplicate BTRFS...
Are the new drives empty? There is btrfs replace. See man 8 btrfs-replace and this. You can keep using the filesystem during the operation. Not tested, so not an answer.
View ArticleComment by Kamil Maciorowski on Restrict sftp-user to specific directory only...
The requirement for ChrootDirectory: all components of the pathname are root-owned directories which are not writable by group or others.
View ArticleAnswer by Kamil Maciorowski for tmux - How to remove delay after pressing...
It's basically the opposite of this question: How do I resize tmux pane by holding down prefix and arrow key for a while? Please read my answer there, it will hopefully help you understand what happens...
View ArticleComment by Kamil Maciorowski on typing in a number to a cell (say 5) to then...
What software is this question about, exactly?
View ArticleComment by Kamil Maciorowski on External hard disk suddenly slow, then...
'I still fail to understand how SMR could "remain active" after stopping and restarting the drive' – How else could rewriting reliably work in case of stopping and restarting the drive during the...
View ArticleComment by Kamil Maciorowski on Add back in a pre-existing partition at a...
What is the output of fdisk -l /dev/nvme0n1 now?
View ArticleComment by Kamil Maciorowski on How to correctly execute output (with...
-exec is the right answer and you don't even need bash -c in this particular case. If you ever really need to use bash -c (or sh -c or so) with -exec (or with xargs), do not embed {} in the shell code....
View ArticleComment by Kamil Maciorowski on macOS symbolic link (ln -s) creates invalid...
I have re-created the OP's directory structure and I think the right command is ln -s ../../brec36-footprints/elite-c.js ../brec36L/footprints/elite_c.js.
View ArticleAnswer by Kamil Maciorowski for How to cd into the directory a tarball...
cd: too many arguments means that cd got more than one operand.In general this does not have to be an error; depending on the shell, cd may or may not accept more than one operand. In Bash cdused to...
View ArticleAnswer by Kamil Maciorowski for How to create a wordlist with Crunch that...
When you supply a pattern with -t, you need to give crunch a minimum and a maximum length, each equal to the length of the pattern. To cover a range of lengths you need to run a sequence of crunch...
View Article