529 reputation
25
bio website
location New Mexico
age
visits member for 3 years, 10 months
seen Apr 15 at 19:27

Dec
25
comment My group (according to /bin/id) has rw access to a Char device but access is denied
Have you tried the newgrp graphics command to change your default group?
Oct
9
comment crontab does not lauch
cron jobs do not normally have a /dev/tty, a controlling terminal. That is the error you are seeing. Chris gave you a link to the answer. +1
Aug
7
comment SSH private Keys
Are you counting the contents of ./ssh/authorized_keys? Those are public keys.
May
28
comment profiling file reading speed via /dev/null?
I would look at your /src/myprogram rather than bash not doing what you think it is doing. /dev/null is a kernel device, I/O to it is as fast as I/O can get on your system. Please post your code if you want help.
May
16
comment How to solve “the system is running in low graphics mode” in ubuntu 12.04?
This really belongs on superuser or serverfault. It is not a programming question.
May
8
comment Connecting ssh from ubuntu
This belongs on superuser. IUf you want a good answer
May
1
comment Find recursively a directory and remove it
The original did not have echo. FWIW.
Apr
27
comment one sudo for multiple terminals
@chepner - I do not see how that could happen, unless the user entered directly went into a child process that somehow became a session leader, as in daemonizing.
Apr
15
comment Modifying /etc/hosts Causing internet problems
Do you control your DNS? Can you you not create aliases there?
Apr
1
comment Is my UNIX command du failing?
. == all of the current directory + hidden files or directories.
Mar
2
comment how to change the maximum number of fork process by user in linux
@vonbrand - absolutely. You should post this as the answer with possible things to check. +1
Feb
14
comment What method executes on bash exit via CTRL-D?
NOTE: returning weird characters on exit instead of numbers may result in some other scripts failing when they are not supposed to. exit [number] makes the return value available to the parent. The parent calls wait or waitpid to interpret the result of the child process's exit. This interpretation is based on the lowest eight bits of the return value. exit 0 is success, exit non-zero is considered some kind of failure. Or possibly a warning.
Feb
4
comment rm: .filename not removed: Disc quota exceeded
You can actually use disk in the sense that you have to write to a directory when you call unlink - the syscall rm uses. Over quota means no write access.
Jan
4
comment Why a command launched with nohup isn't able to write file after user logout?
Daniel is talking about autofs - mounting your home directory only when you are logged on. There is no simple workaround for your problem except to ensure you have at least one current interactive process on the box. Create a separate "dummy" session, for example. Or write to files in a known directory like /tmp that does not vanish.
Jan
2
comment old hard drive failing and cannot access files
It has to be either firmware issues in the controller or more likely: problems with one of the disk hardware components. You really should NOT try to "fix" it. Get another disk to copy to, or copy it off to a safe place. You can also pay major money to one of the disk recovery places.
Dec
26
comment How to count 900 million lines in a second
SSD's are really expensive per GB of storage and are more effective in a SAN environment where software tiering is active. A hypothetical 900 million line file with 128 byte records (avg) would use 11.5GB, and a 128GB OCZ Vertex 4 costs $US140 at newegg. Storing one file would use $12.57 of storage, filesystem overhead excluded. That is crazy. IMO - creating gigantic files is frequently ill-advised, a poor use of a resource, and is always expensive. An SSD would provide at least a factor of 10 speed up on a full file read.
Dec
26
comment How to count 900 million lines in a second
Take ~1500 lines starting from a truly random line, assuming the line length fits a normal distribution (which may not be a good assumption), then you have a 95% chance that the mean length of those lines represents the actual mean length. ~1500 would constitute statistically valid sample. So dividing (filesize /mean record length) would render pretty good estimate. This is way more trouble than wc -l. Your real problem is that your wc -l is I/O bound, and even with a 15000 rpm SATA drive or a really good SAN ~99% of elapsed time will be I/O wait.
Dec
26
comment how to launch an sftp transfer via the console
Good. Last question: Are ssh-keys installed on all three boxes? If yes it will make the mish-mash of an all ssh|tar transfer simpler.
Dec
25
comment Laptop having random and frequent slowdowns
What does the event log show from a previous time when there was a slowdown? That is probably the first place to look for errors.
Dec
24
comment how to launch an sftp transfer via the console
Please validate this: you want to move files on boxA to boxB, but you have to do that from boxC, correct? I assume you can login via ssh to any of the boxes, yes?