Search Results

Search: Posts Made By: otheus
36,260
Posted By Scott
yum whatprovides */sftp
yum whatprovides */sftp
Forum: Programming 05-18-2012
7,623
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),...
21,725
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,749
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.
...
12,579
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...
45,123
Posted By hedkandi
thanks! I wasn't aware of logger
thanks!

I wasn't aware of logger
9,444
Posted By hemangjani
Code: awk 'ORS=NR%2?";":"\n"'...
Code:
awk 'ORS=NR%2?";":"\n"' sample.txt
3,767
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,227
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...
10,626
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...
2,123
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"
34,318
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 07:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy