Search Results

Search: Posts Made By: otheus
34,116
Posted By Scott
yum whatprovides */sftp
yum whatprovides */sftp
Forum: Programming 05-18-2012
7,113
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),...
19,375
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.
25,700
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.
...
41,897
Posted By hedkandi
thanks! I wasn't aware of logger
thanks!

I wasn't aware of logger
10,501
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...
2,961
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
7,982
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,759
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"
3,049
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...
29,988
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|
...
8,927
Posted By hemangjani
Code: awk 'ORS=NR%2?";":"\n"'...
Code:
awk 'ORS=NR%2?";":"\n"' sample.txt
Showing results 1 to 12 of 12

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