Search Results

Search: Posts Made By: cyberfrog
1,196
Posted By cyberfrog
what if the 40.0.2214.94 can change, so I...
what if the
40.0.2214.94 can change, so I would want a list of the different version numbers?
1,196
Posted By cyberfrog
Grep for strings
Hi,

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.94 Safari/537.36

How can I grep for the strings chrome and safari from a file, and if...
34,800
Posted By cyberfrog
how do you input it into a field box in a web...
how do you input it into a field box in a web browser such as firefox, and then press search button?
34,800
Posted By cyberfrog
I want to do a loop for each line
I want to do a loop for each line
808
Posted By cyberfrog
How to input data from a file into a web browser search engine?
Hi,

I have a list of strings in a file on my terminal. I would like to input each line into a search engine and press the search button within a web browser. How can this be done? I am using...
34,800
Posted By cyberfrog
User Agents Identifier
Hi,

Can anyone help me write a script tp determine the web browser from a user agent. A user agent is stored in a file and consists of hundreds of lines e.g.

37050 Mozilla/5.0 (Windows NT...
20,471
Posted By cyberfrog
just tried it but still get the same message. ...
just tried it but still get the same message. its almost as if it doesn't like it when I don't input an argument?
20,471
Posted By cyberfrog
: unary operator expected
Hiya all,
Why do I get a :unary operator expected when I try to put a condition statement in my shell script (sh) like so and how to fix?

if [$1 = "mystring" ]; then

echo "say hello"
...
1,117
Posted By cyberfrog
Reg expressions
Hi,
I would like to grep for a string within a tag, can someone provide some assistance in how to do it? So I would like to use the grep command to find a string like:

<tag>sometext<tag>
...
1,514
Posted By cyberfrog
interesting points, yet I guess it leaves me...
interesting points, yet I guess it leaves me still with the same problem.

ummmm, may have to ask nicely to the admin person then
1,514
Posted By cyberfrog
Profile use
hey'all

does anyway know how I can make a script which resides in dir:

/mypath/a/b/c/d

available to other users without them having to set their environment to
...
8,362
Posted By cyberfrog
thanks pludi, perfect!
thanks pludi, perfect!
8,362
Posted By cyberfrog
temp files
Hi there,

As a regular unix user I am forever programming on the command line or writing scripts so that I first write a load of data to a file to read from. In the end I am always left with a...
16,131
Posted By cyberfrog
will try, the platform is HP-UX ----------...
will try, the platform is HP-UX

---------- Post updated at 03:04 AM ---------- Previous update was at 02:36 AM ----------

Its the HP Unix platform

Regards
16,131
Posted By cyberfrog
It supports sed but it seems to throw this...
It supports sed but it seems to throw this illegal message:

sed: illegal option -- i
Usage: sed [-n] [-e script] [-f source_file] [file...]
16,131
Posted By cyberfrog
Sorry not too familiar with SED commands so...
Sorry not too familiar with SED commands so breaking this down so I have tried this comamnd:

sed -e '1,$s/old string/new string/g' myfirstfileinloop.txt

now when I execute this it prints to the...
16,131
Posted By cyberfrog
Read and edit multiple files using a while loop
Hi all,
I would like to simply read a file which lists a number of pathnames and files, then search and replace key strings using a few vi commands:

:1,$s/search_str/replace_str/g<return>

...
2,103
Posted By cyberfrog
Launching shell scripts from different dirs
Hi,

General question, if I have a shell script whcih I launch from anywhere on the system vis the PATH env var, how can I get the script to echo where I launch this from?

i.e....
102,610
Posted By cyberfrog
cheers guys, nice back to basics reminder, yep...
cheers guys, nice back to basics reminder, yep it was being in a different shell the key!

---------- Post updated at 09:50 AM ---------- Previous update was at 04:22 AM ----------

Does anyone...
102,610
Posted By cyberfrog
I seem to get this error: /usr/bin/ksh:...
I seem to get this error:

/usr/bin/ksh: syntax error: '(' unexpected

?
102,610
Posted By cyberfrog
Simple list file ls to an array
Hi all,
Simple question, how can I simply create an array from listing the files in a directory i..e

myvar=`ls`;
echo $myvar gives a fulllist of files/ directories

how can I now convery...
Forum: HP-UX 06-14-2010
2,257
Posted By cyberfrog
So I guess even though I had set up a path on my...
So I guess even though I had set up a path on my own mad up variable this will never be searched for.

Thanks

---------- Post updated at 08:14 AM ---------- Previous update was at 08:10 AM...
Forum: HP-UX 06-14-2010
2,257
Posted By cyberfrog
Search environment variables for paths
Hi,

I am using the HP machine at the moment and by default I have been setup with the kron shell i.e. my home profile is .kshrc

I would like to access a program anywhere on the system so I...
Forum: HP-UX 06-14-2010
1,915
Posted By cyberfrog
Do you mean permissions in terms of: ...
Do you mean permissions in terms of:

dwrxwrxwrx for each directory?
Forum: HP-UX 06-11-2010
1,915
Posted By cyberfrog
Groups access
Hi all,

Can someone tell me how I can get around this problem. Basically I use the HP-UX OS and I work with 2 top level directories.

/z/group1

/z/group2

these 2 dirs are managed...
Showing results 1 to 25 of 49

 
All times are GMT -4. The time now is 05:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy