1,442 reputation
1923
bio website initialprogramload.blogspot.c…
location Cape Town, South Africa
age 42
visits member for 2 years, 4 months
seen Mar 24 at 12:37

Clickety click noise generator


Mar
4
revised Is there a unix command that gives the maximum of two numbers?
Added Limit / opposite-of-the-question answer, as well as non-criticism comments.
Mar
4
answered Is there a unix command that gives the maximum of two numbers?
Feb
27
awarded  Necromancer
Jan
29
awarded  Famous Question
Jan
16
comment Why do we need to mount on Linux?
The already given answers all give good information but glosses over the fact that the operating system manages access to a single virtual naming space. When you mount a file system on a device you make it a part of the virtual file system, allowing programs to access files on that device via path names. Note that device names are managed by the kernel but you get to choose "where" in the virtual file system space a file system must be.
Jan
14
comment Extract substring using regular expression on a Unix file
@mikeserv It handles the sample data provided, not all possible types of data.
Jan
13
comment Extract substring using regular expression on a Unix file
A variation on this which is slightly longer but 100 times easier to read (and write!) is sed 's|.*/\(.._..._..._...\)/.*|\1|' <input
Jan
13
answered Extract substring using regular expression on a Unix file
Dec
12
awarded  Notable Question
Nov
28
comment Add thousands separator in a number
You can do echo 123456789 | awk '{printf ("%'\''d\n", $0)}' (which evidently doesn't always work on Linux!?, but works fine on AIX and Solaris)
Nov
8
awarded  Yearling
Oct
24
awarded  Nice Answer
Oct
15
comment No sound on linux
Check the file Access Control List on each of the files in /dev/snd. Your User should be listed. Also chmod o+t /dev/snd/*
Sep
5
awarded  Notable Question
Aug
27
revised Is there a way to tell sudo to set my username as owner for the files created instead of root?
added 778 characters in body
Aug
27
answered Is there a way to tell sudo to set my username as owner for the files created instead of root?
Aug
27
comment Is there a way to tell sudo to set my username as owner for the files created instead of root?
This assumes the user can write to the target directory.
Aug
13
comment Why VNC performance seems to have dropped over the years?
It's a conspiracy. In 2000 a 4Mbps ADSL could blindingly fast load simple static pages, today it barely functions for these, and appears to be useless for anything more advanced.
Aug
11
comment Command substitution in Shell Script
Note the typing mistake on the first line of the script - /usr/bin is not a valid interpreter. Try #!/bin/bash
Aug
11
answered A standard tool to convert a byte-count into human KiB MiB etc; like du, ls1