LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2015, 12:57 PM   #1
mr.rana
LQ Newbie
 
Registered: May 2015
Posts: 1

Rep: Reputation: Disabled
Question sqlite3 bash


How to import .txt file into sqlite3 database using bash in linux?
 
Old 05-19-2015, 01:50 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by mr.rana View Post
How to import .txt file into sqlite3 database using bash in linux?
Please read the "Question Guidelines" and "How to ask a smart question" links in my posting signature.

And you do this by writing a script to do it...since you don't tell us what version/distro of Linux, give us samples of the input data, the layout of the sqlite database, or post what you've done/tried, what do you think we'll be able to tell you? And have you even tried reading the documentation??
http://www.sqlite.org/cvstrac/wiki?p=ImportingFiles
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash Script to manually import CSV into sqlite3 -> Spaces mess up everything burnhot Linux - Software 1 02-18-2015 01:17 PM
[SOLVED] Bash script: How to assign variable to an sqlite3 command with variable embedded? ninja6o4 Linux - Software 10 02-15-2015 04:43 PM
Multithreading with sqlite3 in c batman4 Programming 6 09-04-2012 07:55 AM
sqlite3 - Invalid driver specified lee_can Linux - Newbie 4 10-31-2011 09:58 PM
How do you explain table in SQLite3? novakane Linux - Software 2 03-11-2009 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration