Search Results

Search: Posts Made By: Nathe
1,467
Posted By Nathe
I think that you don't get what I want to do. ...
I think that you don't get what I want to do.
In fact I need for 4 levels of right. They should be named: user / group / master_group / others and I want that they have the right: 7750.

How can I...
1,467
Posted By Nathe
Protectiong data
I need for your help !!
In our big team, working under UNIX, we have some UNIX groups.
I want that, for a project name (for example unix account= prj0, group= prj0_access and team1_access)
+ the...
9,589
Posted By Nathe
Thanks, but in fact I want to source a file which...
Thanks, but in fact I want to source a file which has some arguments.

I want to do:

source myfile arg1 arg2

and in myfile:

set var1=$arg1
9,589
Posted By Nathe
arguments in sourcing file
Hello !

I want to make a script like that.

#!/bin/csh -f

setenv toto me
setenv titi you
setenv tata $1

in which tata is visible outside the script, after sourcing this script.

It...
5
12,810
Posted By Nathe
Well, I think you are right... I try to write a...
Well, I think you are right... I try to write a csh script. I don't know why I have the TCL notice for expr instead of sh one. I work in a standard cmdtool window...

Thank you
Nathe
5
12,810
Posted By Nathe
but when I read the man of expr, it's written: ...
but when I read the man of expr, it's written:
DESCRIPTION
Concatenates arg's (adding separator spaces between them),
evaluates the result as a Tcl expression, and returns the
...
5
12,810
Posted By Nathe
expr
Hello!

I want to evaluate some mathematical expressions in a script and I try to use 'expr' command.
Unfortunatally, when I have, for example,
expr 8.2 + 6
the result is 'expr: non-numeric...
21,646
Posted By Nathe
Goog trick !! Thanks !!
Goog trick !!
Thanks !!
21,646
Posted By Nathe
I ask my local support but I have no reply... ...
I ask my local support but I have no reply...

I've made a script which do the copy and then the remove of directories of the project account. I works well. I just have to launch it one or two...
21,646
Posted By Nathe
I see that you don't get what I want to do......
I see that you don't get what I want to do... sorry for my expression in english !!

My project TOTO have a primary group B and a secondary group A
My account have a primary group A and a...
21,646
Posted By Nathe
Yes, you said that the command is obsolete but I...
Yes, you said that the command is obsolete but I don't know haw to do what I want !!

To secure the account of my project we create a 'subroup'. So, everybody in the team belongs to group A but few...
21,646
Posted By Nathe
Yes, my code is: #! /bin/csh set...
Yes, my code is:

#! /bin/csh

set PATH_CPT = `pwd`;
set PRJ = '/home/myproject/'
echo "Changement de groupe UNIX touareg"
newgrp my_project &
## creation of the ANABE_CFG directory
if !(...
21,646
Posted By Nathe
newgrp in a script
I want to do these commands in a script:
if the user name is 'toto' then the user switch to the group toto_group and then 2 others scripts are launched.
Unfortunately, after the command 'newgrp'...
9,916
Posted By Nathe
In fact, to work on several project, in a same...
In fact, to work on several project, in a same UNIX group, we make sub-group. If we change the project we were working on, we have to change the group, so we use for exple: newgroup my-project.
I...
9,916
Posted By Nathe
newgrp command
I'd like to make an alias of commands which contains the command newgrp.
exple:
alias my_cmde newgrp toto; my_pg &

this line doesn't work. why ?
Thanks for your help
Showing results 1 to 15 of 15

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