Search Results

Search: Posts Made By: Scott
Forum: What is on Your Mind? 12-27-2018
303
Posted By rbatte1
To me, the Kludge, Kludgie (or Cludge/Cludgie) is...
To me, the Kludge, Kludgie (or Cludge/Cludgie) is a Scottish word for the toilet. Does that help? Does IT just collect all the 'output' ?
Forum: OS X (Apple) 10-15-2018
1,332
Posted By Corona688
A quiet reminder that ksh93 is very rare, and...
A quiet reminder that ksh93 is very rare, and that shell isn't an efficient or readable language for mass computation. Carry on.

ksh93 also has date arithmetic.
278
Posted By MadeInGermany
Without an external command (paste) while read...
Without an external command (paste)
while read i <&3 && read j <&4
do
useradd "$i"
echo "$j" | passwd --stdin "$i"
done 3<file1 4<file2
767
Posted By lxdorney
Hi thank you very much for your time, is solved...
Hi thank you very much for your time, is solved now other way around.

to this link Auto-mounting USB storage with udev >> Axllent.org (https://www.axllent.org/docs/view/auto-mounting-usb-storage/)
Forum: What is on Your Mind? 09-11-2018
356
Posted By RudiC
I'm very grateful for the work you put in, Neo,...
I'm very grateful for the work you put in, Neo, and I wish I could join in helping, but my Web Development is non existing, be it JS, PHP, HTML, or CSS.

Still, I'm collecting some bits here and...
Forum: What is on Your Mind? 09-11-2018
356
Posted By joeyg
Appreciate all the work you do and have done. And...
Appreciate all the work you do and have done. And hope you have not misinterpreted any of my comments/questions "how do I do this now" or "where is that link now"?
Neither has been intended to take...
509
Posted By Aia
grep -q is more than just suppressing any output,...
grep -q is more than just suppressing any output, it will exist with success as soon as it finds a match, avoiding to continue searching any other lines in the file until it reaches the end of the...
820
Posted By vgersh99
awk '{ a[$0]} END{for (i in a) print i ORS}' RS=...
awk '{ a[$0]} END{for (i in a) print i ORS}' RS= my_file.fasta
or better yet:

awk '!a[$0]++' RS= ORS='\n\n' my_file.fasta
Forum: What is on Your Mind? 07-08-2018
1,555
Posted By Neo
Great. I may just move the "on click"...
Great.

I may just move the "on click" function to the "Code:" part of the tag, since that is not needed for cut and past since it is really outside the formal code tag.
Forum: What is on Your Mind? 06-29-2018
1,555
Posted By Neo
New Code Tags (Syntax Highlighting)
Hey,

Just added a new UserCP option so you can change the code tags to look like the code tags in this example (turn this on and off):

Note: I set the default to "SyntaxHighlighting" for...
1,754
Posted By bakunin
I can't offer you a (single) command but a...
I can't offer you a (single) command but a procedure how to do it - even with a standards-conforming (non-GNU) sed:

- First, save your pattern space to the hold space.

- Next, you use the...
474
Posted By Corona688
This is why you always do 'echo mv' on the first...
This is why you always do 'echo mv' on the first try. Better yet, take a backup before you do a batch rename. Consequences can be large.
532
Posted By Yoda
The reason is when you pipe the file to a while...
The reason is when you pipe the file to a while loop, it actually gets executed in a sub-shell:-
cat $1 | while read line
So the scope of the variable sum value is within the while loop. This is...
Forum: What is on Your Mind? 01-31-2018
1,484
Posted By Corona688
Has it ever been wildly popular? It's been...
Has it ever been wildly popular? It's been influential but that's not the same thing.

Much of that influence is from the BSD license. You can take anything you want, if you attribute (or,...
Forum: What is on Your Mind? 01-31-2018
1,484
Posted By drysdalk
Hi, Whilst there's no question that Linux is...
Hi,

Whilst there's no question that Linux is the dominant OS in the UNIX(ish) family, I don't personally think that the BSDs are going to go away any time soon.

For example, looking at...
Forum: What is on Your Mind? 01-31-2018
1,484
Posted By dodona
Are the BSDs dying?
Source (https://www.csoonline.com/article/3250653/open-source-tools/is-the-bsd-os-dying-some-security-researchers-think-so.html)

a quick google search making clear that this isn't really new, and...
741
Posted By drysdalk
Hi, There's no easy way to do what you want...
Hi,

There's no easy way to do what you want to do with find, or at least not based on a simple -type test. As you've previously been advised, an empty file is defined as a file containing 0 lines...
560
Posted By Don Cragun
This is cute... There is a comment in the...
This is cute...

There is a comment in the POSIX Standard's rationale for the simple commands section of the shell command language description that says:

But, I don't see anything in the...
1,069
Posted By bakunin
Interesting. To be honest i find the behavior of...
Interesting. To be honest i find the behavior of df -h much more annoying. Here is my PC:

# df -h
Filesystem Size Used Avail Use% Mounted on
udev 63G ...
Forum: Linux 12-20-2017
1,767
Posted By sunnysthakur
FIXED
I disabled NetworkManager and firewalld and use legacy network and iptables to get it working on CentOS7. Firewalld and NetworkManager are kind of wrappers which causes this issue.:b:
729
Posted By hicksd8
On Solaris 11 the only (initial) logon is the...
On Solaris 11 the only (initial) logon is the user account that you gave during the installation. You cannot login as root which, by default, is set as a role (NOT a normal user). By default, the...
1,108
Posted By RudiC
Simple sed approach: sed -n '/START/,/END/ {H};...
Simple sed approach:
sed -n '/START/,/END/ {H}; /START/ h; $ {g;p}' file
START
03:14:30 eee
03:15:30 fff
END
1,108
Posted By Don Cragun
You still haven't said why you can't use ed or ex...
You still haven't said why you can't use ed or ex for this. The following code is much simpler than anything you can do with awk or sed:
ed -s file.txt <<-"EOF"
?START?;/END/p
q
EOF
But, of...
1,487
Posted By Peasant
I do not think fear of change is closely related...
I do not think fear of change is closely related to age.

People are inherently afraid of changes.
Changes like jobs, partners, living space etc.
The IT is no different.

Problem nowadays is...
1,487
Posted By Don Cragun
Note that the following code: c=$(cd...
Note that the following code:
c=$(cd ../../bla/bla ; find . -name *.xyz) # Set variable c to filename (./filename.xyz)
c=$(c:3:23) # Remove "./" from c variable's filename
c=.$(c:0:26) # Add a "."...
Showing results 1 to 25 of 272

 

Featured Tech Videos

All times are GMT -4. The time now is 07:43 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy