311 reputation
35
bio website
location
age
visits member for 3 years, 1 month
seen Sep 3 at 22:49

Jun
19
awarded  Constituent
Jun
19
awarded  Caucus
Sep
24
comment Is there any way I can obfuscate “.sh” shell script?
@jw, yeah you're right. I don't remember what I was thinking when I wrote that. On that vein, he could store the password in a separate file with restricted permissions and still use privilege escalation (chmod 4755) on the script.
Aug
11
awarded  Yearling
Sep
8
answered Should I be using 'sudo' in scripts that I write?
Aug
27
awarded  Enlightened
Aug
27
awarded  Nice Answer
Aug
25
comment Converting DOS text files to Unix
Use a shell for loop to run echo >> myfile on each file.
Aug
25
answered Converting DOS text files to Unix
Aug
24
comment How can I run a separate X session on a different physical display?
The xorg Wiki links to this Ubuntu page: help.ubuntu.com/community/MultiseatX I'm not sure what you're thinking of when you mention interfacing the other display, but if you want to control VLC from your other X server, you could use the VLC HTTP control interface (or another VLC control interface): videolan.org/doc/play-howto/en/ch04.html#id590873
Aug
24
answered How can I run a separate X session on a different physical display?
Aug
24
comment Is there any way I can obfuscate “.sh” shell script?
Then I would recommend a either the binary data approach I mentioned or consider some way of transmuting the password, using math or a translation table (like ROT13, but more complicated). Separate from obfuscation, can't you just change the permissions so the script can be executed without being read? You could use chmod 4711 myscript.sh.
Aug
24
answered Is there any way I can obfuscate “.sh” shell script?
Aug
21
awarded  Editor
Aug
21
revised Weird control-d behavior
added 9 characters in body
Aug
21
comment Weird control-d behavior
Yes, you're right. I didn't mean to imply otherwise. I edited my answer to clarify.
Aug
21
awarded  Teacher
Aug
21
answered Weird control-d behavior
Aug
20
comment Obtaining md5 during wget
@Fixee, sounds like you already have this figured out. I agree with you about tee: I think the end of MaxMackie's command should be tee file | md5sum > file.md5.
Aug
17
comment Use `less` to view comma-aligned data
In my experience, less doesn't try to read the whole file by default, so simply colum -ts ',' myfile.csv | less should work.