Search Results

Search: Posts Made By: otheus
21,569
Posted By Scott
yum whatprovides */sftp
yum whatprovides */sftp
Forum: Programming 05-18-2012
5,334
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),...
15,189
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.
21,107
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.
...
29,259
Posted By hedkandi
thanks! I wasn't aware of logger
thanks!

I wasn't aware of logger
5,968
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,294
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
6,505
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,065
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"
2,352
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...
26,750
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,141
Posted By hemangjani
Code: awk 'ORS=NR%2?";":"\n"'...
Code:
awk 'ORS=NR%2?";":"\n"' sample.txt
Showing results 1 to 12 of 12

 

Featured Tech Videos

All times are GMT -4. The time now is 10:27 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy