10-18-2006
A bit late... I think I resolved this with wget and a cookie file
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there!
I one saw a command that allowed to download a file using lynx from an HTTP server without opening lynx itself.
Looked something like this:
$ lynx -xyz http://localhost/foo.bar ~/foo.bar
I looked into lynx manpages and help but didn't find anything.
Thank you in advance (2 Replies)
Discussion started by: D-Lexy
2 Replies
2. UNIX for Advanced & Expert Users
I have a problem while sending attachement , it is displying Content into body of mail (Junk Data) instead of attachment (zip format) in Linux, same code is working in Sun Solaris..
I have read query in this site , need to set MIME type to mailx componment. Please help me how to set MIME type..... (1 Reply)
Discussion started by: suneel
1 Replies
3. Shell Programming and Scripting
Hi ,
I need to replace the file name extension with txt to csv,i wrote the below script when executing its giving the below error.Please anyone how to do this?
$ a2.sh
mv: *.: cannot access: No such file or directory
./a2.sh: o: bad number
$ vi a2.sh
a2.sh
-----
#!/bin/ksh
txt=$1... (4 Replies)
Discussion started by: mohan705
4 Replies
4. Shell Programming and Scripting
Alright, so I am trying to use perl (or any other shell scripting language, awk/sed/bash for instance), to retrieve the mime-type of a file.
I want to keep it in one file, and most of the modules that are on cpan that check for mime types (Magic), aren't installed on these boxes.
Anyone have... (2 Replies)
Discussion started by: Rhije
2 Replies
5. Shell Programming and Scripting
I have a directory structure with multiple sub directories. Within each directory, there are files without extensions. Is it possible to somehow tell what the file type should be by the file contents?
For example, I opened one of the files using an editor. After scrolling to the end of the... (2 Replies)
Discussion started by: daflore
2 Replies
6. Shell Programming and Scripting
I've spent a good two weeks on trying to figure out a proper way to get the mime type of a file. The "file" command on the Sparc machine I'm working on is an older version and does not support the --mime flag. It outputs things like:
somefile.pdf: Adobe Portable Document Format (PDF) v1.5
... (3 Replies)
Discussion started by: mrwatkin
3 Replies
7. Shell Programming and Scripting
Can someone explain what this does step by step? I found this script on stackoverflow and want to customize it for personal use in downloading jpg images from a website.
# get all pages
curl 'http://domain.com/id/' -o '#1.html'
# get all images
grep -oh... (3 Replies)
Discussion started by: workisnotfun
3 Replies
8. UNIX for Beginners Questions & Answers
Hello,
I am trying to send a gzip file on email using below command but the zipped file received on email is corrupt.
mailsend -smtp $smtpip -content-type 'application/x-gzip' -mime-type "application/x-gzip" -t $receiver -f $sender -sub "$subject" -M "$MSG" -attach $file
file name is ... (1 Reply)
Discussion started by: tushar.modgil
1 Replies
UDEVD(8) udevd UDEVD(8)
NAME
udevd - event managing daemon
SYNOPSIS
udevd [--daemon] [--debug] [--children-max=] [--exec-delay=] [--resolve-names=early|late|never] [--version] [--help]
DESCRIPTION
udevd listens to kernel uevents. For every event, udevd executes matching instructions specified in udev rules. See udev(7).
On startup the content of the directory /lib/udev/devices is copied to /dev. If kernel modules specify static device nodes, these nodes are
created even wihtout a corresponding kernel device, to allow on-demand loading of kernel modules. Matching permissions specified in udev
rules are applied to these static device nodes.
The behavior of the running daemon can be changed with udevadm control.
OPTIONS
--daemon
Detach and run in the background.
--debug
Print debug messages to stderr.
--children-max=
Limit the number of parallel executed events.
--exec-delay=
Number of seconds to delay the execution of RUN instructions. This might be useful when debugging system crashes during coldplug cause
by loading non-working kernel modules.
--resolve-names=
Specify when udevd should resolve names of users and groups. When set to early (the default) names will be resolved when the rules are
parsed. When set to late names will be resolved for every event. When set to never names will never be resolved and all devices will be
owned by root.
--version
Print version number.
--help
Print help text.
ENVIRONMENT
UDEV_LOG=
Set the logging priority.
KERNEL COMMAND LINE
udev.log-priority=
Set the logging priority.
udev.children-max=
Limit the number of parallel executed events.
udev.exec-delay=
Number of seconds to delay the execution of RUN instructions. This might be useful when debugging system crashes during coldplug cause
by loading non-working kernel modules.
AUTHOR
Written by Kay Sievers kay.sievers@vrfy.org.
SEE ALSO
udev(7), udevadm(8)
udev 06/02/2010 UDEVD(8)