I have a large database file (1.5GB) named file.sql, I use "source" command to extract it into mysql databse but I receive lots of error messages.
Hi all,
1). Is is possible to use the date builtin and subtract a literal e.g 1 day in bash alongwith the find command from the command line:
e.g
Code:
find . -name --date %Y-%m-%d - 1
2).
Gurus,
Thanks so much for your help, in advance.
I'm using ksh and outputting a literal string value to an output file, however, Unix isn't playing by SQL's rules. The ampersand character which I'm trying to disply as a knowledge base link is screwing up the output.
I have this bash script which is trying to find a directory that partially changes on peoples systems.
cd "$HOMEDIR/AppData/Local/GitHub/PortableGit"*"/bin"
Yet this does not seem to work - it just take the string literal.
Is there an easy to make it expand correctly?
I'm trying to connect to Windows 2003 server's share using ipv6 address from Windows Server 2008.
I use ipv6-literal.net conversion as described on http://msdn.microsoft.com/en-us/library/aa385353.aspx (http://blogs.msdn.com/b/oldnewthing/archive/2010/09/15/10061950.aspx)
I see the error "A duplicate name exists on the network".
Why does it occur?
Trying to understand what's happening here, but I cannot figure it out.
I'm reading Mastering Regular Expressions, by Friedl, and he uses this as an example of how to grab quoted text:
Code:
egrep -o '"[^"]*"' ~/File.txt
...should pull in any quoted phrases. Match a literal double-quote, match anything not a double-quote until you hit the next literal double-quote.
In the Linux kernel, I can send a file to the printer using the following command
cat file.txt > /dev/usb/lp0
From what I understand, this redirects the contents in file.txt into the printing location. I tried using the following command
>>os.system('cat file.txt > /dev/usb/lp0')
I thought this command would achieve the same thing, but it gave me a "Permission Denied" error.
I have a "command" text file that issues a data file download command on each
line. I send the command file to bash. However, a small percentage of the downloads fail.
My requirement is to call a WSDL service from android and display the result in a nice manner.
But the WSDL i need to call, I dont find a soap_action there.