9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everyone,
I need little help in shell operations from C++ program.
Here I furnish the details of problem:
1. Lets say my current working path is myWorkingPath.
2. In my working path I have list of name directories and each name directory has two more sub directories say A/B.
(now path to... (5 Replies)
Discussion started by: linuxUser_
5 Replies
2. Shell Programming and Scripting
hi i am having a acript for which i need to skip the execution of some lines and to continue with remaining lines for eg
script.sh
rm text
for i in *
do
.
.
.
.
.
if
then
rm
i want to skip the execution of the lines and to start with (11 Replies)
Discussion started by: rohit_shinez
11 Replies
3. Shell Programming and Scripting
i am having a varialbe a , which is input to my file
i want to multiply this input with value .43, and assign it to variable b.
i tried it as below:
#!/bin/sh
a=$1
b=`expr $1\*0.43`
echo b=$b
error : expr: non-integer argument
Please tell me , how to do this.
Thanks (10 Replies)
Discussion started by: rishifrnds
10 Replies
4. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
5. Shell Programming and Scripting
Hi ,
I have a file myhost.txt which contains below,
127.0.0.1 localhost
1.17.1.5 atrpx958
11.17.10.11 atrpx958zone nsybhost
I need to append words only after "atrpx958" like 'myhost' and 'libhost' and not after atrpx958zone.
How to search the word atrpx958(which is hostname) only,... (5 Replies)
Discussion started by: gsreeni
5 Replies
6. Programming
Hi
I need to save the actual cursor position into variable in my script.
How can I do it ?
thx for help. (1 Reply)
Discussion started by: presul
1 Replies
7. Programming
Hi,
i have been developing a shell script to transfer a set of files from one ubuntu system to another.
Task: while executing the script the files ( ls, dir, cat) in the source machine should transfer to destination machine(at /home/mac/mac/bin)
While the script is executed once again, It... (0 Replies)
Discussion started by: srijith
0 Replies
8. Shell Programming and Scripting
Hey everyone. So the background of the problem is that the ps3 does not support the mkv container, but DOES support the avi one. Here is the script to convert one file with the name hardcoded in:
#!/bin/sh
mencoder -oac... (2 Replies)
Discussion started by: wua05
2 Replies
9. Shell Programming and Scripting
Hi,
I want to compare two files. Files will look like as follows:
file1:
ASDFGHJU|1234567890123456
QWERTYUI|3456789098900890
file2:
ZXCVBVNM|0987654321234567
POLKIJUYH|1234789060985478
output file should be:
ASDFGHJU|1234567890123456
QWERTYUI|3456789098900890
Thnaks in advance (6 Replies)
Discussion started by: nivas
6 Replies