10-10-2019
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in
this forum under
special homework rules.
Please review the
rules, which you agreed to when you registered, if you have not already done so.
More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.
If you did post homework in the main forums, please review the
guidelines for posting homework and repost.
Thank You.
The UNIX and Linux Forums.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Everyone,
I am wondering how to create a Random Password of 8 characters for a user. It has to be run in a script.
Also, The user have to be asked to change his/her password the first time they login.
I tried using genPass but seems like my system doesn't support that command.
For... (1 Reply)
Discussion started by: bashirpopal
1 Replies
2. Programming
can any one tell me how to create integer random no between 10 to 40 in C language.When i m using random() or rand() functions they r creting some
long int which is not required (5 Replies)
Discussion started by: useless79
5 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a file where all the lines are sorted and uniq.
A part of it looks like
AAL
AAR
ABC
ABE
ABJ
ABQ
ABV
ABZ
ACC
ACE
ADA
ADB
ADD
ADL
AES (3 Replies)
Discussion started by: sickboy
3 Replies
4. Shell Programming and Scripting
Hi I have 100 files in my directory.
Please help me how to do in Unix or any other scriptin lanuages.
I want to replace all occurances of "goutham" to goutham_ind ONLY if the file contains the word "goutham" with the word "engineer";
for eg----test1 is a file contains the following inf;
goutham... (6 Replies)
Discussion started by: nandugo1
6 Replies
5. Shell Programming and Scripting
Hello folks,
i have number for example 10 and i want to divide into 4 random pieces that may be (6+2+1+1). How can i do this via script i have random number 234951 and i want to divide into 31 pieces. (6 Replies)
Discussion started by: learnbash
6 Replies
6. UNIX for Dummies Questions & Answers
Hi there folks,
for an exercise for my pupils (you know i am always thinking of them!) i need to randomly re-arrange the words (blank space separated) in a sentence (a line in a textfile). Any inspiration??
Txk so much. (9 Replies)
Discussion started by: eldeingles
9 Replies
7. Shell Programming and Scripting
Hi,
I'm trying to create a script that will print random numbers with length of three.
Below is the expected out.
928-377-899
942-458-310
951-948-511
962-681-415
995-161-708
997-997-209
thanks (4 Replies)
Discussion started by: reignangel2003
4 Replies
8. Programming
How can I choose randomly the row numbers of my file in awk? (4 Replies)
Discussion started by: Homa
4 Replies
9. Shell Programming and Scripting
Hi ,
I need to count the number of errors associated with the two words occurring in the file. It's about counting the occurrences of the word "error" for where is the word "index.js". As such the command should look like. Please kindly help. I was trying: grep "error" log.txt | wc -l (1 Reply)
Discussion started by: jmarx
1 Replies
10. Shell Programming and Scripting
I have 2 files
$ cat tmp
A1 File1a B1 File1b
A2 File2a B2 File2b
A1 File1a B3 File3b
and
$ cat tmp1
A1/B1 File3
A1/B1 File4
A1/B1 File5
A1/B1 File6
A1/B1 File7
A2/B2 File8
A2/B2 File9
A2/B2 File10 (1 Reply)
Discussion started by: senhia83
1 Replies
LEARN ABOUT DEBIAN
io::all::https
IO::All::HTTPS(3pm) User Contributed Perl Documentation IO::All::HTTPS(3pm)
NAME
IO::All::HTTPS - Extends IO::All for HTTPS URLs
SYNOPSIS
use IO::All;
$content < io('https://example.org'); # GET webpage
# two ways of getting a page with a password:
$content < io('https://me:secret@example.org');
$content < io('https://example.org')->user('me')->password('secret');
DESCRIPTION
This module extends IO::All for dealing with HTTPS URLs. Note that you don't need to use it explicitly, as it is autoloaded by IO::All
whenever it sees something that looks like an HTTPS URL.
The SYNOPSIS shows some simple typical examples, but there are many other interesting combinations with other IO::All features! For
example, you can get an HTTPS URL and write the content to a socket, or to an FTP URL, of to a DBM file.
METHODS
This is a subclass of IO::All::LWP. The only new method is "https", which can be used to create a blank IO::All::HTTPS object; or it can
also take an HTTPS URL as a parameter. Note that in most cases it is simpler just to call io('https://example.com'), which calls the
"https" method automatically.
OPERATOR OVERLOADING
The same operators from IO::All may be used. < GETs an HTTPS URL; > PUTs to an HTTPS URL.
SEE ALSO
IO::All, IO::All::LWP, LWP.
AUTHORS
Ivan Tubert-Brohman <itub@cpan.org> and Brian Ingerson <ingy@cpan.org>
COPYRIGHT
Copyright (c) 2007. Ivan Tubert-Brohman and Brian Ingerson. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.10.0 2007-03-29 IO::All::HTTPS(3pm)