8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
If one:
$ find -name 'some expression' -type f > newfile
and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory.
I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies
2. UNIX for Advanced & Expert Users
Folks,
I am hoping someone out there can help me. I have been writing code for in-excess of 10 years. Throughout all this time I have used Xemacs. I have picked up bits of customizations here and there over the years, but would not profess to be anything of an expert in Lisp (or have a heavily... (3 Replies)
Discussion started by: petermc
3 Replies
3. Solaris
Hi all
I have created an alias for a running a script called script.sh as
alias utils="sh ~/script.sh".
Moreover i m using bash shell, even i have given the entry for alias in .profile in my home directory.I have given alias entry in crontab file as
30 12 * * * utils
... (1 Reply)
Discussion started by: naree
1 Replies
4. Shell Programming and Scripting
I am trying to extract two fields from the output of ifconfig command on one of my sun server . The output looks like :
root@e08k18:/tmp/test# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0:... (9 Replies)
Discussion started by: kpatel786
9 Replies
5. Shell Programming and Scripting
if i give dir=/tmp/${0##*/}
what would b the value stored in dir ..i'm more concerned about the 0##*/ part.. (1 Reply)
Discussion started by: suri
1 Replies
6. Programming
hi everyone
i have a problem in design as follows:
there is a structured file ,for example ,
field 1, field 2 .......
--------------
--------------
i read it into my memory ,there are some change in the memory
maybe add some record or change one field in an existing record.
i am going... (1 Reply)
Discussion started by: benbenpig
1 Replies
7. AIX
Hi All,
As i asked you in my previous post, I want to read username and lastupdate only from /etc/security/passwd and write the same data to another file:
The data in /etc/security/passwd will be in this form for example:
smith:
password = MGURSj.F056Dj
lastupdate = 623078865
flags =... (0 Replies)
Discussion started by: me_haroon
0 Replies
8. UNIX for Dummies Questions & Answers
How do you get an awk output into columns i.e.
awk (print $1,$2,$3) doesn't come out into nice columns but lots of lines of txt want something more like.
I am crap
at unix so
give me a
hand thx Rich (3 Replies)
Discussion started by: RichardB
3 Replies