Hi,
Can someone help me with a shell script, here is the requirement...
I had one text file (new.txt) and it contains
rows:832
columns:832
layers:1
xres:
yres:
zres:0.5
mrows:12
mcolumns:17
mrowres:700
mcolumnres:700
sections:150
sectionres:100
channels:1 (4 Replies)
I have the following code. I want to remove the --sort=num/num/... and am
using grep to exclude it as shown below:
I have a bit of problem figuring out the use of - at the front
echo "--sort=4/5/6" | grep -ivE '-((sort|group)=+/+(/+)*)$'
Now suppose I want to remove --quiet
I can... (7 Replies)
Hi,
I have installed RHEL5 as a new build and need get it to resolve to the internet. At the moment I get following:
# dig www.google.com
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> www.google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status:... (9 Replies)
Hi Guys!
What does this do?
if ]
what does -n option do here? I can't find the explanation using man test.
Thanks in advance!
Please view this code tag video for how to use code tags when posting code and data. (2 Replies)
Solaris 5.8, ksh
I need to open everyone's favorite editor, vi of course, with a command that will place me on a search string at the time of invocation:
Given this data file:
user1 pts/1 Aug 29 13:22 (10.12.214.101)
user2 pts/2 Aug 29 09:56 (10.12.212.132)
user3 pts/3 ... (4 Replies)
Hi,
I am trying to authenticate AIX server against a IDS LDAP instance.
The AIX version is 6.1 and TDS client is 6.1.
I configured the secldapclntd using ldap.cfg file and changed /etc/security/user to set SYSTEM=LDAP, registry=LDAP for one user. Below are the ldap.cfg configurations -
... (5 Replies)
I have the following text file and want to change the paragraphs so that
they fill 80 characters rather than the usual 65 in this case. Is there an easy way to do this?
All three groups were distinguished by the remarkable
manner in which they moved about on the solar surface, not
only in... (7 Replies)
Whenever I run manual page on a command I get information about arguments, syntax and so on. However, I wounder if that information is valid only for a certain shell and if yes, then for which one?
In other words, would I have different man outputs for csh, ksh, bash and others?
Thanks (7 Replies)
Hi, I have written a script that allows me to repetitively play a music file $N times, which is specified through user input. However, if I want to exit the script before it has finished looping $N times, if I use CTRL+c, I have to CTRL+c however many times are left in order to complete the loop.... (9 Replies)
I am from MQ/MB technology. My requirement is to display the queue manger and broker status on daily basis.
If I manually run the script, it works fine and displays output. But when I have scheduled the same using cronjobs it shows only the queue manger status and not the broker status.
Can... (3 Replies)
Long story short, I have everything working in my SOHO which would include Postfix,Dovecot(imap),Roundcube,bind and is ready to recieve email from the outside using this tutorial:
https://workaround.org/ispmail/wheezy
I also setup my internal DNS server using:
https://wiki.debian.org/Bind9... (2 Replies)
Hi ,
I have prepared the following shell script to run the hqls in background.
These scripts are running Parallel but I want to run the hqls sequentially in background.
cat >cc_script.ksh
nohup hive -hiveconf rrdt=2016-06-12 -f /home/files/cust1.hql > home/log/cust1.log 2>&1 &
nohup hive... (6 Replies)
Hi all...
(This is Don's domain.)
I have come across an anomaly in sh and dash compared to bash.
It involves echoing a character set to a file in sh and dash compared to bash.
It is probably easier to show the code and results first.
#!/usr/local/bin/dash
#!/bin/sh
#!/bin/bash
echo... (4 Replies)