Search Results

Search: Posts Made By: otheus
34,717
Posted By Scott
yum whatprovides */sftp
yum whatprovides */sftp
Forum: Programming 05-18-2012
7,253
Posted By kshots
Hmm... actually, I just found that a solution...
Hmm... actually, I just found that a solution should present itself in the 3.4 kernel, when it comes out. I can't post a URL with where I got this from (because apparently I need 5 posts for that),...
20,122
Posted By Corona688
The A[$1] before the code block: ...
The A[$1] before the code block: A[$1]{$5=A[$1];print}

nulls and blanks are considered false and won't run the code, anything else is true and will run the code block.
26,073
Posted By Corona688
Problem with renaming files and folders...
Problem with renaming files and folders recursively is if you start renaming your folders, then the paths you're looking inside are changing on the go... So you need to process the insides first.
...
10,956
Posted By chakrapani
there was a command called screendump similar to...
there was a command called screendump similar to setterm -dump which get details from ttys

Something similar to:
Linux.com :: Everything Linux and Open Source...
42,531
Posted By hedkandi
thanks! I wasn't aware of logger
thanks!

I wasn't aware of logger
9,038
Posted By hemangjani
Code: awk 'ORS=NR%2?";":"\n"'...
Code:
awk 'ORS=NR%2?";":"\n"' sample.txt
3,068
Posted By nelgin
On Mandriva, at least, you can go into...
On Mandriva, at least, you can go into /etc/xinetd.d and find a ssh config file called sshd-xinetd - you can just edit this to set disable = yes then hup xinetd
3,089
Posted By Corona688
It's because, when run with xargs, the commands...
It's because, when run with xargs, the commands have no standard input connected. Usually it'd wait for input, either from your end or the other end, but now it connects, tries to read from the...
8,302
Posted By ctsgnb
@bakunin Yes, but if not escaped, it refers...
@bakunin

Yes, but if not escaped, it refers to the literal '&' previously matched so in fact it gives the same result :D

... but ok, i guess you pointed it out for education purpose...
1,898
Posted By cfajohnson
There's no need for head or tail: { IFS=...
There's no need for head or tail:

{
IFS= read -r line
printf "%s\n" "$line"
sort -u
} < "$file" > "$newfile"
30,636
Posted By kurumi
#!/usr/bin/env ruby require 'net/ftp' ...
#!/usr/bin/env ruby
require 'net/ftp'
user="anonymous"
pass="password"
server="localhost"
Net::FTP.open(server) do |ftp|
ftp.login(user,pass)
ftp.nlst("*.txt").each do |file|
...
Showing results 1 to 12 of 12

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