Search Results

Search: Posts Made By: pelle
1,088
Posted By pelle
thanks a million for the fast answer , works like...
thanks a million for the fast answer , works like a charm
1,088
Posted By pelle
Call input from file
Hi I want to do a while loop script that get the info from a txt file. The loop should call a txt file whit ip numbers and working through the list start at top. If the ip number has the telnetport...
3,669
Posted By pelle
if pid exist ?
Hi I need help to whit a script that start a program if a nother program is started first .
I thought something like this .


if [ "ps aux | grep program1" is bigger than 0 ] then start program 2...
5,789
Posted By pelle
say that now I can chose from 1-30 , but the...
say that now I can chose from 1-30 , but the script have a search function and the number to chose from the list depends of what you search.

---------- Post updated at 08:09 AM ---------- Previous...
5,789
Posted By pelle
Thanks a million for all the answers it solved my...
Thanks a million for all the answers it solved my problem :)

---------- Post updated at 07:19 AM ---------- Previous update was at 07:15 AM ----------

But how to do if the list differs in...
5,789
Posted By pelle
You mean something like this ? Function...
You mean something like this ?


Function ()
{
echo "chose a number to download"
read i;
case $i in
1) head -1 ~/test3 | tail -1 > ~/test4;;
2) head...
5,789
Posted By pelle
calling function with case
Hi I making a shell script and have some problem to start a function.


echo "chose a number to download"
read i;
case $i in
1) head -1 ~/test3 | tail -1 > ~/test4;;...
5,449
Posted By pelle
Are this user a member of the group video? ...
Are this user a member of the group video?
Have this user delete some files in the home dir ex .Xauthority
32,477
Posted By pelle
Thanks for all answers I did go whit joeyg...
Thanks for all answers I did go whit joeyg solution it's easiest as the output file keep growing sorry I didn't mention that.
32,477
Posted By pelle
thanks a million for the answers and quick reply
thanks a million for the answers and quick reply
32,477
Posted By pelle
cut the second line in a text file
Hi I have some problem to cut out the second line in a output file and send to a new file it's a #!/bin/bash script


1 something
2 something
3 something

and after I cut

1 something...
3,132
Posted By pelle
Thanks a million :b:
Thanks a million :b:
3,132
Posted By pelle
Remove special char from end of the file
Hi I am working on a bash script and would know how to use cut or sed to remove
(F/.M/d h) from a text file.

Before
1 text to save (F/.M/d h)

after
1 text to save

Thanks in advance
Showing results 1 to 13 of 13

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