Search Results

Search: Posts Made By: tomapam
3,772
Posted By tomapam
hi, maybe that can help : $ more...
hi,
maybe that can help :



$ more my_script
#!/usr/bin/ksh

cat $1 | while read LINE
do
case $LINE in
*[0-9])
echo $LINE>>/home/number
;;
*)
...
3,179
Posted By tomapam
Cut command problem !
Hi all!

Here is my problem :
$ more file
yougli:passwd:123456:3265:Yepa Yepo:/home/yougli:/bin/ksh


As you can see, in the field "information", there are two spaces between "Yepa" and...
5,962
Posted By tomapam
GREP Command with several arguments
Hi!

$ more file
yoyo haha lili
...

i want to test if a "grep yoyo AND lili" works in this file.
In fact, my script will carry on only if it finds in the same line "yoyo" AND "lili"...
2,287
Posted By tomapam
Sed command problem
Hi!

here is my problem :

$ more file
yopyop:FIToB8df02f:10200:351:yoyo:/home/yopyop:/usr/bin/ksh

$grep yopyop file | sed s/FIToB8df02f/passe/...
1
2,441
Posted By tomapam
grep
Hi,

i have to grep a parameter ($PARAM) that is preceded by either a ":" or a '," and followe by a "," or at the end of the line

grep "[:,]$PARAM[,\$]" doesnt work !!???
why?

please help
...
17,662
Posted By tomapam
tar command with compress option...
Hi !

i have to write a script that archivs homes not used since 3 years.
First, my script gathers the users that are concerned, using the following command :

ll -lt /home/*/.sh_history |...
3,563
Posted By tomapam
Do you know what commands to use for finding the...
Do you know what commands to use for finding the information you are looking for?

==> i guess i'll use edquota -p group1 group2 (to apply an existing quota grom group1 to group2....

First,...
4,826
Posted By tomapam
YYYYPPPPPIIIIIEE!! it works! thx a lot!
YYYYPPPPPIIIIIEE!!

it works!

thx a lot!
4,826
Posted By tomapam
paging a text file line by line?
Hi,

to write a script i need to use a command that list a text file line by line. For instance, i want to use a command like :

command -15 txt_file ==> i'll have the line number 15 of my text...
3,563
Posted By tomapam
Need help!! script for quotas
here is the file i must use to write my script (from a repquota -g) :

Group used soft grace ...

group1 -- 270000 0 0 ...
group2 -- 1500005 0 0 ...
62,394
Posted By tomapam
Thx very much...it works .
Thx very much...it works .
62,394
Posted By tomapam
using tar command to copy files?
hi,

can i use the tar command to copy an entire directory and its content in another folder?
What is the proper syntax?

thx
1,932
Posted By tomapam
thank you muchly
thank you muchly
1,932
Posted By tomapam
comparing files
Hi,

i have a long script saved in two different folders at a different date...these two savings are nearly identical but i would like to know what are the differences between them without having...
9,144
Posted By tomapam
msn messenger behind a firewall
hi
is there a way to use msn messenger behind a firewall that only allowed http (port 80)???
Maybe there is a patch or whatever...? i know that icq offers a "light version" to chat via http...
...
2,296
Posted By tomapam
copy syntax part2
hi again and thx for helping

My problem now is that i dont know how to copy files beginning by "." (for instance : .profile)
what syntax should i try?

thx
7,171
Posted By tomapam
copy syntax
Hi
How can i copy the whole content of a directory (containing FILES AND DIRECTORIES) in another...
thx
Showing results 1 to 17 of 17

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