| bio | website | |
|---|---|---|
| location | United States | |
| age | ||
| visits | member for | 1 year, 9 months |
| seen | yesterday | |
| stats | profile views | 479 |
Debian user, GNU/Linux enthusiast, FLOSS supporter, hobby developer.
|
Dec 14 |
revised |
running script with “. ” and with “source ” added 114 characters in body |
|
Dec 14 |
comment |
Is there a way to put comments in an rsync --files-from file? I am not aware of any commenting mechanism for the files-from file. |
|
Dec 14 |
comment |
How to scp folders with nasty names using a shell function The idea is any argument to scp goes through two shells - first the local one and then remote one. Since shells strip quotes, if you need the remote shell to see quotes, you'll need to quote them so the local shell doesn't remove them. Not sure how uname is relevant? |
|
Dec 14 |
comment |
How to scp folders with nasty names using a shell function What part is unclear? I'm not sure I could explain it any better than what I said in the above comment. Maybe someone else can explain it better. |
|
Dec 14 |
comment |
How to scp folders with nasty names using a shell function You've stumbled on the correct solution. The special consideration with scp arguments is they have to be "double-quoted". This is because an scp argument, like any normal shell argument, is interpreted by your shell. However, once scp gets the argument, it has to pass it to a remote shell on the other machine, and the shell there interprets it once again. That is why two layers of quoting are required (\ and "). |
|
Dec 14 |
comment |
IP_TRANSPARENT missing from glibc headers @AG Just wait for TomH to hopefully post a new answer or edit his existing one to include the correct answer, and then you can mark it as accepted. |
|
Dec 14 |
revised |
Repeat the nth last command in vim 1 fewer keystroke |
|
Dec 13 |
comment |
Must the filesystem be unmounted while extending an LVM logical volume? Growing and shrinking (the two components of resizing) are typically handled differently, and both are dependent on the file system type itself. This is not related to LVM: you extend the "partition" that contains a file system with or without LVM. |
|
Dec 12 |
reviewed | Close Applications get started in the network instead of localhost |
|
Dec 12 |
comment |
Difference between printf and echo in bash Given that it is UDP, did you make sure to repeat your above experiments several times? The only difference between echo "blah" and printf "blah" is echo will output an extra newline. Does that matter to the server? Does the order when receiving several commands in a row matter? EOF is not something you send or even a character - it's a condition you receive when there is nothing left to read. |
|
Dec 12 |
comment |
Is there a way to call a command with a set time limit and kill it when that time passes? Have a look at BashFAQ 68. |
|
Dec 11 |
revised |
Automate installation of VirtualBox Guest Additions via command-line edited tags; edited title |
|
Dec 11 |
comment |
split long line on a delimiter You mean like tr : '\n' < input? |
|
Dec 11 |
comment |
curly braces and subshell See BashFAQ 24 about pipes, subshells, and shell variables. |
|
Dec 11 |
revised |
How can I kill a job that was initiated in another shell (terminal window or tab)? It's more accurate to say shell, as opposed to terminal window or tab. |
|
Dec 10 |
awarded | Enlightened |
|
Dec 10 |
awarded | Nice Answer |
|
Dec 10 |
reviewed | Reviewed sftp a file using shell script |
|
Dec 10 |
reviewed | Reviewed Is there a practical use for the GNU factor command? |
|
Dec 10 |
revised |
Is there a practical use for the GNU factor command? formatting |