Sponsored Content
Full Discussion: Apologies from a newbie!
Top Forums UNIX for Dummies Questions & Answers Apologies from a newbie! Post 302336920 by speedfreak on Thursday 23rd of July 2009 05:32:24 AM
Old 07-23-2009
Quote:
Originally Posted by pludi
The quotes around the command are backticks, not single quotes. You could also try
Code:
myfile=$( ls Myfile* )

You guys Rock!

Works a treat!

Thanks so much everyone!!!!!
 

6 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

apologies to Perderabo

Sorry Perderabo, really was only asking advice on where best to post, and if I should post. Didn't intend for that missive to be posted. (0 Replies)
Discussion started by: keith.m
0 Replies

2. Post Here to Contact Site Administrators and Moderators

apologies

sorry, I recently posted twice, thinking it didn't go through. didn't mean to make you hassle with redundancy. thanks for your good work. (1 Reply)
Discussion started by: protienplant
1 Replies

3. UNIX for Dummies Questions & Answers

UNIX newbie NEWBIE question!

Hello everyone, Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware. I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies

4. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

5. Post Here to Contact Site Administrators and Moderators

Help with deleting post, apologies about the earlier post.

Apologies about the earlier post, i didnt realise, could i delete that post? I apologise again, SynGc (1 Reply)
Discussion started by: SynGc
1 Replies

6. Post Here to Contact Site Administrators and Moderators

Our Apologies for the Down Time This Weekend (Servercraft Migration)

In case you did not notice, our server was not available for about 10 hours this weekend. Our service provider (Servercraft) moved their entire data center from Houston to Dallas, TX. They sent numerous emails to me but because of how I have configured gmail, none of the messages made... (0 Replies)
Discussion started by: Neo
0 Replies
MONGOCONNECTIONEXCEPTION(3)						 1					       MONGOCONNECTIONEXCEPTION(3)

The MongoConnectionException class

INTRODUCTION
Thrown when the driver fails to connect to the database. There are a number of possible error messages to help you diagnose the connection problem. These are: o No candidate servers found Thrown when the driver cannot establish a connection to MongoDB (fulfilling the ReadPreferences, if specified). o No server name given. This error occurs if you pass in "" as the server name, probably because of an typo with string interpola- tion, e.g., "$servr" instead of "$server". o failed to get host [hostname] or port [portnum] from [server]. This indicated that the server string was malformed. "[hostname]" and "[portnum]" will be as much as the driver could dicipher of it. o Operation in progress Connecting to the database timed out. o Transport endpoint is not connected Generally means that the connection string isn't correct, the driver couldn't even find the database server. o couldn't determine master No server in a replica set connection was identified as the primary. o couldn't get host info for [server] This indicated that DNS could not resolve the server address you gave. This could easily be caused by a typo, for example, "server" instead of "$server". o Invalid Argument This can be caused by attempting to connect to a machine that is up but that the database isn't actually running on. Make sure that you've started the database server before connecting. o Permission denied This means that the socket could not be opened due to permissions issues. On Red Hat variants, this can be caused by a default setting that does not allow Apache to create network connections. You can override this setting by running: $ /usr/sbin/setsebool -P httpd_can_network_connect 1 If the error message is not listed above, it is probably an error from the C socket, and you can search the web for its usual cause. CLASS SYNOPSIS
MongoConnectionException MongoConnectionExceptionextends MongoException PHP Documentation Group MONGOCONNECTIONEXCEPTION(3)
All times are GMT -4. The time now is 09:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy