04-13-2007
Hi,
for what 'sh' stands for i understood that '.' you are running in current shell but exactly what information 'sh' will give to kernel or how kernel know that whatever proceeding with 'sh' needs to be executed
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I need your help to know the exact operation of this following code ..
cat file1 | ux2dos | tr -d ''>>file2
file1 contains only one line : "DTS-PO\SPECTRUM WO 56"
the data contains a META CHAR "\" .. look at the above line.
But , The file2 output contains :... (7 Replies)
Discussion started by: vparunkumar
7 Replies
2. Shell Programming and Scripting
I just now read the doc in https://www.unix.com/tips-tutorials/35535-understanding-unix-timekeeping.html
Need clarification that half of the files in any directory is shown in below pattern in which time stamp pattern is highlighted
And half of the files are shown in different pattern... (2 Replies)
Discussion started by: Sreejith_VK
2 Replies
3. Web Development
:confused:
Hi All,
i am new to unix....so i am not sure whether i am asking the related question with our forum..
My question .....Can anyone explain me about the CGI script
is it something related to Unix or Linux or some other language.
Thanks in advance
Sha (1 Reply)
Discussion started by: Shahul
1 Replies
4. AIX
Hi, I have a file which contains below info :
$ cat test_file
kenny
denny
kite
I want to get all th file names which starts with k. Hence i used below command but the result was not up to the mark :
$ grep 'k*' test_file
kenny
denny
kite
Can someone please explain me why this is... (1 Reply)
Discussion started by: merajh
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am creating two shell scripts for Database backup and the output has to be routed to nohup.out file.
We will also be running the scripts in the background as
nohup.out <script_name> &
Do I manually need to create a nohup.out file in the directory from where the scripts are going... (1 Reply)
Discussion started by: narayanv
1 Replies
6. UNIX for Advanced & Expert Users
We are facing problem while executin below script,
cat $PIPE_FILE | imscp - "${LRX_FILE_LOC}" 2>&1 | tee "${LIST_DIR}/${IMSCP_OUT_FILE}" &
sqlplus -s ${REPORTING_CONNECT} <<EOF
whenever sqlerror exit 1 rollback
spool ${PIPE_FILE}
start ${LRX_EXEC_SQL} ${LRX_MDL_RUN_DATE}
spool off
exit... (4 Replies)
Discussion started by: samiks14
4 Replies
7. Shell Programming and Scripting
crw-rw-rw- 1 root root 1, 5 May 6 1998 /dev/zero
brw----rw- 1 root floppy 2, 28 May 6 1998 /dev/fd0H1440
In the above permission what is above C and B indicates?
Thanks (1 Reply)
Discussion started by: thelakbe
1 Replies
8. UNIX for Advanced & Expert Users
Hi All,
I have a file cleanlogs_imgp01_files which has the contents as follows,
cold_log|/opt/elf/cold_spool
get_orion_log|/opt/elf/logs
get_coldFiles_log|/opt/elf/logs
get_coldFiles_TuesToSat_log|/opt/elf/logs
get_coldFiles_MonToSat_log|/opt/elf/logs
And when i execute this, I get the... (1 Reply)
Discussion started by: DevM
1 Replies
9. HP-UX
Hi,
I want to use the "SU" command in script it is asking me to enter the password manually.
pleas the say the syntax of su command in single line that includes username/password. :) (3 Replies)
Discussion started by: vigneshwaran007
3 Replies
LEARN ABOUT OPENDARWIN
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)