Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: otheus
27,897
Posted By Scott
yum whatprovides */sftp
yum whatprovides */sftp
Forum: Programming 05-18-2012
6,196
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),...
17,722
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.
23,324
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.
...
7,602
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...
36,801
Posted By hedkandi
thanks! I wasn't aware of logger
thanks!

I wasn't aware of logger
8,414
Posted By hemangjani
Code: awk 'ORS=NR%2?";":"\n"'...
Code:
awk 'ORS=NR%2?";":"\n"' sample.txt
2,514
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
2,617
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...
7,211
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,387
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"
27,966
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

 

Featured Tech Videos

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