Reputation
25,975
Next tag badge:
96/100 score
19/20 answers
Badges
3 39 88
Impact
~2.8m people reached

Jan
21
answered Linux exit function
Jan
20
comment Command line method to find repeat-word typos, with line numbers
@user454038 - looks like this pipeline works for your multi-line jefferson_type.txt example too.
Jan
19
answered Command line method to find repeat-word typos, with line numbers
Jan
19
answered Using wpa_supplicant to select an access point
Jan
17
asked wpa_supplicant -u doesn't work, wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf works
Jan
14
answered Long running script stops sending output to file
Jan
7
comment My printer retains some memories from previous jobs' settings
I have a Canon Pixma 3250 or 3520. I curse the evil Canon Committee that thought 4 LEDs and 5 pushbuttons constitute a usable interface for something as complicated as a printer/copier/scanner that hooks up to wireless networks. We have Windows, Mac and Linux. Nothing works consistently.
Jan
7
answered problem with find (shell script)
Jan
6
comment while read line in shell script - how to stop the loop?
Notice that I specified /bin/bash as the shell: if you use bash, you should use [[ and ]]. If you use something else, or you want to be backward compatible with everything, use [ and ].
Jan
6
answered while read line in shell script - how to stop the loop?
Dec
23
comment Why does mount happen over an existing directory?
As a historical note, before Windows and LInux essentially crushed all other OSes, there was a company called Apollo. They wrote a unix-alike (better design than Unix!) operating system. It created the directories on which NFS exports got mounted automatically. In fact, you couldn't mount on a pre-existing directory. HP bought Apollo, threw away the operating system, and used Apollo's 64-bit CPU as HP-PA. Apollo's system of remote procedure calls became OSF's DCE, which apparently lives on inside of Windows. Knowing is half the battle!
Dec
20
awarded  Pundit
Dec
15
comment awk script to extract the argument of an option
@VinayThupili - so if works once you do echo $line, correct?
Dec
15
comment awk script to extract the argument of an option
@VinayThupili - You set a value of line1, but the example code has echo $line. You need to use consistent variable naming.
Dec
15
revised awk script to extract the argument of an option
Actually answer the question.
Dec
15
answered awk script to extract the argument of an option
Dec
13
answered dnsmasq does not listen to conf file
Dec
11
answered Relation between shell start up processes and environment of parent process
Dec
10
awarded  Good Answer
Dec
10
answered Use of \$ at end of variable name passed to grep