Search Results

Search: Posts Made By: cjhancock
54,648
Posted By cjhancock
DISPLAY Environment Variable
I've seen articles which say "export DISPLAY=<IP>:0" and others which say "export DISPLAY=<IP>:0.0". Can someone explain what the difference is?

TIA
80,773
Posted By cjhancock
Hi silentbizob, "...too much info"? No way -...
Hi silentbizob,

"...too much info"? No way - it all helps.

Thanks again (and stay tuned for my next dumb question - there's bound to be one soon!)
4,229
Posted By cjhancock
Thanks People! cfajohnson's solution is...
Thanks People!

cfajohnson's solution is pretty much exactly what I want.

I'm sure tongelja's solution will come in handy some other time.

Thanks again to you both.
80,773
Posted By cjhancock
Thanks for replying, vgersh99. When I tried...
Thanks for replying, vgersh99.

When I tried that (on solaris) it didn't seem to want to let me move files between directories, only rename files in the same directory. But I may have just messed...
80,773
Posted By cjhancock
Moving files between directories using SFTP
I want to connect to an SFTP server, GET some files, then move those files to a different directory on the SFTP server so I don't try to GET them next time. But there doesn't seem to be a way to...
4,229
Posted By cjhancock
Newbie: How to loop round sub-directories
I want a bit of shell script that will let me loop round all the sub-directories in a directory (i.e. ignoring any ordinary files in that directory). Let's say I just want to echo the names of the...
10,459
Posted By cjhancock
Fixed it!
I got some help from a guy in my office, who freed up some space (mail files or something) and explained about 4-digit chmod values (I'd never heard of them). Once I'd set that right and got rid of...
10,459
Posted By cjhancock
disk full
there was no var/adm/cron/at.allow so I tried to create one - but it says the disk is full (which i guess was th problem in the first place). So how do I clear some space and how do i put things...
10,459
Posted By cjhancock
Problems running "at" command
I used to be able to run "at".
Then I started getting "can't open job file in the /var/spool/cron/atjobs directory".
Based on a newsgroup thread's advice, I logged in as root and entered "chmod...
17,473
Posted By cjhancock
Fixed - again!
Thanks vgersh99 - the little tr statement does exactly what I want.

Cheerio from little ol' England.
17,473
Posted By cjhancock
dos2unix - no good
dos2unix won't work. I want to transfer a zip file containing both ascii and binary files to unix. I do this as binary, then unzip the zip file. I then run a script on these files - as part of...
17,473
Posted By cjhancock
New problem
I want to strip off the last character, but only if it's a "^M".

Any ideas?
17,473
Posted By cjhancock
Fixed
Me neither. I suspect that's what it's doing now - transferring everything as binary.

Anyway, your sed script seems to do the trick, so I'm happy.

Thanks again for your help - it's cool when...
17,473
Posted By cjhancock
Missing the point
I've got ONE zip file containing both binary and ASCII files. I transfer it as binary, then unzip it. If I try to unzip using the -a switch, one of the binary files gets interpreted as ASCII which...
17,473
Posted By cjhancock
Not so simple
Trouble is, I'm transferring a zip file containing binary and ascii files - I FTP the zip file as binary, then use unzip - so I'm in the lap of the gods...

Thanks
17,473
Posted By cjhancock
Removing last character from each line of file
How can I remove the last character from each line of a file?

This must be done without "funny" characters, as I want to transfer the code to/from Windows.

Any ideas?
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 08:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy