12-05-2011
thanks guys...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am newbie and hope that you can help me to rename a file
If I have a file name Perform.01222006.12345.Log now I would like to backup another file with another name like perform-20060112.dat
This is a flat file, and I want to collect some field, then put it in a new file from... (9 Replies)
Discussion started by: sabercats
9 Replies
2. Shell Programming and Scripting
ok, this one is definitely too hard for my shell-script-skills.
Hopefully, there is somebody who can help me with this:
I have a folder with files in it named
0.ppm
10.ppm
2.ppm
...
5.ppm
50.ppm
55.ppm
...
355.ppm
360.ppm
etc.
As you will notice, the order in which the files are... (5 Replies)
Discussion started by: silversurfer202
5 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I'm trying to run a simple shell program to change all the files named *.cvs to *.txt. I am trying to use WHILE and this is what I have so far:
This changes the first file from *.cvs to *.txt, but it is not cycling through the other files.
My suspicion is that I don't have the... (5 Replies)
Discussion started by: ScKaSx
5 Replies
4. Shell Programming and Scripting
Anyone who can assist :
I am trying to pass the group vairiable to a filename:
rpt_tsavegrp=/export/legato/scripts/$group_savegrp_rpt.$dat
It will not pass to variable.
Anyone have any ideas what I am doing wrong here.
Thanks
# This script sends email that save group completed.... (3 Replies)
Discussion started by: gzs553
3 Replies
5. Shell Programming and Scripting
I am trying to write a script that prompts users for date and time, then process the gzip file into awk. During the ksh part of the script another file is created and needs to be processed with a different set of pattern matches then I need to combine the two in the end. I'm stuck at the part... (6 Replies)
Discussion started by: timj123
6 Replies
6. Shell Programming and Scripting
I have 100 files in a directory with
a.1
a.2
a.3
a.4
How do i remove a. and i need the file names as
1
2
3
4
please help (2 Replies)
Discussion started by: srichunduru
2 Replies
7. Shell Programming and Scripting
Hi,
i have files which contains list of csv file names
say temp.txt contains below like data
Dns_bangalore_08172011.093033.1139.csv
Dns_bangalore_08172011.093133.1139.csv
now i want to insert some string before .csv in the filename
say i want to insert string _sim1 beofre .csv... (3 Replies)
Discussion started by: raghavendra.nsn
3 Replies
8. UNIX for Dummies Questions & Answers
Hi
i want to list files based on date and change the date alone in the files in a directory
abc20120101.txt
xyzxyxz20120101.txt
ccc20120201.txt
ddd20120301.txt
In the above i want to select only files having date 20120101 and rename the date for those files like below
abc20111231.txt... (3 Replies)
Discussion started by: Dewdrop
3 Replies
9. Shell Programming and Scripting
I have a bunch of files, they have spaces! I am working in windows 7, but I am hoping I could install and use cygwin or some other unix platform to rename my files (suggestions welcome).
The files are named:
Wind Attn Vol - 474.wrl
Wind Attn Vol - 475.wrl
Wind Attn Vol - 476.wrl etc..
I... (10 Replies)
Discussion started by: d_sai_kumar
10 Replies
10. UNIX and Linux Applications
does any one know how to change inactive filename that is backed up on tsm? (1 Reply)
Discussion started by: curtis911
1 Replies
LEARN ABOUT REDHAT
modload
modload(1M) System Administration Commands modload(1M)
NAME
modload - load a kernel module
SYNOPSIS
modload [-p] [-e exec_file] filename
DESCRIPTION
The modload command loads the loadable module filename into the running system.
filename is an object file produced by ld -r. If filename is an absolute pathname then the file specified by that absolute path is loaded.
If filename does not begin with a slash (/), then the path to load filename is relative to the current directory unless the -p option is
specified.
The kernel's modpath variable can be set using the /etc/system file. The default value of the kernel's modpath variable is set to the path
where the operating system was loaded. Typically this is /kernel /usr/kernel.
For example, the following command looks for ./drv/foo:
example# modload drv/foo
The following command looks for /kernel/drv/foo and then /usr/kernel/drv/foo:
example# modload -p drv/foo
OPTIONS
The following options are supported:
-e exec_file Specify the name of a shell script or executable image file that is executed after the module is successfully loaded. The
first argument passed is the module ID (in decimal). The other argument is module specific. The module specific information
is: the block and character major numbers for drivers, the system call number for system calls, or, for other module
types, the index into the appropriate kernel table. See modinfo(1M)
-p Use the kernel's internal modpath variable as the search path for the module.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
ld(1), add_drv(1M), kernel(1M), modinfo(1M), modunload(1M), system(4), attributes(5), modldrv(9S), modlinkage(9S), modlstrmod(9S), mod-
ule_info(9S)
Writing Device Drivers
NOTES
Use add_drv(1M) to add device drivers, not modload. See Writing Device Drivers for procedures on adding device drivers.
SunOS 5.10 1 Dec 1993 modload(1M)