10 More Discussions You Might Find Interesting
1. Web Development
How can I get the name of the default output filename from curl using the argument -O?
Using -o one can choose a filename. I want to get the name of the original file, but don't understand how to get it.
curl -o filename http://www.website.com
curl -O http://www.website.com
The... (3 Replies)
Discussion started by: locoroco
anyone have any idea how do to this with auth_attr?
I suspect if I grant him
that will work but I'm unsure. Just looking for a second opinion. (10 Replies)
Discussion started by: os2mac
3. UNIX for Dummies Questions & Answers
I have a list
XPAR , ,
This has space and tabs on the second row. I would like it to look like
XPAR 1, 196, 95, 77
But I always get the below because of the spaces above.
, , ,1, 196 95 95,77
I use... (9 Replies)
Discussion started by: priyanka.premra
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
5. Shell Programming and Scripting
I am looking for a way to take the below contents ( small excerpt) of this file called PTR.csv
ptrrecord,0000002e0cc0.homeoffice.anfcorp.com,,10.11.191.62,,,False,22.214.171.124.in-addr.arpa,,302400,default... (6 Replies)
Discussion started by: richsark
6. Shell Programming and Scripting
Hello, here is my problem:
I have ma program in a first directory dir1:
file1.f90 file1.f90~ file1.o file2.f90 .... etc...
I have modified folder in an other directory:
file1_modified.f90 file2_modified.f90 .... etc...
All files from first... (8 Replies)
Discussion started by: shadok
I am new to this shell scripting , I wanted to modify the output of my find command such that it does not display the path but only file names , for example I am searching for the files which are modified in the last 24 hours which is
find /usr/monitor/text/ -type f -mtime... (3 Replies)
Discussion started by: raokl
8. Shell Programming and Scripting
how I can display a file with cat and printing the filename before each line.
file1:five (12 Replies)
Discussion started by: Timmää
9. Shell Programming and Scripting
I'm creating a shell script to dynamically create a recreate controlfile for an Oracle database. I need to read a cold backup file system, and make some changes to these files.
Let's say for argument sake the directory name is /ebsprod_c/oradata and it looks like this:... (6 Replies)
Discussion started by: exm
10. Shell Programming and Scripting
I want to set these params in /etc/system
if this param exists, then I want to modify them
if not, I want to add them.
I can add them using >>/etc/system
but how to do the modify thing?
at least I can comment the... (4 Replies)
Discussion started by: melanie_pfefer