Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 8
Newest
 Necromancer
Impact
~22k people reached

  • 0 posts edited
  • 0 helpful flags
  • 30 votes cast
1d
awarded  Necromancer
Aug
4
comment Force Bash 4 'globstar' option to ignore symlinks
Finally. Thanks for noticing that.
Jun
18
revised Copy specific file type keeping the folder structure
added 5 characters in body
Jun
8
comment Issue an error when using empty shell variables
"It is very long"? You should not be looking for a convenient way to manually perform dangerous operations. Instead, you should create a function, alias, or script to do what you want; in this case, making in an alias from @PSkocik's suggested command will be both safe and convenient.
Jun
5
comment Sometimes-but-not-always tiny font via VNC?
@lcd047 It appears that xdpyinfo tries to use the DISPLAY variable unless you specify -display in the command. My local display, :0, is at 96 dpi, but I expect that's because that's the connected-monitor's native res. (It's not a great monitor.) The vnc server display is also at 96 dpi--is this not determined by the command used to start the server, though?
Jun
5
comment Sometimes-but-not-always tiny font via VNC?
@lcd047 Doesn't that just return the resolution it's running with? What extra information does it provide? I don't think that actually implies anything about what the "correct" resolution should be.
Jun
5
revised Sometimes-but-not-always tiny font via VNC?
added 70 characters in body
Jun
5
asked Sometimes-but-not-always tiny font via VNC?
Jun
5
answered Sometimes-but-not-always tiny font via VNC?
Jun
1
comment Linaro toolchain libstdc++.so.6 missing
... But that's presumably built for x86, not ARM, so I'm surprised that would work... @ChristianStewart are you sure this solved your problem?
Feb
10
comment Why is `[` a shell builtin and `[[` a shell keyword?
As a simple demonstration of one difference between the two: if "[" $x -eq 3 ] works as expected (because Bash looks for the command called [, and this exists), but if "[[" $x -eq 3 ]] does not work (because once again Bash searches for a command of the appropriate name, but there is no [[ command).
Dec
3
comment in Bash, how to not include extra arguments in an alias?
Er...sorry, aliases are recursive. Not sure what I was thinking.
Nov
26
comment in Bash, how to not include extra arguments in an alias?
Note that aliases are extremely simple; they are nothing more than simple string substitution (with the additional limitations that (1) the substitution only happens at the beginning of the command string, and (2) it is non-recursive). There is no way to "configure" how an alias works beyond the definition of the alias itself.
Nov
5
comment How do I print pi (3.14159)?
The "total value"?? Meaning what...?
Sep
24
awarded  Autobiographer
Aug
21
awarded  Teacher
Jul
29
revised Regex `/pattern/g` and ed `:g/pattern/`: which came first, and why `g`?
added 7 characters in body
May
30
revised Copy specific file type keeping the folder structure
added 129 characters in body
May
29
answered Copy specific file type keeping the folder structure
Mar
19
comment Should scripts that require sudo fail if they don't have it, or use sudo and prompt?
@terdon For a script this simple, I consider a usage-inconvenience to be a (minor) problem to be solved. In this context, the alias is indeed a solution.