336 reputation
17
bio website
location United States
age 43
visits member for 3 years, 3 months
seen 13 hours ago

Working amidst the ever merging & forever blurred realms of technocrat and troglodyte.


Mar
14
answered How can I check if two gzipped files are equal?
Mar
3
comment How to detect particular system call called or not in a whole workflow?
How about dtrace? (what OS?)
Jan
30
comment What are ./ and ../ directories?
@Adam yes, that will probably do the trick ("ls -b | wc -l"); you can also use the "-1" (dash + number one) which forces a listing in a single column instead of all on a single line, but that happens anyway when piping to another command. So (imho) I'd leave it as "ls -1b | wc -l" ; and to "test", run "ls -1b" and count the number of lines, then run "ls -1b | wc -l" and verify the results. (That's how to debug/test pipes.)
Nov
29
comment Differences between VNC and ssh -X
@simona after the successful ssh login, then run screen: ssh user@host ; and after logged in: screen bash ; to disconnect, ctrl+a followed by ctrl+d. You can logout and login again, then: screen -ls and screen -r. Exiting bash exits the screen session. For more (much more), see various tutorials on GNU screen
Nov
16
comment Differences between VNC and ssh -X
Although a bit OT (since this Q is presumably only about GUI apps): if an actual GUI app is not required, and just basic shell access will do (e.g., xterm), then do "ssh" followed by "screen bash". If disconnected (laptop closed,vpn disconnected, etc), the remote shell stays active. Re-login & re-connect via "screen -r". I only bring this up since I've seen people run vnc just for basic shell access (or run a remote xterm displayed locally); most of the time (but of course not always), simple shell access will suffice.
Nov
12
comment Where is the core of Unix?
i remember year-long debates on terminology and "unix-ness" (back in comp.unix.*)... agreeing to disagree is a good idea. But, Rob is correct :-)) The distaste for the verbosity of "unix-like" led to the moniker "Un*x"; plus, "Unix" is a registered trademark, and most of us scruffy-beard types don't care for terms or software that restricts use. So please forgive us (old dogs) our persnickety tendencies. And to all noobs: know what is unix vs linux, just to save yourself the flames in all the forums out there less hospitable than this one.
Nov
10
revised Where is the core of Unix?
added 42 characters in body
Nov
10
comment Where is the core of Unix?
The question seems to be about building an OS from scratch; LFS is about building a (new) Linux distribution from scratch. For example if @Justin wanted a "JustIX" distro of Linux to complete with Mint, rather than actually developing a kernel separate from Unix/Linux, while at the same time building on the knowledgebase and legacy of Un*x.
Nov
10
answered Where is the core of Unix?
Jul
5
revised Is there a good combination of command-line and graphical file browser?
deleted 98 characters in body
Jul
2
revised Is there a good combination of command-line and graphical file browser?
added 1 characters in body
Jul
2
revised Is there a good combination of command-line and graphical file browser?
added 276 characters in body
Jul
2
answered Is there a good combination of command-line and graphical file browser?
May
27
awarded  Yearling
Jan
23
awarded  Revival
Jan
23
answered Giving some users only SSH and shell access with limited resource usage
Jan
20
awarded  Editor
Jan
20
revised Permissions for a submission script
added 242 characters in body
Jan
20
comment Permissions for a submission script
@Bean no need to learn version control; they just have to follow instructions. And that's true in either case. Either they follow instructions for a home-grown "commit script" (/opt/bin/submit_hmwk.sh my_homewk.py); or, follow instructions a (very) popular "commit script" that happens to be called "git commit -a; git push". Which is more difficult? Well, the 2nd option (two commands) is perhaps 2x more difficult than the 1st (one command). Still, the "git" option is infinitely more useful, considering the custom script option has value=0 to the student. But admittedly it'd be fun to write ;-)
Jan
14
comment how can a makefile detect whether a command is available in the local machine?
more on using "type" : cmd=$(for cmd in foo md5 md5sum bar; do type $cmd >/dev/null 2>&1 && echo $cmd && break; done); $cmd file1 file2 file3 > md5.txt