10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a python script that I call with this line:
python mypythonscript.py >> results.csv &The problem is that the redirection from the stdout to the file results.csv only writes 4096 kbyte blocks.
So if i kill this process with
kill the last kbytes that the script produce will... (6 Replies)
Discussion started by: Mastaer
2. Shell Programming and Scripting
In my shell script, I want to open a file using vi editor. After opening the file in vi, I want to save and quit this file automatically.... all through shell script.
the code segment is:
cd ~/netfpga/projects/scone/sw/... (2 Replies)
Discussion started by: sachinteotia
3. UNIX for Dummies Questions & Answers
I have a question.
I will be running a background process using nohup and & command at end. I want to send output to a file say myprocess.out.
So will this command work?
nohup myprocess.ksh > myprocess.out &
Thanks in advance guys !!!
:) (3 Replies)
Discussion started by: vx04
4. Shell Programming and Scripting
I've a list of files
ac_info.tps, subscription_array.tps, .......and many other files
one of the file, bin_range_list.tps has the following content
CREATE OR REPLACE TYPE "BIN_RANGE_LIST" AS TABLE OF BIN_RANGE_ELEM;
grant execute on... (4 Replies)
Discussion started by: jediwannabe
5. Shell Programming and Scripting
this is my first post on this Forum, glad to be here.
I'm trying to fix an .ods file. Yes, I had a backup, but it's also corrupted.
When opening the document I get this EM:
format error discovered in the file in sub-document content.xml at
So I... (3 Replies)
Discussion started by: jameslast
6. Shell Programming and Scripting
I'm trying to save process status of root user sorting by CPU usage. However i couldnt save the continuous, standard outputs into a file. Do you have any idea to do it?
prstat -u root -a -s cpu | sed -e '/^$/d;/sleep/d;/Total/d' >> stat.txt
>ls -l stat.txt
-rw-r--r-- 1... (1 Reply)
Discussion started by: EAGL€
7. Shell Programming and Scripting
I need a help.
i have an mapped drive application. I want to start this application using cron. I have downloaded cron setup from the below link:
And it crontab file works fine.
But if i want to start an application. Then process... (2 Replies)
Discussion started by: vasanth.vadalur
8. UNIX for Dummies Questions & Answers
I have the following script, and it is driving me nuts.
It just hangs, I've tried all kinds of tricks, but it won't work.
I know it can, it is pretty straight forward.
It hangs when it tries to output $X
Any help appreciated!
set -o xtrace
command="top -b"... (10 Replies)
Discussion started by: Bloke
9. Shell Programming and Scripting
When I run <ls -l> to get a list of all the files, I want the displayed result to be written to a text file. Is there a way to do that? (1 Reply)
Discussion started by: kn.naresh
10. Shell Programming and Scripting
OK, I am totally new to shell scripting as I just started today. All I want from shell scripting is something very basic, and I've been searching for tutorials on "processing files" and I could not find a suitable one for my level.
I want to read two columns from a data file, one raw... (3 Replies)
Discussion started by: Lorna