How to compare two text files for the same exact text using BASH?
- date: October 13, 2012
Let's say I have two text files that I need to extract data out of. The text of the two files is as follows:
1name - [email protected]
2Name - [email protected]
3Name - [email protected]
4Name - [email protected]
File 2 is File 1's list of domain names, extracted from the email addresses.
These are not the same domain names by any means, and are quite random.
How can I get the results of the domain names that match File 2 from File 1?
Thank you in advance!
How to transfer file from Liinux to Android using Google Drive
location: linuxexchange.com - date: August 28, 2015
I have a system consisting of Android clients and Linux server. Files (jpeg images) are transferred from Android client to Linux server via Google drive OK.
Client uses Drive API to upload the file into ServerUploads folder on Google Drive
Client informs server of file via GCM (Google Cloud Messaging)
ServiceAccount on Server reads file via REST API
I have this transfer working well.
Later the server needs to send the file (jepg) to other clients based on search criteria, location, view area, etc. So I try to reverse the flow to transfer the jpeg file to clients.
Service Account on Linux server uploads the file to ClientDownload folder on Google Drive
Server notifies client(s) of file via GCM
Client tries to download file via Drive API, but fails due to protection
The app and ServiceAccount are both associated with the application in the developers console.
The email associate with the App and ServiceAccount are different dommains. (This is not Google Apps for W
Copy file to server with specific port using scp in Linux [closed]
- date: February 21, 2015
If I want to copy file from server to my local OS I use this:
scp -P 60385 [email protected]
But how do I do the opposite?
I tried this:
scp /mylocaladdress/somefile.txt [email protected]
:/myserver/. -P 60835
scp /mylocaladdress/somefile.txt -P 60835 [email protected]
But I'm getting this error
ssh: connect to host 188.8.131.52 port 22: Connection refused
I have Ubuntu on local and CentOS 6.5 on the server
PuTTY how to select text and copy text using keyboard ONLY
location: linuxexchange.com - date: March 7, 2015
Is there any way of selecting a text with keyboard the way I do it normally using Shift+arrows.
Importing MySQL database using Linux Terminal
location: linuxexchange.com - date: November 5, 2013
I have an existing database, named dlti.sql
I want to transfer it to a Linux-based server. I tried using this code, however I get no response:
mysql -u root -p Desktop < dlti.sql
The .sql file is located at the desktop.
Can anyone help me with this?
How do I fix the error 'Named Pipes Provider, error 40 Could not open a connection to' SQL Server'?
location: linuxexchange.com - date: January 6, 2013
I can't seem to connect to my database from a site. I get this error:
Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
I tried using the local IP address to connect as well as a public one. I've tried:
Yes, the site can communicate with the server
Named pipes/TCP is enabled.
Remote connections are allowed.
Windows Firewall is off
Created an exception for port 1433 in Windows Firewall.
Enabled everything in SQL Server Configuration Manager.
What else can I do here?
Lightweight SQL server for Linux/Windows?
location: linuxexchange.com - date: July 12, 2014
SQLite is fine as a single-access database, but it gets risky when used by more than one user at a time. MySQL, Firebird, PostgreSQL etc. are more difficult to deploy and are simply overkill for my use.
Ideally, I'd like a compact, single-EXE server meant to run on low-spec hardware (eg. 128MB RAM, 256MB flash RAM) that would be as easy to work with as SQLite, and is available for Linux (and Windows, so I can use the same code client-side in case customers prefer a regular PC.)
Do you know of an application that fits those requirements?
SQL Server GUI For Linux
location: linuxexchange.com - date: December 30, 2008
Anybody know of a GUI for querying / managing Microsoft SQL Server >= 2005 from Linux.
So far I've only found Razor SQL
SQL Client for Mac OS X that works with MS SQL Server [closed]
location: linuxexchange.com - date: April 3, 2015
How can I connect to a remote SQL server using Mac OS X? I don't really need a GUI, but it would be nice to have for the color coding and resultset grid. I'd rather not have to use a VM.
Is there a SQL client for Mac OS X that works with MS SQL Server?
How do I fix a “Performance counter registry hive consistency” when installing SQL Server R2 Express?
location: linuxexchange.com - date: April 17, 2015
I'm trying to install SQL Server 2008 R2 Express from this site:
I have a 64-bit, Windows 7 machine.
I have tried both the 32-bit and 64-bit versions but each fail on "Performance counter registry hive consistency".
How can I fix this so that I can install SQL Server 2008 R2 Express?
Page: 1 2 3 4 5 6 7 8 9 10