10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
All,
I'm looking for some guidance on how to accomplish automating the addition of exports to an HA Pacemaker NFS cluster. I would like to do it in bash for logistics reasons.
The resource creation command looks like this:
pcs resource create nfs-b2b-hg-media-10.1 exportfs... (6 Replies)
Discussion started by: hburnswell
6 Replies
2. Shell Programming and Scripting
The purpose of enclosed script is to execute selected command and output success or failure in whiptail msgBox
Works as expected when command returns zero to msgBox.
I cannot figure out how to continue / automate my script when command expects reply to continue / terminate. I am doing it... (2 Replies)
Discussion started by: annacreek
2 Replies
3. Shell Programming and Scripting
How to run several bash commands put in bash command line without needing and requiring a script file.
Because I'm actually a windows guy and new here so for illustration is sort of :
$ bash "echo ${PATH} & echo have a nice day!"
will do output, for example:... (4 Replies)
Discussion started by: abdulbadii
4 Replies
4. UNIX for Beginners Questions & Answers
Hi, I just bought a new mac and have been running a program out of terminal, but even early on I noticed that my single quotes looked a lot different from the ones used in all of the namelists and other files of the program. Specifically, mine are kind of slanted whereas the others are very... (7 Replies)
Discussion started by: jtcastro99
7 Replies
5. Shell Programming and Scripting
Hello,
I have a bunch of jobs (cp, cat or ln -s) on big files (10xGB in size):
# commands_script.sh:
cp file1 path1/newfile1
cp file2 path1/newfile2
cp file3 path1/newfile3
......
cat file11 path2/file21 path1/newfile11
cat file12 path2/file22 path1/newfile12
cat file13 path2/file23... (5 Replies)
Discussion started by: yifangt
5 Replies
6. Shell Programming and Scripting
Say you got a for loop where each execution has 0 dependence on the other. Thus ideally you'd like to executed them all concurrently rather than iteratively (if you had enough CPUs). We don't quite have that many CPUs but I would like to instead partition the iterations between them.
Or maybe... (10 Replies)
Discussion started by: stevensw
10 Replies
7. Shell Programming and Scripting
Hello,
the bulk of my work is run by scripts. An example is as such:
#!/bin/bash
awk '{print first line}' Input.in > Intermediate.ter
awk '{print second line}' Input.in > Intermediate_2.ter
command Intermediate.ter Intermediate_2.ter > Output.out
It works the way I want it to, but it's not... (1 Reply)
Discussion started by: Leo_Boon
1 Replies
8. Solaris
Hi Experts,
In my system cluster is installed and the related files are inside /usr/cluster. I want to use the man page of command which are related to cluster.
The man pages related to cluster are inside /usr/cluster/man, however I am not sure how can I read the man page for command ... (4 Replies)
Discussion started by: kumarmani
4 Replies
9. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
10. Shell Programming and Scripting
Hello all!
I have two consoles.I know the PID of these two.Now I want to execute a command in console#1 but from console#2. How can I achieve this?
Anyone can do something for my query?
Click here if you can't understand my query or to know the need for this query. (3 Replies)
Discussion started by: rakabarp
3 Replies