Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pavNell
  • Content: Threads
  • Order by date
  1. pavNell

    Remove last field if string exists

    Hello all, I have a temporary file and at any time it may have only one of the following lines or none at all (empty file). AAA 50 50 60 60 90 90 or AAA 60 60 60 60 80 80 newfile:/path/to/a/file or newfile:/path/to/a/file Needing an awk in my shell script to remove only the...
  2. pavNell

    file locking

    Here's the deal.... /dir/A is a bucket that I shoot large JPEGS into from a camera. I have a script running that monitors this bucket and if it sees a new jpeg file in it, it displays the jpeg onto my screen. :-) However, since the file is really large, sometimes the script tries to display...
  3. pavNell

    Clone a USB thumbdrive

    I have a USB thumbdrive thats got DSL (damn small linux) on it. I boot my PC with it. I love it. I'd like to "clone" this USB thumbdrive to another USB thumbdrive to have as a backup. Perhaps there's a tool or command to help me out? Thanks for any help.
  4. pavNell

    Install Math::Fraction

    Hello Perl gurus. I'm new to perl and so far I'm having some great success and fun with it. Just one quick question... I need to install the module Math::Fraction It's not in my distros repository so being a newb I just can't seem to find a good source for help. I've had lots of luck with...
  5. pavNell

    pop3d and deleting messages via client

    John and Dianne both have user accounts on a linux box thats running postfix and pop3d. John and Dianne can both email each other on the linux box just fine with the mail command. However, when John or Dianne use the windows PC in the other room to access their email with ThunderBird client...
  6. pavNell

    Can[t delete messages remotely

    John and Dianne both have user accounts on a linux box thats running postfix and pop3d. John and Dianne can both email each other on the linux box just fine with the mail command. However, when John or Dianne use the windows PC in the other room to access their email with ThunderBird client...
  7. pavNell

    duplicate email messages

    Got pop3d running on linux box and can use Thunderbird on my winderz box to read email messages. Hooray for me!! Thunderbird settings are to "delete messages on server when deleted locally". But messages stay on the server. When I check for new messages, here they all come again! No good. I...
  8. pavNell

    create variable name that contains a variable

    trying to create new variables whose names contain a variable. For instance, I've tried... x=2 while test $x -ge 1 do var_$x="Hello $x" x=`expr $x - 1` done echo $var_2 echo $var_1 this script outputs... var_2=Hello 2: not found var_1=Hello 1: not found thanks for any help.
  9. pavNell

    Continue with script while executing a line

    Scripting noob here. Probably a real easy answer to this... my script does something like.... ... while loop do some stuffA some stuffB cp my.file.xx /home/bill/stuff/file.xx some stuffC some stuffD done ... Lines in my script are executed one line at a time right? Is it possible to...
  10. pavNell

    Booting squashfs filesystem with isolinux

    Would like to "embed" my remastered LiveCD onto a compact flash card. Having a boot problem. I've partitioned the CF with one partition (hda1, 512MB). Formatted with fat16 (isolinux bootloader requires fat16). Copied everything from the LiveCD to the CF... cp -Rf /mnt/cdrom/* /mnt/hda1 But how...
  11. pavNell

    Remove lines from file

    My task is to remove lines from fileA that might also be in fileB. For instance, fileA looks like: xxx ooo yyy iii zzz fileB looks like: iii vvv ttt xxx 777 www Needing the lines xxx and iii to be removed from fileA. I've wrestled with diff, sort, uniq, comm and can't quite get it. Thanks...
  12. pavNell

    Postfix newbie can't get outside LAN

    Hello, I want to send an email message to my_work.com from my linux box at home using mailx. That's it. Only outbound mail too. I have a static IP and a domain name. I have postfix installed and running but I can't seem to send anything outside of my LAN. I'm guessing that some of the variables...
  13. pavNell

    iptables for samba server and client

    Need a little help with iptables setup for a host and client. Here's my basic setup... Local Host 192.168.1.103 is running Samba Server. No other network services running. Local Client 192.168.1.104 needs to access the samba shares from host 192.168.1.103. Needed iptables configurations...
  14. pavNell

    auth.log concern

    Can someone help me and explain these new lines in my auth.log? Jul 22 12:43:39 myhostname groupadd[3478]: new group: name=crontab, gid=109 Jul 27 27 09:39:01 myhostname cron(pam_unix) [1336]: session opened for user root by (uid=0) Jul 27 27 09:39:01 myhostname cron(pam_unix) [1336]: session...
  15. pavNell

    PC accessing internet when it *shouldn't*.

    Setup: Linksys WRT54G router 2 Linux based boxes (one is an apache web server) 1 windoze 2000 Pro Box (for file storage primarily, and games :) ). Problem: I woke up this morning and lots of network traffic going/coming from the windoze 2000 box. The router is configured to NOT allow internet...
  16. pavNell

    apache on linux security question

    For a webserver (my first attempt) running on linux, would it be prudent to restrict all "others" from reading/writing/executing ALL files/directories on the filesystem (except the docs I want to serve of course)? For instance suppose all my docs to serve are located in /usr/www/htdocs and I ran...
  17. pavNell

    debian package installation

    I'm new to the debian distributions and have a question. I need to install the id3ed package onto my pcLinuxOS debian distribution (a nice distribution for a desktop OS). Doing an '$apt-get install id3ed' produces a 'package not found' message. So I downloaded the id3ed debian package from the...
  18. pavNell

    All dates older than 6 months from today

    Needing to query my "date_last_used" field for records older than 6 months from todays date. I tried DateAdd('m',-6,Date()) but it no workee and I'm not very Access smart. Thanks for any help.
  19. pavNell

    cdrecord in script error

    On a command line I can successfully burn an image to a blank dvd like so... cdrecord -v -sao tsize=1083354s dev=/dev/dvdrecorder speed=4 driveropts=burnfree myfile.iso Hooray, it works!! But in a script the cdrecord command returns... Bad option: /dev/dvdrecorder Even tried the option...
  20. pavNell

    Removed IDE H.D. Now Suse wont boot.

    I removed an ide hard drive(not bootable) on my Suse 9.1 box. Upon rebooting I get an fsck error, says like "root filesystem is read-only" and gives me a prompt to login as root. I then log in, shutdown, put the hard drive back in and it boots up just fine. So I edited /etc/fstab and commented...

Part and Inventory Search

Back
Top