2,555 reputation
62054
bio website nicorellius.com
location Portland, OR
age 38
visits member for 4 years, 4 months
seen Jul 3 at 15:43

I work for a small bioinformatics company and I build websites. I'm currently focused on building Django web sites and applications and responsive websites.


Feb
21
comment Using 'head' or 'tail' on HUGE text file - 19 GB
OK, thanks. Not too familiar with this syntax, but am getting error when using this: LOAD DATA INFILE '/tmp/my_large_file' INTO TABLE helperTable (lineContent) FIELDS TERMINATED BY '\n'; I've searched around through docs and nothing is popping out. Any thoughts? Sorry to bother you with this.
Feb
21
comment Using 'head' or 'tail' on HUGE text file - 19 GB
I attempted to use you SQL code above and it seemed to process but then when I ran the query to view my lines, it just gave me the first column of the tab delimited line. Each of the lines is tab delimited. Is there any advice you could give me to get all the lines into the table, as expected?
Feb
21
comment Using 'head' or 'tail' on HUGE text file - 19 GB
Thanks again. I took the sed answer (because it gave me more immediate pleasure ;--) but gave you an up-vote because I will use your method in the future. I appreciate it.
Feb
21
comment Using 'head' or 'tail' on HUGE text file - 19 GB
So this is a good solution, indeed. I got it to work with the sed command below, and identified my lines. But now I have a follow up question that the database method may be better suited for. I now need to delete a couple hundred lines from the file.
Feb
21
comment Using 'head' or 'tail' on HUGE text file - 19 GB
Yes, I agree with you Paul. I wrote a Python script and it definitely took forever to process the file. I have the sed job running now and I imagine it will take quite a while to complete. But testing with the beginning of the file appears promising. Thanks.
Feb
21
comment Using 'head' or 'tail' on HUGE text file - 19 GB
@Paul - unfortunately, they are not the same length.
Feb
21
comment Using 'head' or 'tail' on HUGE text file - 19 GB
Thinking of writing a quick Python script to read the lines and print the ones I need to file, but I can imagine this taking a long time...
Feb
10
comment mount Command Works, but fstab Version Fails - Samba Issue
So your method worked. Not sure why it didn't before, but after some restarts and rewriting lines, it's working. Thanks. Now to get the credentials file to work ;--)
Feb
10
comment mount Command Works, but fstab Version Fails - Samba Issue
[178319.972284] CIFS VFS: cifs_mount failed w/return code = -13
Jan
25
comment mount Command Works, but fstab Version Fails - Samba Issue
That's already in my credentials file (see above). Plus, I also tried that and it gave the same error.
Nov
14
comment Connecting to multiple computers via SSH behind only only one public IP?
I use GoToMeeting for this kind of support and it works great.
May
16
comment Program Writes to /opt/…/logs - Need a Way to write to /home/<user>/<program>/logs - Linux
No way to see which user created the entry, as the logs are somewhat non-specific. Multiple users will be using this program, hence the need for separate logs... Thanks! I wonder if you could parse based on time, and connect that to the user login time...
May
16
comment Program Writes to /opt/…/logs - Need a Way to write to /home/<user>/<program>/logs - Linux
See note above - not sure this get's me what I need.
Apr
18
comment Zip Multiple Text Files from Multiple Directories into One ZIP File in One Command in Bash
What's the -@ for BTW?
Apr
18
comment Zip Multiple Text Files from Multiple Directories into One ZIP File in One Command in Bash
This is perfect... Actually, right after I posted this question, a buddy gave me some hints... The command I used was: find /some/path -name '*.txt' | xargs -n 100 zip all_data.zip
Dec
28
comment How to Set “<options>” in fstab - Manual Mounting is Successfull
cool, trying now - what is the _netdev piece?
Dec
3
comment Windows XP Folder View - How to Set the Default View
Although your solution didn't completely solve my problem (because I don't think there is a complete solution), I did learn something valuable about registry keys. Thanks.
Nov
30
comment Windows XP Folder View - How to Set the Default View
I added the key and logged out and back in and the folder view wasn't what I was looking for. The window view I am looking for is View > Explorer Bar > Folders on the left and View > Details on the right. Perhaps another key would work???
Nov
20
comment Windows XP Folder View - How to Set the Default View
OK, cool, thanks for the tip...
Nov
19
comment Windows XP Folder View - How to Set the Default View
That registry path is not there for me... I'm using Windows Registry Editor version 5.2, SP2, XP Pro x64