Search Results

Search: Posts Made By: malaysoul
2,622
Posted By malaysoul
display unique number
Hi,

how i can display all the unique number from my random number script below;


#!/usr/bin/perl
use strict;

my @alphanum = ( 'A' .. 'Z', 'a' .. 'z', 0 .. 9);
my $random = join('',...
7,087
Posted By malaysoul
how to remove first word
Hi,

i have a question about to remove first word from a sentence.

my script;

#!/usr/bin/perl

$msgtxt = "this is a test script";

my @ap_txtMsg = split(/ +/, trim_data($msgtxt));
...
1,653
Posted By malaysoul
Hi jacoden, Thank you. It work now. I also...
Hi jacoden,

Thank you. It work now. I also tried cfajohson script but got error about "-le". i will try it again.
1,653
Posted By malaysoul
message script
Hi All,

I tried to write simple script to push a message to my database server;

#!/bin/bash

txid=1

do
curl "http://10.11.1.100/message/push?Txid=${txid}&Message=This is test message"...
12,560
Posted By malaysoul
make directory script
Hi,

I try to write a script to create a new directory.

#!/bin/bash

echo "Please enter folder name (6 characters only) :"
read foldername
mkdir /home/user/$foldername
$foldername >>...
1,528
Posted By malaysoul
Add new data using script
Hi All,

I have a list of data in one file. For example, in the file test.lst, the data as below;

abcd
efgh
ijkl
mnop
qrst

Instead of using vi, how i can write a script if i want to add...
1,939
Posted By malaysoul
I'm still waiting the solution. Please help me to...
I'm still waiting the solution. Please help me to solve the problem. TQ!!

-malaysoul-
1,939
Posted By malaysoul
anyone can help me? Appreciated ur help. ...
anyone can help me?

Appreciated ur help.

-malaysoul-
1,939
Posted By malaysoul
wget question
Hi,

I need some guidance about wget. I am able to run the script as below;



which i have list of staff id in staffid.txt. But the problem is each staffid referred to the same txid ( in this...
30,789
Posted By malaysoul
yes..but if list of txid in a file, i.e...
yes..but if list of txid in a file, i.e txidlst.txt, how i can coding it? Appreciated you help.

Sorry i'm beginner in unix.
30,789
Posted By malaysoul
then how i can run the script if i want to change...
then how i can run the script if i want to change value of "txid" automatically?
30,789
Posted By malaysoul
Http request in Linux
Hi,

i need a guide how to write a script which i can do a http request. Let say the request look like below;

http://www.test.com?txid=1&type=service&server=linux

I have a list of "txid" (in...
Showing results 1 to 12 of 12

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