10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have files named with different prefixes. From each I want to extract the first line containing a specific string, and then print that line along with the prefix.
I've tried to do this with a while loop, but instead of printing the prefix I print the first line of the file twice.
Files:... (3 Replies)
Discussion started by: pathunkathunk
3 Replies
2. Shell Programming and Scripting
I am attempting to grep an exact string from a series of files within a directory and append that output to the filename when it is present in the file. I've been after this all day with no luck. Thanks for your help in advance :wall:. (4 Replies)
Discussion started by: JC_1
4 Replies
3. UNIX for Advanced & Expert Users
Hi all
Thanks in advance...........
Please help me for this issue............
I have a file it has 11 records . I used the command like ....
>$ wc -l file
11 file
I'm getting output like 11 file (no.of records along with filename)
here my requirement is, I want to display only... (3 Replies)
Discussion started by: ksrivani
3 Replies
4. OS X (Apple)
My first post :)
I deleted all the files within /system/library/startupitems to the trash bin. Now my mac snow leopard won't boot at all. All I got is the gray screen, apple logo and the spinning wheel...just spinning forever. I was able to boot in single-user mode. I'm trying to copy cp command... (14 Replies)
Discussion started by: haxum
14 Replies
5. Shell Programming and Scripting
Dear all,
Now I have a bunch of files need to be renamed. For instance, I have ten files in a folder with a name 'olefin', and I would like to change all the ten files name into 'olefin01,olefin02,...,olefin10'. I suppose it can be done with the command 'pwd'. However, the command 'pwd' will... (7 Replies)
Discussion started by: liuzhencc
7 Replies
6. SCO
After System power get failed
File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies
7. Shell Programming and Scripting
Hi:
I have a collection of mp3s and I need to create 1 xml file per mp3.
I have:
recording1.mp3
recording2.mp3
etc
and I want to generate this kind of files.
recording1.xml
recording2.xml
and inside each xml file I need to add a url prefix and then the filename at the end.
... (4 Replies)
Discussion started by: jason7
4 Replies
8. Solaris
Hi All,
Good Mng,Here I am getting one error while adding the top package to one of my Aun server.
root@HYDREM01 # pkgadd -d top-3.6.1-sol9-sparc-local
The following packages are available:
1 SMCtop top
(sparc) 3.6.1
Select package(s) you wish to process (or... (6 Replies)
Discussion started by: lbreddy
6 Replies
9. UNIX for Dummies Questions & Answers
Why unix system V has a filename size limit of 14 characters.How other versions of Unix got around this problem.Can anybody help? (7 Replies)
Discussion started by: admirer
7 Replies
10. UNIX for Advanced & Expert Users
Hello.. I'm making a pkg file that inserts a few files into an existing directory structure.
I'm having some trouble in that the package will insert the directories I need.. but will fail to put the files I want into those directories.
What I'm getting is this:
ERROR: attribute... (2 Replies)
Discussion started by: Bags
2 Replies