04-28-2013
Quote:
are these to ways of referencing the file test.sh totally equivalent?
For testing file rights, the two ways are totally equivalent.
For running the program, they are not equivalent.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Just curious in Unix BSD lpr customer would result in the printing of the file customers to a printer but I also came across this command pr| customer| lpr which suppose to prepare the file by formatting before printing. My question is what type of formatting is done to the file for example what... (1 Reply)
Discussion started by: wmosley2
1 Replies
2. SuSE
Hello, I am running a Suse Linux server and I want to set up a NFS Server for a few Unix machines. For the root account at the unix client it works fine but it doesn't work for other users who have no root rights.
I've used the no_root_squash and the rw option in the etc/export file. My folder... (7 Replies)
Discussion started by: Ald-Edv
7 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file?
And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I want to execute a customised process like rating engine using a shell script from a directory other than the directory where the customizes process is placed.
I have tried it in the following way...and faced a issue
when shell script is available in directory /dir1/ and customized... (1 Reply)
Discussion started by: vkishore.btw
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
The file system unix use a multilevel indexes access to disk, 12 direct blocks, 1 single indirect block, 1 double indirect block, 1 triple indirect block:
Assuming a:
block = 512 bytes,
pointer = 4 byte,
and there is a file of 200 blocks,
how many disk access is needed to read the block... (1 Reply)
Discussion started by: blob84
1 Replies
6. Solaris
I'm trying to install OpenOffice on Solaris 11 but when I click on the setup icon I get an error message telling me that I need to have admin rights.
I've tried logging on as SU or ROOT but cannot. I don't see how to grant myself admin rights. How is it done ?
I know there are many many... (7 Replies)
Discussion started by: stansaraczewski
7 Replies
7. Shell Programming and Scripting
good evening .. I have a plea, who I can help me with a management application user rights on the files in a Unix / Linux
I need for college .. .. and not told us no clue .. thank you (1 Reply)
Discussion started by: alex90
1 Replies
8. Shell Programming and Scripting
Hello,
i'm trying to write a script sh to convert the rights of a folder or file in a number.
Explain:
ls -l = rwxrwxrwx
so i must display 777.
Do you known where i can find so convert script
Thanks
Use code tags, thanks. (11 Replies)
Discussion started by: steiner
11 Replies
LEARN ABOUT DEBIAN
group_tool
GROUP_TOOL(8) cluster GROUP_TOOL(8)
NAME
group_tool - run common fence_tool, dlm_tool, gfs_control commands
SYNOPSIS
group_tool [COMMAND] [OPTIONS]
DESCRIPTION
This utility is deprecated and the new replacements are shown. See fence_tool(8), dlm_tool(8), gfs_control(8) man pages for more informa-
tion about the new commands.
ls runs fence_tool ls ; dlm_tool ls ; gfs_control ls
dump fence
equivalent to new fence_tool dump
dump dlm
equivalent to new dlm_tool dump
dump gfs
equivalent to new gfs_control dump
dump plocks name
equivalent to new dlm_tool plocks name
Cluster Uprading
When performing a rolling upgrade from cluster2 to cluster3, the groupd(8) daemon will be running and group_tool can be used with groupd
like it was in cluster2.
ls -g1 queries and displays the internal groupd state.
dump queries and dumps the groupd debug buffer.
compat queries and displays the internal groupd compatibility mode.
OPTIONS
-g num Force old groupd queries with 1.
-n Show all node information in ls.
-v Show verbose information from groupd with ls -g1.
-h Print a help message describing available options, then exit.
-V Print program version information, then exit.
SEE ALSO
cman(5), groupd(8), fence_tool(8), dlm_tool(8), gfs_control(8)
cluster 2009-01-19 GROUP_TOOL(8)