Reputation
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
1 31 52
Impact
~529k people reached

19m
comment Is there a way to mount two folders into one mounting point, so that folders are mirrored?
Related: serverfault.com/questions/411338/…
1d
comment cd to original location when recording session with “script” command
That's what I meant by "changing how script works". To wit, script would have to have this feature where it watches its child process' cwd continuously and changes its own to match. Even then it would be a hack because there's be a delay until script noticed its child's cwd had changed and updated its own, and it wouldn't be portable because there's no portable way to check the cwd of another process. Due to those drawbacks, I would not expect that such a new feature would be accepted for script.
Apr
26
answered cd to original location when recording session with “script” command
Apr
24
comment Executing remote code with arguments
Please paste the [relevant] contents of $(dirname $0)/elements/"$element", because that is the file that contains the script you are trying to execute, and the behaviour of the command is entirely dependent on that. Also, it's not clear that invoking dirname $0 even makes any sense in this context, assuming the command is run from an interactive shell.
Apr
24
comment I can't exit my local network
Do you have a default route?
Apr
24
revised Why are multiple instances of /usr/bin/X running at once on Linux Mint 17.3
revery edits that distract from the question
Apr
24
comment run all files in current direction
Can you clarify your question, please? What does "an awk program that I wrote all the text files in my current directory" mean? Do you mean you want to run an awk program on all the files? If so, then it still kind of depends what your input & output needs are, as it may or may not be as simple as cat * | my-awk-program.
Apr
24
answered Should I set PAGER environment variable, alias or symbolic link?
Apr
23
comment Overhead of using loop-mounted images under Linux
I don't follow. You are in possession of a filesystem image in a (regular) file? Then you basically don't have a choice but to use loopback. You say "creating a partition for it" by which I assume you mean "creating a block device for it", and that it exactly what a loopback device does for you!
Apr
23
comment Overhead of using loop-mounted images under Linux
When you loop-mount, it is usually because the thing you are mounting is not already a block device. So it comes down to comparing mounting a physical partition and mounting... something else. So it completely depends what that other thing is. This is not a meaningful comparison.
Apr
23
comment Is there a terminal emulator which remembers the output from its last run?
As for remembering and reproducing the output from the previous run, Apple's Terminap.app does what you want. (This is not an answer because your question is tagged x11 and that application is not x11.) As for somehow re-creating the shell's history, that's way above and beyond the scope of what the terminal emulator's business is. As far as the terminal emulator is concerned, the program running inside the terminal may not even be a (normal) shell anyway! Plus, shells already have features to save and restore history, don't they?
Apr
23
answered How can I work with binary in bash, to copy bytes verbatim without any conversion?
Apr
23
comment centos minimal installation static ip address
Please paste text, not images.
Apr
23
comment Loops: for vs while… beyond the basics. Subtle differences/pros/cons for my code?
It's not clear to me what you are proposing to replace with a for and for what reason. Also, since your variables are called var1, var2, and var3, it's not clear what the code is supposed to do. It seems like your code is also very dense and cryptic. Finally, have you considered codereview.stackexchange.com? It seems to me that is would be more on topic over there.
Apr
23
comment Getting “Permission denied” when trying to create a file despite correct permissions
All looks okay. Did you log out and log back in since joining the group evotext (hint: use id, not groups jboss to check which groups you are really a member of)?
Apr
23
comment Filesystem still showing the old value after reduction in linux, however showing the correct value in LVM
Yes, that is safest, except make it 7T, not 8T, since that is your goal
Apr
23
answered Filesystem still showing the old value after reduction in linux, however showing the correct value in LVM
Apr
23
answered How to tell rsync not to delete some folders at destination?
Apr
18
answered Easy Way to Wrap CRON Output in HTML PRE?
Apr
17
comment curl outfile variable not working in bash script
@larsks yes I see it how, it's part of cURL's pesky built-in globbing. Thanks for educating both myself and the OP.