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


ADVERTISEMENT

Ubuntu :: Bash Backquotes Join Output?

Feb 7, 2011

I was trying to redirect command output to a variable and realized that all the lines were joined. I tested this additionally with an example:

Code:
echo "The contents of this directory are " `ls -l` > dir.txt
and all the lines were joined in the resulting file. What can I do to preserve separate lines?

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 :: 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 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

Ubuntu :: Join .jpg Files To.pdf

May 11, 2010

I've got a collection of comics on my computer which consist of single images in .jpg. I am trying to join them all to a big .pdf, so that I end up with one e-book per comic instead of a bunch of single images. I already tried importing it to Open Office, but that way I will have to rescale every single image to fit a page, which would take ages.

View 3 Replies View Related

Ubuntu :: Join 2 Mp4 Files Into 1?

Dec 17, 2010

How can I combine 2 video files into 1 using FFMPEG? I've tried the following command......

cat intermediate1.mpg intermediate2.mpg > intermediate_all.mpg

....the result being only 1 of the video files combined but the overall file size is equivalent to the 2 files combined together.

View 1 Replies View Related

Ubuntu :: Join A Meeting Via GoToMeeting?

Mar 11, 2010

Continuation of this archived thread: [URL] I ran into the same problem, the inability to join a meeting via GoToMeeting, when two potential contracts both requested me to use it on the same day! I received this error from their website:

[Code]...

View 8 Replies View Related

Ubuntu Multimedia :: Join 4 Flv Files?

Jul 4, 2010

I want to join 4 flv files,I am running Ubuntu 10.4 LTS seems to me that joining flv files in Ubuntu it's a very difficult task.

View 2 Replies View Related

Ubuntu :: Unable To Join AD Domain?

Jun 9, 2010

I put a Lucid 10.04 box on a Windows AD network. I want it to join the domain. I used likewise-open5_5.0.3991.1-0ubuntu2_i386

I ran

1. sudo apt-get update
2. sudo apt-get install likewise-open
3. sudo domainjoin-cli join fqdn of your domain Administrator
4. sudo update-rc.d likewise-open defaults
5. sudo /etc/init.d/likewise-open start

After step 3, I get

Joining to AD Domain: mydomain dot local

With Computer DNS Name: ubuntu dot mydomain dot local

Administrator(at)MYDOMAIN dot LOCAL's password: [I entered it]

Error: Lsass Error [code 0x00080047]
40286 (0x9D5E) LW_ERROR_LDAP_SERVER_DOWN - Unknown error

Im just a Windows schlep new to Linux. I dont even know where to find things like /etc/nsswitch.conf--winbind, let alone how to edit them.

"You are only allowed to post URLs to other sites after you have made 15 posts or more" It took me an hour to get this to post. I attached a text file without all the spaces and 'dots'.

View 6 Replies View Related

Fedora :: How To Join .ogv Files?

Jun 19, 2011

I want to join .ogv files that have been encoded with my all time favourite encoder 'thoggen'? I know cat will join VOB files. The cat command is making very strange noises in my terminal and sending out screwed up letters that i have never seen..)

View 5 Replies View Related

Programming :: Join 2 AWK Scripts?

May 4, 2010

with my question (I�m using Cygwin). How can I join the 2 AWK scripts showed below in a unique script avoiding use temp file?

I have this input file Pipe separated. Code: CATEGORY1|CATEGORY2|CATEGORY3|CATEGORY4
String3|MUSIC/OLDIES/POP/80S/SONGW|String4|
String4|MUSIC/OLDIES/ROCK/70S/SONGX|String5|

[code]....

View 1 Replies View Related

5 Networking :: Join Centos To AD 2k3?

Mar 6, 2011

I don't know how to join centos v5 to domain cotroller 2k3.

View 4 Replies View Related

Ubuntu :: Apps Can't Join Internet Except Terminal

Jan 6, 2010

I'm using a pppoe internet connection, when enter connection manually everything works fine but when connect automatically on startup (put script in ect/init.d/) the connection is ok and works, but applications can't join internet like firefox, chrome, only terminal and lynx browser can use internet! ping responds are OK

View 8 Replies View Related

Ubuntu Networking :: How To Join 9.10 In A Windows Domain

Feb 12, 2010

I've installed Ubuntu 9.10 in my office desktop. as a newbie in the world of linux, i really do not know much about it. I want to join my desktop in our domain. i already have the ip addresses of the DNS servers but i dunno where to put it. i've installed likewise open and try to join the domain but it displays the following errors: Manual Configuration Required:

The configuration stage 'open ports to DC' cannot be completed automatically. Please manually perform the following steps and rerun the domain join: Some required ports on the domain controller could not be contacted. Please update your firewall settings to ensure that the following ports are open to 'MARVEL2.LBPNET':

88 UDP
389 UDP
464 UDP
445 TCP

View 1 Replies View Related

Ubuntu Multimedia :: Join(combine) Two .ogv Files Into One?

Nov 27, 2010

How to use ffmpeg or memcoder to join two .ogv files into a single .ogv ??Let's suppose the first .ogv video file is named as "01.ogv" and the resolution is 800*600;the second .ogv video file is named as "02.ogv" and the resolution is 720*576.I'd love to join two video files into a whole one, with the resolution 320*240.

View 1 Replies View Related

Ubuntu Multimedia :: Any Way To Join 2 (SWF) Flash Videos?

May 9, 2011

I have some flash(.swf) movies that I created and I would like to create one longer file with these files. I thought that avidemux could handle flash videos, but I get this error if I try to open it: "Could not open the file". Is there any other way to join 2 flash videos? I have noticed that I cant even play the files on vlc.

View 2 Replies View Related

Ubuntu :: How To Join Computer To A Windows Domain

May 15, 2011

How to join ubuntu computer to a windows domain ?

View 3 Replies View Related

Ubuntu Installation :: Join Old Partition To My New System?

May 26, 2011

I have a 200GB hard drive, and today I used Wubi to install Ubuntu on a new 20GB partition. I only allocated 20GB because I was just going to try it out, and needless to say, I fell in love with it. The only problem is that I have all my old files, music, movies, photos, songs I've written, and other stuff on my old Windows 7 partition. I can still access them, but I'd like to get all my old Windows crap off the disk. I want Ubuntu to be my only OS. My question is, is there a way to join both of my partitions and get Windows off, but keep all my music, documents, and other stuff? I want all 200GB to be on the Ubuntu partition.

View 7 Replies View Related

CentOS 5 :: Join Ubuntu Clients To Domain?

Sep 3, 2009

Tutorial for setting up a
domain server, dns server, ldap, mail server, firewall and proxy
with centos and how can I join ubuntu clients to the domain?

View 1 Replies View Related

OpenSUSE Hardware :: How To Join 2 Partitions

Sep 7, 2010

I, I want to join to partitions, one of them is a primary partition sda3 ( 10Gb), but the second one is an extended, sda10 ( 10GB ). Can I make somehow to see them as a 20Gb partition without touching the other partitions?

View 6 Replies View Related

OpenSUSE Install :: Login - Cannot Join 11.2 With KDE ?

Jun 7, 2010

I have a problem that I can not join openSUSE11.2 with KDE. the problem accour after i try to abort a software then I restarted the system.

I get the following message:

Code:

Could not start Kdeinit4. Check your installation.

I also try to repair the system file from the DVD without any success

View 9 Replies View Related

OpenSUSE Install :: Any Way To Join Partitions

Oct 7, 2010

Since i first installed my openSuse 11.2 on the laptop, I didn't know how much space I'd need for this OS to run. Now I've encuntered the worst - The root prartition is 6GB big and it might run out of space shortly (700MB left).I had Win XP on it but as soon as I learned openSuse to make basic tasks - i removed the ntfs partition.The HDD is 28GB, I have 6GB root, 7,5GB home, 750MB swap (512MB RAM) ans 14,65GB free space off the deleted NTFS.Is there any way to join the partitions, so the root can be 16GB in space and home around 12GB?

Or maybe just make another second /home partition and use a program to allocate the "missing bytes" from root to another partition if it runs out of space?

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

Programming :: AWK: Join Lines If NF Is Wrong?

Jul 1, 2010

I have a large CSV file, tab-delimited with CRLF at the end of each line. Each line should contain 5 fields (i.e. NF == 5) However, there are rogue CRLF characters in the middle of some records, causing records to be split across two lines. I want to scan each line, check the field count and if it's !=5 then join that line to the following line. Example input might be;

Code:

one two three four five
six seven eight nine ten
eleven tw<CRLF>
elve thirteen fourteen fifteen

[code].....

View 2 Replies View Related

Server :: Join Machine With Domain?

May 30, 2010

how can i join linux and mac machine with windows domain?

View 1 Replies View Related

CentOS 5 Server :: Cannot Join More The Win AD Domain?

Sep 28, 2009

I have a centos 5 server joined to a win2003 active directory domain. It's a virtual machine, so i had to sync the date (ntpdate) because it was 12 minutes different. It worked, but not ntlm authentication is not working anymore. If i rejoin the domain i get:

net ads join -U administrator@MYDOMAIN.COM
administrator@MYDOMAIN.COM's password:
Failed to set password for machine account (NT_STATUS_DISK_FULL)
Failed to join domain: NT_STATUS_DISK_FULL

View 5 Replies View Related

Ubuntu :: Any Application To Join Files Downloaded From Rapidshare?

May 30, 2010

Is there is any application to join files downloaded from rapidshare??Generally i use hjsplit to join these files in windows.. what application i have to use to join those files in ubuntu.They have an extension like 001,002,etc.

View 9 Replies View Related

Ubuntu Servers :: Samba PDC - XP Client Can't Join Domain?

Mar 31, 2011

I am practising setting up a small network using UBUNTU as a PDC through SAMBA to service xp clients.

I have sucessfully setup DNS on the Ubuntu server using Bind9 and can nslookup from both the client and the server by FQDN and can also ping ipaddress.

I have setup a basic smb.conf file however when I try to add the xp client to the domain I get an error message saying a domain controller for the domain could not be contacted.

I have disabled the firewalls on both the server and the xp client and still get the same error message when trying to join the domain. I've checked my network settings on the client, its set to use a static IP address and the DNS server and WINS server are set as my Ubuntu Samba PDC address.

I haven't been able to see anything odd in the smb.conf file that might cause this issue. I can connect directly to the shares using the samba network account that I created by going to start run and typing in the unc path.

Not sure what the cause of this issue is, I thought it might be a DNS issue on the client. One odd thing I noticed is that when I do nslookup using just the server name and not the FQDN i get a message in dos saying that the default server cannot be found but says that the server name for the [ipadress] cannot be found. It does list the correct ip.

I'm not sure what is causing the problem of stopping my xp client from joining the Ubuntu Samba PDC. I'm using UBUNTU server 10.04.

View 1 Replies View Related







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