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...
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...
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.
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...
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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.