10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script in local server
cd /home/dell/work/BOP/testdir
./processchk po (here processchk is a script & po is passed as an argument)
Now I want to execute this script from remote server
ssh $username@$hostname "cd /home/dell/work/BOP/testdir; ./processchk po"
But Its getting error... (9 Replies)
Discussion started by: manohar2013
9 Replies
2. Shell Programming and Scripting
Hi,
So I've created /etc/rc.local
#!/bin/sh
polipo -c /opt/etc/polipo/polipo.conf
exit 0
if I run it with ./rc.local it does what its supposed to do and the proxy starts but not at startup.
any idea whats wrong?
thanks (1 Reply)
Discussion started by: deon
1 Replies
3. Shell Programming and Scripting
I am unable to run the below script against a remote server due to syntax error (then unexpected), but i am able to run it locally. Am i executing it correctly or is there any other way to execute it.
ssh username@servernname ksh -s < scriptname
#!/bin/ksh
function record
{
((end =... (5 Replies)
Discussion started by: NarayanaPrakash
5 Replies
4. Red Hat
how to create local mount point at startup
Filesystem GB blocks Free %Used Iused %Iused Mounted on
xxxxxxxx 370.00 180.08 51% 24500 1% /test (5 Replies)
Discussion started by: karthik9358
5 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
Am facing a peculiar problem, I have copied a utility exe from a bin folder into my local temp folder. I am trying to execute that exe, but it throws out an error saying "No such file or directory".
I have given 755 & 777 permissions to it and I tried, but it still throws out that... (6 Replies)
Discussion started by: abhisheksunkari
6 Replies
6. HP-UX
Hello,
I know this is somewhat strange, but please let me know if possible. I want to execute a program file in the remote machine with command on the local machine. Let me make things more clear.
Suppose I have a cc on my local system and do not have that on the remote system. I want to use... (2 Replies)
Discussion started by: Veera_Raghav
2 Replies
7. Programming
Hello,
I 've trie to execute a a program with parameters unsuccessfully and i take the above message :
"The system cannot find the path specified."
I used a variaton of the above command :
system("\"C:\\xxx\\xxx\\xxx.exe -xxx -xxx xxx.xxx xxx.xxx xxx.xxx\"");
Thanks in advance (4 Replies)
Discussion started by: eusta
4 Replies
8. Shell Programming and Scripting
Hi All,
Can you please tell me how to execute local function written in a shell script with awk.
i tried with system command but its giving an error. (1 Reply)
Discussion started by: krishna_gnv
1 Replies
9. Shell Programming and Scripting
Hello,
I would like to do a rexec to execute a C exe (prog.e) :
rexec -l user -p password host prog.e
When I execute this command, I have this error :
prog.e : can not find lib.o
But, When I execute prog.e directly in the remote machine : well done ! No error output.
Thks for your... (4 Replies)
Discussion started by: Lika
4 Replies
10. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
autosysconfig(8) System Manager's Manual autosysconfig(8)
NAME
autosysconfig - Maintains the list of dynamic kernel subsystems that are automatically configured
SYNOPSIS
/sbin/init.d/autosysconfig add | delete | list [subsystem-name]
DESCRIPTION
Use the autosysconfig program to maintain the kernel's list of dynamic subsystems that are automatically configured at each system startup.
The following list describes the autosysconfig commands: Adds a dynamic subsystem to the list. At each system startup, the specified sub-
system is automatically configured into the kernel. (The object module that contains the subsystem must exist in the /subsys or /var/subsys
directory for automatic configuration to work correctly.) You must specify the subsystem-name parameter with the add command. Deletes a
dynamic subsystem from the list. At each system startup, the specified subsystem is omitted from the kernel. You must specify the subsys-
tem-name parameter with the delete command. Lists the dynamic subsystems that are automatically configured at system startup.
The system issues the sysconfig -c command to configure dynamic subsystems at system startup. The subsystems are added to the kernel dur-
ing the execution of the init program.
No dynamic subsystems are automatically configured by default. You must add a subsystem name to the list to enable automatic configuration
of that subsystem.
EXAMPLES
The following are examples of using the autosysconfig command: To add a subsystem to the list of automatically configured subsystems, issue
the following command: # /sbin/init.d/autosysconfig add lat
This command adds the lat (Local Area Terminal) subsystem to the list. To see what subsystems are on the list, issue the following
command: # /sbin/init.d/autosysconfig list Current automatic configuration list includes the following dynamic subsystems: lat
SEE ALSO
Commands: sysconfig(8), sysconfigdb(8)
System Administration
autosysconfig(8)