10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi folks,
I am fairly a beginner when it comes to Solaris OS administration, but part of my job somehow has scope to provide L1-level of OS administration over a few solaris servers.
Now, we have a requirement to limit the number of simultaneous ssh logins/sessions to the server, sort of... (0 Replies)
Discussion started by: engrcha
0 Replies
2. Shell Programming and Scripting
Hello Gurus,
I have a multiple pipe separated files which have records going over multiple Lines. End of line separator is \n and records going over multiple lines have <CR> as separator. below is example from one file.
1|ABC DEF|100|10
2|PQ
RS
T|200|20
3| UVWXYZ|300|30
4| GHIJKL|400|40... (7 Replies)
Discussion started by: dJHa
7 Replies
3. Shell Programming and Scripting
Hello,
I have a file with below content - Example
3
6
69
139
210
345
395
418
490
492
I would like the result as - Multiple of 70 or nearest number in the file less than the multiple of 70
69
139 (5 Replies)
Discussion started by: Mannu2525
5 Replies
4. Shell Programming and Scripting
Hi,
input file1
abcd 123 198 xyz1:0909090-0909091
ghij 234 999 xyz2:987654:987655
kilo 7890 7990 xyz3:12345-12357
prem 9 112 xyz5:97-1134
input file2
abcd 123 198 xyz1:0909090-0909091 -9.122 0
abed 88 98 xyz1:98989-090808 -1.234 1.345
ghij 234 999 xyz2:987654:987655 -10.87090909 5... (5 Replies)
Discussion started by: jacobs.smith
5 Replies
5. Shell Programming and Scripting
Hi,
I the following sample of out put:
+ 6.07875 10 0 cbr 210 ------- 2 10.0 2.3 1461 19715
- 6.07875 10 0 cbr 210 ------- 2 10.0 2.3 1461 19715
+ 6.07875 22 0 cbr 210 ------- 2 22.0 2.9 1301 19716
- 6.07875 22 0 cbr 210 ------- 2 22.0 2.9 1301 19716
r 6.07922 0 1 cbr 210 ------- 1 30.0... (6 Replies)
Discussion started by: ENG_MOHD
6 Replies
6. UNIX for Dummies Questions & Answers
Friends ,
Can u tel me how can i have done multiple addition using shell script ?
Expected Output can be :
1
4
6
---------
Total - 11 (4 Replies)
Discussion started by: meetsubhas
4 Replies
7. Shell Programming and Scripting
Hello all,
First of all, I could not made up a nice title what explains my problem in short,sorry for that already.
I have the next file which contains the following,
CREATE:ENTRY:\
DNAME,"referenceId=sondakika30,referenceId=User1,\
referenceId=Company,\
... (2 Replies)
Discussion started by: sondakika
2 Replies
8. Shell Programming and Scripting
I get the point of number subtraction in one column
awk 'NR==1 {n=$1; next}; {n-=$1} END {print n}' inputfile
but I cannot figure it out how to do this to multiple
columns.
awkward. (6 Replies)
Discussion started by: awkward
6 Replies
9. Shell Programming and Scripting
Let's say I am trying to find out how many times someone has logged into the machine. Use last to display all the different logins, several names pop up, some multiple times. All I have been able to figure out is the total number of logins, but I can't determine how to compare if $1(user name) is... (3 Replies)
Discussion started by: TiznaraN
3 Replies
10. Shell Programming and Scripting
Not sure how to type this but here it goes . We want to set up auto logins for mutiple 'Nix boxes.
OK here's the deal:
we want to have a 'Nix box that stores a passwd in a variable, then we want other systems to look at that variable and auto login.
Example scripts would be helpful!!! ... (1 Reply)
Discussion started by: Bodhi
1 Replies