193 reputation
19
bio website olivia.ericx.net
location Martha's Vineyard
age 54
visits member for 2 years, 1 month
seen Aug 13 at 15:28

A geek on an island.


Aug
12
comment Port 22 connection refused
You're right, but "connection refused" precludes ssh, scp, and sftp.
Aug
12
comment Port 22 connection refused
tdpdump or tshark is your friend. Run it at both ends to confirm first that the packets are leaving and then second to confirm that they arrive. If the packets arrive, is there a response and does the response arrive back where the whole thing started. Checking this will give you a lot of clues.
Aug
8
comment Can emacs render downloaded html files?
Is it the same as browsing by URL? Strictly speaking, no. Nowadays many (most?) pages are rendered somewhat dynamically. Interpretive code reads databases, and/or javascript modifies right on your browser to include fonts, what your screen size is, check licensing... That being said, a copy saved from Firefox should be pretty much a snapshot of what you saw at the moment the page was saved. (qualified enough?)
Aug
8
comment How to set the prompt and tab-title on Gnome-Shell (Gnome 3, centos 7)
I use printf "\033]0;hi\007" embedded in a little function: title () { printf "\033]0;${1}\007" }
Aug
8
answered Can emacs render downloaded html files?
Aug
8
comment Seeing SSH debug messages in Terminal/console
Check to see whether there is a logging specification for root. The logs may be appearing on the console simply because root is logged in.
Aug
7
comment Will mount search fstab for a best match?
I apologize, I'm not being helpful. The above example works for external drives on FreeBSD; but typically usdb is also doing an automount for me. Frankly, with the LABEL designations you have, I would have expected it to work.
Aug
7
revised Will mount search fstab for a best match?
added 395 characters in body
Aug
7
awarded  Editor
Aug
7
revised Will mount search fstab for a best match?
expanded the fstab example
Aug
7
comment Will mount search fstab for a best match?
Agin this may not be linux appropriate; but the trick is to use the path to the label in your fstab rather than the path to the partition's device. This also implies that all the labels are unique even tho the path to their partition device may be identical. So mount still stops with the first-fit; but since it's unique, it's what you want. (I expanded the fstab example above)
Aug
7
comment replace control characters in Emacs?
Selecting the offending char with the mouse, C-w (kill-ring-save), invoking M-% (query-replace), and C-y (yank) will put the evil char in the copy/replace buffer. Then type in whatever you want to replace it with.
Aug
7
comment Searching in man pages
Consider apropos (latin, I think for "appropriate"). As above, I believe that man -k is roughly identical to apropos.
Aug
7
comment Canot remove symlinks: after reboot, symlinks re-appear
That or some other RAM based config. e.g. ESXi creates a lot of the file system at boot from config files.
Aug
6
comment Will mount search fstab for a best match?
@GregBell "I think that's what the labels are for. For humans." Yes, they are certainly for humans; however, following the example I gave above, you can see that the machine will read them as well. Which is why they should all have different names. e.g.: olddata0, olddata1, olddata2, etc. I'm somewhat clueless about Ubuntu, but grep thru /dev when one of these beasts is plugged in and see if the name doesn't appear somewhere. Then try that path in /etc/fstab.
Aug
5
comment How do you remember command options?
** root@milicent ** ~/tmp ** Tue Aug 05 09:24:55 # pkg info (-e -d -f -l -o -p -D)-r[Displays the reverse dependencies] (-e -d -r -f -o -p -D)-l[Displays all files] (-e -d -r -l -f -p -D)-o[Displays origin] (-e -d -r -l -o -f -D)-p[Displays prefix] (-e -d -r -l -o -p -D)-f[Displays full information] (-e -d -r -l -o -p -f)-D[Displays message] (-e -f -r -l -o -p -D)-d[Displays the dependencies] (-f -d -r -l -o -p -D)-e[Returns 0 if <pkg-name> is installed] (-g -X -a -F)-x[Process packages that match the regex pattern] (-g -x -X -F)-a[Process all package
Aug
5
awarded  Critic
Aug
5
answered Will mount search fstab for a best match?
Aug
5
comment Will grep go faster with line breaks?
I think grep and sed parse intermittently gulping by line break. If you remove all the line breaks, it may well be faster; but I'd worry about buffer overflow.
Aug
5
comment Can't ssh to github from a remote machine: what should I do?
Endlessly creating keys on each of your logins is a bad practice (why? because it becomes too hard to keep track of all of them and redact them as needed). Much better to create keys only on your work stations and configure all your servers to forward the authentication with agent-forwarding.