9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
When looking for wherever a program or a filename appears in the system, a short scrip is "findinner" which another script calls with a long parameter list consisting of path names ending with ".sh" or ".menu". "findinner" looks like this:
# If not .savenn file, show name and result of grep.
#... (4 Replies)
Discussion started by: wbport
4 Replies
2. AIX
Does anyone know how to find the Worl Wide Name (WWN) on a IBM flex system ? (4 Replies)
Discussion started by: Tharsan
4 Replies
3. Shell Programming and Scripting
Hi Gurus,
I have some weird issue. when using
ls -l
the result shows different time format:
-rw-r--r-- 1 abc gourp1 3032605576 Jun 14 2013 abc
-rw-rw-r-- 1 abc gourp1 1689948832 Aug 10 06:22 abc
one display 2013 which is year; another one displays 06:22 which is time.
... (4 Replies)
Discussion started by: ken6503
4 Replies
4. Shell Programming and Scripting
Below is a sample out of ls -l which I would like to rearrange or modify by field numbers for example I successfully managed to disect using simple paragraph however for ls -l I can't divide the rows or fields by field number.
Successful modification by fields using SED sample:
$ sed -e... (1 Reply)
Discussion started by: wolf@=NK
1 Replies
5. Shell Programming and Scripting
Hi,
I want to validate if the given input is a valid month (written in long month format)
Jan / Feb / Mar / Apr / May / Jun etc etc
This is what I've got with || (or statements):
#!/usr/bin/ksh
INPUT_DATE=$1
FORMATTED_DATE=`date | cut -f2 -d' '`
#If there's no input use the... (1 Reply)
Discussion started by: Batsies
1 Replies
6. UNIX for Dummies Questions & Answers
what would be the best way to phyisically connect a series of computerised bus stops to a central computer in a city-wide network?? (3 Replies)
Discussion started by: spitfireuk1
3 Replies
7. UNIX for Dummies Questions & Answers
Hi Experts,
It may be a trivial thing, but I am stuck. Whenver I try to open a file using vi I get error Terminal Too wide.
I am using putty to connect to a Sun OS.
Please advice.
bash-2.05$ vi all_subs_ded_20080203.txt
Terminal too wide
:q
1 more file to edit:q (3 Replies)
Discussion started by: RishiPahuja
3 Replies
8. Shell Programming and Scripting
The purpose of those comands are to find the newest file in a directory acvrdind to system date, and it has to be recursively found in each directory.
The problem is that i want to list in a long format every found file, but the commands i use produce unexpected results ,so the output lists in a... (5 Replies)
Discussion started by: alexcol
5 Replies
9. Shell Programming and Scripting
Hello everbody,
I've a list of logfiles (transfer1.log, transfer2.log, ... transfer168.log.) Each of these was created at the end of the actual month and I've to write a script to calculate the utilisation ratio of the actual month of the system.
I don't want to scan every logfile, so I've to... (1 Reply)
Discussion started by: rofflox
1 Replies