10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm from Spain so excuse my english.
I'm Trying to Shutdown the Mitel 3300 CXI by serial port.
I'm trying to do this with the EXPECT software.
The problem is:
The connection is done.
The "shutdown" is done BUT the Mitel auto-boot if the script does not type... (0 Replies)
Discussion started by: Jonsaldana
2. Shell Programming and Scripting
I set up a basic threading specimen which does the job:#!/usr/bin/python
print("thread a finished")
... (0 Replies)
Discussion started by: LinQ
3. Shell Programming and Scripting
I am writing the expect script which take input from the txt file and check whether that file is present over the Sftp or not.If yes then delete other wise check the next one.. I am able to do comparison online for single file...
Please also note still i didn't try to implement... (1 Reply)
Discussion started by: hackerdilli
4. Shell Programming and Scripting
55,0 5,6 * * * myScript
This cron task will execute on 5:00AM, 5:55AM, 6:00AM and 6:55AM.
Is there any possibility to make it run only in the order specified
such as 5:55AM and 6:00AM (basically only on the 2 intervals) ? (1 Reply)
Discussion started by: vikram3.r
5. Shell Programming and Scripting
I have a folder with sql files that need to be inserted in a DB with SQL*Plus. The thing is that it takes too long to insert them all one by one, so I want to insert them five at a time.
Currently what I use is this:
for $FILENAME in *.sql
sqlplus -s $DBUSER@$SID << EOF
... (0 Replies)
Discussion started by: Tr0cken
6. Shell Programming and Scripting
I get the following error while executing the shell script. I did not get an error when I ran the script in a different environment (unix server).
str-token.ksh: 0403-057 Syntax error at line 20 : `(' is not expected.
This is the line which gives error
Please find... (3 Replies)
Discussion started by: hidnana
7. UNIX for Dummies Questions & Answers
I have a profile execution issue, I log on to a linux machine , then i do sudo to another user as sudo su - <username> , then <username> .profile executes properly but when I type something I loose all environment varaible and my prompt changes to '$' loosing the PS1 value that I have... (1 Reply)
Discussion started by: malavm
8. Shell Programming and Scripting
Have a script called FTPIN-xx.sh.
It does stuff and when all is done, it is to execute another.
However, I'd like to have it execute the second script in the background or in a fashion that would allow my script to complete without having to wait.
I'm robbing the command from how I... (2 Replies)
Discussion started by: Cameron
9. UNIX for Dummies Questions & Answers
I want to execute a shell script without ./ symbol.
./my_script ===== my_script (both of them can execute my script)
both of them are the same as result. (2 Replies)
Discussion started by: mehmetned
im having trouble understanding how to execute commands in the background. i did some research and saw that you only have to fork and not wait for the child to finish. in another case you have to change the process group. i ve really tried both of them but i just cant get them to work. ... (0 Replies)
Discussion started by: mile1982