10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
I am running ubuntu16.04.
By means of @Rudic's help, I have below command.
What I need to do is to replace video_id by value of video_id in which WHERE clause is matched:
{print "INSERT INTO video_series_files (id, video_id, file_type, protocol, \
url, languages, quality, accessed... (12 Replies)
Discussion started by: baris35
12 Replies
2. UNIX for Dummies Questions & Answers
Hi
I have two scripts script1.sh and script2.sh(say this script is a long running).
I want to call script2.sh inside and script1.sh,but when i call script2.sh i dont want to wait for script2 to complete and want this to run in back ground and go on next commands in script 1.sh and finally at the... (2 Replies)
Discussion started by: lijjumathew
2 Replies
3. Shell Programming and Scripting
Hi Gurus
I am a newbie to Unix programming and I am having a difficulty in finding out a number which is present in a file and storing it in a variable so that i can use it in my shell script.
The content of the file "count" is:
Count of the files=11
I need to just store the value 11 in... (8 Replies)
Discussion started by: vikramgk9
8 Replies
4. Shell Programming and Scripting
Dears,
Good Day !
Plz; i want to sum-up two consecutive values inside one row, and put the summation in a new column.
here the input:
1 2
4 5
6 7
the output should be:
1 2 3
4 5 9
6 7 13
If someone can help me to solve my issue !
thx anyway.
Video tutorial on how to use... (5 Replies)
Discussion started by: Ala Alzyadat
5 Replies
5. UNIX for Dummies Questions & Answers
Please inform me on how to install unix/Linus on hp(Intel inside) lap top computer, with windows xp inside.
Thank you. (2 Replies)
Discussion started by: princektwo
2 Replies
6. Shell Programming and Scripting
well, I have a script with this code inside:
nohup /usr/sbin/auditstream | /usr/sbin/auditselect -m -e "event== USER_Create || event== USER_Remove || event== USER_Change || event== GROUP_Create || event== GROUP_Remove || event== GROUP_Change || event== PASSWORD_Change " | /usr/sbin/auditpr -h... (4 Replies)
Discussion started by: iga3725
4 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I am having a script which calculate checks the input feed and perform some function. When i am executing this script i am redirecting this to a output file. I want to know the redirected output file name inside my scripts. Is there is any way to get that .
like the same way we... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies
8. Shell Programming and Scripting
Hi,
In sed, is it possible to match patterns by directly executing UNIX commands inside sed?
For e.g. -
sed "s/`cat file.txt | cut -d "|" -f2`/replace_string"
Will the above command work?
My expectation is to search for the second field in file.txt (file delimited by | ) and replace... (10 Replies)
Discussion started by: devanathann
10 Replies
9. UNIX for Dummies Questions & Answers
Looking for examples/definition of what the term Pipe means in UNIX. Please provide answers and illustrations if possible or direction. Thanks!:) (5 Replies)
Discussion started by: dfrost126
5 Replies
10. Shell Programming and Scripting
i connect to oracle in shell script and i execute a procedure .
i want to find the exit status of the execution command inside oracle .is there anyway i can use $? or any other command is there . (1 Reply)
Discussion started by: dineshr85
1 Replies