General :: Stuck On Join Command From Book?

Feb 10, 2011

Going through book, "Guide to UNIX Using Linux". I am doing one of the projects that has me writing scripts to join files. Here is my pnumname script and I am extracting the programmers names and numbers from the program file and redirecting the output to the file pnn. I then created a joinall script where I am trying to join the files pnn and pnumname and redirect the output to pactrep. When I run the script sh joinall and use less to display the contents of the redirected file pactrep, I get an error- join: extra operand `pnum'
Try `join --help' for more information.... I went to the man pages but I still (obvious) do not have a solid grasp.

#=======================================================
# Script Name: pnumname
# By: J.D.

[code]....

View 1 Replies


ADVERTISEMENT

Ubuntu :: (BASH) Join Command (GNU Coreutils) - Why Join Ignores The -e Flag And Fails To Insert FOO In The Empty Field

Mar 2, 2011

I am trying to understand the join command. I wish to join two files:

Code:
$ cat test1
a 0
b 2.51
c 19.85
$ cat test2
a 0
b 2.51
[Code]...

this is great but I do not understand why join ignores the -e flag and fails to insert FOO in the empty field.

View 1 Replies View Related

General :: Stuck On GRUB Command Line / What Happened?

Mar 26, 2011

I am running Natty Alpha 3. I used Update Manager to install something (not sure what it was), then I restarted, but instead of listing all the kernels, it gave me a command line. I don't know what happened and how to use it.

View 6 Replies View Related

General :: Dell Mini 910 Ubuntu 8.04 Then All Of Sudden Stuck In Grub At Line Command

Nov 23, 2010

I have tried hours of followed fixes for my situation to no avail.I am stuck in grub line command and cannot get out.I have tried everything under the sun and nothing. every command comes back with disk read error, unrecognized command, etc.I am about ready to throw the mini 9 through the wall.

View 4 Replies View Related

Programming :: Command "join" Missing Some Rows?

Apr 30, 2011

Am a bit bewildered on the output of this "join" comad. I'm expecting it to output the 2nd and 3rd columns of both text1.txt and text2.txt. However, it somehow misses some of the columns from text1.txt. For example, rows 1, 2, 8, and 14 are working as expected. The rest of the row aren't.

Code:

cat text1.txt
20110429,10480,Y
20110429,5202,Y
20110429,19434,Y
20110429,19417,Y

[code]....

View 3 Replies View Related

Fedora :: Stuck At Grub Command Prompt

Jun 7, 2011

I was deleting some space off my C Drive and I believe I may of accidentally deleted Fedora, or some of it! I have a dual boot with Fedora and Windows XP so when I started my desktop up it would load into fedora by default or I could press a key to load XP! (It rhymes!) Now, however, it instantly loads up into "Grub"

And that's it! Run, Or Exit, or anything really, doesn't work! Except Reboot! So I'm a little stuck. It's an old PC and the Windows XP disc is long gone, if I ever had one! I had this thought that perhaps if I reinstall Fedora from a CD it many bring back the old command prompt and let me get back into XP again? Or, is that crazy talk??

View 3 Replies View Related

Ubuntu :: Computer Stuck In Command Line Mode

Oct 5, 2010

I just loaded up the Ubuntu 10.04 onto a newly scratch built computer. It went to the desktop after loading up and asking for my password. I then navigated to SYS>ADMIN>DRIVERS and preceded with download of recommended drivers for Nvadia G430 on-board display adapter. Restarted the computer to activate the new drivers and it's stuck in Command Line Mode. I tried Ctrl/Alt/F7 to escape, along with a bunch of other things but nothing will kick this puppy into the desktop.

View 4 Replies View Related

OpenSUSE Network :: Mount Command Gets Stuck With No Error Message?

Jun 25, 2011

I am using 11.3 on one machine and 11.2 on the other (a netbook). 11.4 won't install on either and 11.3 on the netbook fails to install as well.

I am using the same setup as I have always used when both systems ran 11.2 (details below) but now I can only mount a drive in one direction. In the other direction the mount command gets stuck with no error message until it eventually times out. I can ping and ssh the machines from each other without difficulty.

Even in the direction in which the mount apparently works (11.2 mounting a drive on the 11.3 machine) when I try to copy files across nothing actually happens.

exportfs -a was run successfully on the exporting machine, and nfsserver is running on both machines as does nfs client.

The exporting machine is 192.168.1.102 (eeelinux) and the other machine is 192.168.1.101 (nina).

Details:
The /etc/exports file on the exporting machine (192.168.1.102) looks like this:
eeelinux:/home/naima # more /etc/exports
# See the exports(5) manpage for a description of the syntax of this file.
# This file contains a list of all directories that are to be exported to
# other computers via NFS (Network File System).

[Code].....

View 9 Replies View Related

Ubuntu :: Stuck On Command Line / No Gui / Unable To Start Xorg?

Apr 2, 2011

Last night my system rebooted and dropped screen resolution to 800*600. I was unable to change that from no where. I tried to install nvidia driver and now no gui, only command line. Starting xorg by using 'startx' fails. How I can get back to normal with normal resolution?At the moment I am logged in via live cd. Let me know if any log files needed (if I can locate those).

View 9 Replies View Related

General :: Join With Gzipped Files?

Oct 13, 2010

I want to use the command line join utility on two files. Unfortunately, they're gzipped. Because they're both gzipped, I can't use gzip -cd. Is there a slick way to do this without having to unzip them?

View 1 Replies View Related

General :: Join/merge Many Mp3 Files?

Jul 23, 2011

Searching Google on how to join/merge many mp3 files, it suggests that I should just cat them together.That might "work", but clearly it is not the correct way to do it, as each header and set of IDv3 tags will also be concatenated.Does a Linux program exist that can be scripted to join/merge many mp3?Can mplayer/mencoder/ffmpeg do it?

View 2 Replies View Related

General :: Join Multiple MP3 Files (lossless)?

Oct 24, 2010

How do you join multiple MP3 files into one? "cat" and "mp3wrap" are no good as they produce non standard MP3 files. I know I can use audacity, but when you have 1000's of MP3 files to join into one, it takes too long.

View 2 Replies View Related

General :: Join 2 Variables In A Bash Script?

Aug 12, 2011

I have $db and $DATE set in my bash script, then I need to join them like this: mysqldump --user=usr --password=pss --databases $db | gzip > /backups/sqlNew/$db_$DATE.sql.gz;

Unfortunately, that doesn't work. How do I properly join those 2 variables into a filename?

View 1 Replies View Related

General :: Join Two ISO Image Files In System?

Dec 17, 2010

How to join two ISO image files in Linux?

View 8 Replies View Related

General :: Join Server With Multiple Domains?

Jan 13, 2011

Is it possible to add/join my Linux Suse 11.3 server with 2 domains ? I know I can do that with Windows PC, but I never try that with my Linux box. FYI, my Linux server is already joined with a domain, now I want to join my box with another domain and I don't want to take it off the current joined domain.

View 1 Replies View Related

General :: Join Computer To A Windows Domain?

Mar 11, 2010

I am new to Debian Linux and I have just installed the software. How can I join the computer to a Windows domain? How can I configure the network?

View 1 Replies View Related

General :: Tool To Join Videos Split Screen?

Jun 16, 2010

I am looking for a command line tool to join 2 video files, however I want the videos joined split screen frame by frame instead of one after another.

Any ideas?
Seems this is not possible with ffmpeg.

View 1 Replies View Related

General :: Print Separator For All Fields In `join` Utility?

Dec 13, 2010

For example: file a:Tom:blackLily:pinkfile b:Tom:bigKate:smallAnd, the result:join -t: a1 a ot:Tom:black:bigLily:pinkBut what I want is:Tom:black:bigLily::pink

View 2 Replies View Related

General :: Join Different Pages From Different Pdf Files Into Single Pdf File?

Apr 13, 2010

i have started using linux for less than 6 months. now i have come across a problem with pdf files in linux. i want to join different pages from different pdf files into single pdf file.i have come across softwares that do this but they perform this using page numbers from pdf files.but i need to do this based on keywords in different pages .for eg there 3 pdf files

india.pdf
contents:languages
.........
........
places
......
......
achievments
......
[Code]....

now i have to create a pdf file langunage.pdf ,combining the topic languanges from three pdf files america.pdf,india.pdf,china.pdf how can i do it?? whether there is any open source software for doing this?.

View 3 Replies View Related

General :: New Windows Xp Clients Can't Join Samba Domain / Fix It?

Aug 18, 2010

We've been running samba on linux for a while and everything was fine. All of a sudden when you add new clients to the domain you get the error message :Logon Failure:unknown user name or bad password. This to me seems like a windows error message and not a samba error. When you remove an existing machine (ie on domain) and then try to rejoin it to the domain you fail.

View 4 Replies View Related

General :: The Best Book For Suse And Other Distros

Mar 30, 2011

I need PDF version of this book SUSE Linux Toolbox 1000 Commands for openSUSE and SUSE Linux
anybody has it?

View 3 Replies View Related

General :: Best Book For Learning Ubuntu?

Jun 23, 2010

Suggest me the best book for learning more about directories in ubuntu filesystem

View 5 Replies View Related

General :: Book On Testing Distributed Systems?

Apr 30, 2011

I'm built an distributed application, and now I want to take some metrics to show how my application works. These metrics includes the time of computation, the time of communication and the amdhal law. I would like to know what tests can be done to show the performance of the application. So, I'm searching for a book or document that shows me what type of tests can be done to show the performance of an application.

View 2 Replies View Related

General :: Looking For A Conceptualized Book / Manual About SAMBA?

Aug 3, 2011

I'm starting in the forum, than if i commit a mistake.

I'm looking for a conceptualized book or manual about SAMBA?

View 3 Replies View Related

General :: Open Book DVD No Install Missing

Mar 30, 2010

trying to install a dvd of Openbook, a distribution of ebooks from the gutenberg collection. running debian lenny amd64.i have multi and uni in repositories enabled. equivs is installed, as well as libglib1.2ldbl libglib1.2-dev and libglib1.2-dbg. i looked in /dependencies/deb/ folder on the dvd and found these packages gdk-pixbuf_0.22-1_i386.deb and gtk+_1.2-1_i386.deb. tried to install gtk+.... after finding synaptic shows no gtk+ packages, only gtk... with the expected error that i am running the wrong version of debian to install x386 apps. looked online and found that lenny amd64 will run 386 apps in compatibility mode. how does compatibility mode work?

View 2 Replies View Related

General :: How To Prepare Suse 11 Server To Join Active Directory Domain?

Jun 29, 2011

I need to bring my Suse 11 server into active directory domain using samba and winbind. Please let me know the procedure how to do this.

View 3 Replies View Related

General :: Fedora 13 Book For Beginners In HTML Or PDF Format

Sep 24, 2010

I have many years of experience with DOS and Windows, but this is my first dabble in Linux, in particular Fedora 13. The OS is great, but my lack of knowledge makes me uneasy. Is there a good book available in HTML or PDF format that covers. The basics, and is relevant to Fedora 13?

View 10 Replies View Related

General :: Need Efficient Pdf Book / Documentation For Learning Scripting

Jun 10, 2010

I am very new in linux/aix scripting. I request you all to give me efficient pdf book or documentation for learning scripting.

View 2 Replies View Related

General :: Install Package To Convert One Unix Book Into Pdf?

Dec 15, 2010

I wanted to install this package to convert one Unix book into pdf. Since I have not set up the internet in the debian, I download the .deb files in winxp and transfer these files to my pen drive and then access it in the Debian. So I got all the 'depends' packages for the chm2pdf from the Debian Packages site and tried to install. Console was still asking for more dependencies. If I have got all the 'depends' packages which are required for chm2pdf, then why does it give problems ?

View 3 Replies View Related

General :: Good Book / Manual To Read To Learn More About OP Systems?

Mar 25, 2011

What would be a good book/manual to read to learn more about linux o.p. systems? and how to use them.I have to add I may not have such a good internet connection I might end up with free dial up (Bummer)so I'm not sure if a link will do.I will end up at the library anyway. so if you could suggest something that would be good, I'm not really looking for the history but more like how to use, maybe the terminal and such?.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved