11-03-2018
You could learn to program with
Vue.js and
jQuery and help us develop some new features for the unix and linux forums
10 More Discussions You Might Find Interesting
1. Programming
Hi,
Iam calling a C program from a Unix shell script. The (C) program reads encrypted username/password from a text file , decrypts and returns the decrypted string.
Is there any way i can return the decrypted string to Unix shell program.
My shell script uses the output of the program to... (11 Replies)
Discussion started by: satguyz
11 Replies
2. UNIX for Advanced & Expert Users
Hi all,
In my application i am trying to select some text & then give it to print. for this i am opening a stream using popen & then later closing using pclose.
Now this is working fine in my environment (solaris) but the pclose function is failing at my clients m/c. Even though print is... (3 Replies)
Discussion started by: nimishm123
3 Replies
3. Programming
Hi,
I'm having a requirement where I need to call a C program from a shell script and return the value from the C program to shell script.
I refered a thread in this forum. But using that command in the code, it is throwing an error
clear_text_password=$(get_password)
Error: bash:... (24 Replies)
Discussion started by: venkatesh_sasi
24 Replies
4. Shell Programming and Scripting
Hi all,
I am very new to BASH shell programming. I need to return an integer from a function to the caller function. I did this:
but it keeps giving me wrong return:
Can someone help me out here, please?
Thanks (2 Replies)
Discussion started by: alirezan
2 Replies
5. Red Hat
Hi
Need some help, bit of a noobie here.
This command work perfectly with unix. returns a value of 1 which is what i want.
ps -eo user,comm |grep -v grep |grep -c /path to file
When i run the same command on a linux server it returns a value of 0.,
something maybe wrong with the command.... (4 Replies)
Discussion started by: wneutt
4 Replies
6. Shell Programming and Scripting
i have an oracle function which returns two values, one is the error message if the function encounters anything and another one which returns a number
i need to capture both
and pass it on to unix shell script
how to do it (2 Replies)
Discussion started by: trichyselva
2 Replies
7. Shell Programming and Scripting
Dear Friends,
I need your help once more.
I want to write a simple select as follows
select amount from books
where sr=1234
However, if value of "Amount" is negative then it should print it as follows.
"3000-" and not as "-3000"
Can you help me in this?
Waiting for reply
Anu. (2 Replies)
Discussion started by: anushree.a
2 Replies
8. Shell Programming and Scripting
Hi All,
My program flow is as below
Windows batch -- > Cygwin batch --> zsh script
There are multiple Cygwin batch scripts that are called from Windows batch file . But when i am executing the first cygwin batch script the control goes to the zsh file and executes and stoping from... (1 Reply)
Discussion started by: Hypesslearner
1 Replies
9. Shell Programming and Scripting
Hello All,
I have a UNIX script which will prepare anonymous oracle pl/sql block in a temporary file in run time and passes this file to sqlplus as given below.
cat > $v_Input_File 2>>$v_Log << EOF
BEGIN
EXECUTE IMMEDIATE 'ALTER SESSION FORCE PARALLEL DML PARALLEL 16';
EXECUTE... (1 Reply)
Discussion started by: vikas_trl
1 Replies
10. Shell Programming and Scripting
Hello All,
I have exactly same issue @vikas_trl had in following link:
https://www.unix.com/shell-programming-and-scripting/259854-control-not-returning-sqlplus-calling-unix-shell-script.html
I wonder if he or somebody else could find the issue's cause or the solution.
Any help would... (4 Replies)
Discussion started by: RicardoQ
4 Replies
LEARN ABOUT DEBIAN
uml_switch
UML_SWITCH(1) General Commands Manual UML_SWITCH(1)
NAME
uml_switch -- switch daemon for user-mode Linux
SYNOPSIS
uml_switch [-unix control_socket data_socket] [-hub] [-tap tun device] [-compat-v0] [-daemon]
DESCRIPTION
This manual page documents briefly the uml_switch program.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
uml_switch is a daemon for managing a virtual network between user-mode Linux systems, with no connection to the host system's network.
It will listen for connections on a pair of UNIX domain sockets, and forward packets between clients which connect to them.
OPTIONS
-unix control_socket data_socket
Listen on the specified pair of sockets, instead of the defaults.
-hub Act like a hub. This means that packets received will be broadcast over all virtual links. The default is to act as a switch,
where packets are only sent to the link matching the destination MAC address of the packet.
-tap tap device
Connect the switch to a dynamically created tap device on the host
-compat-v0
Specify control protocol version 0 compatibility.
-daemon Run in the background as a daemon.
SEE ALSO
linux(1)
The UserModeLinux-HOWTO (link to URL http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO.html)
AUTHOR
uml_switch was written by Jeff Dike and others.
This manual page was written by Matt Zimmerman mdz@debian.org for the Debian GNU/Linux system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later
version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
UML_SWITCH(1)