04-25-2006
Quote:
Originally Posted by vgersh99
what are the possible inputs?
//dvrg12/usr/users/user_name/folder1/folder2/file_name
/dvrg12/usr/users/user_name/folder1/folder2/file_name
dvrg12/usr/users/user_name/folder1/folder2/file_name
Is there always going to be '/usr/users' in the path?
yes the '/usr/users' is always going to be the same but I think the solution above will work just as well and I will try it now.
Thanks.
D.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I make it so if someone types in "Manager" in the url box in their browser, it will bring them to the path /var/www/html/resourcedb/index.html?
its currently viewable by going to the serveripaddress/resourcedb/index.html, but I want it to be shorter so when you are connected to the... (2 Replies)
Discussion started by: Zombie
2 Replies
2. UNIX for Dummies Questions & Answers
Hello, I am the CEO of Grand Tech Corporation. We are launching Linux NT and forgive me, but I do not know how to strip binaries down in Mandriva Linux. Can someone tell me a way to?:b: (2 Replies)
Discussion started by: Linux NT
2 Replies
3. Ubuntu
Hi,
I can see a folder is mounted in my Ubuntu 8.04 machine through samba share. But, I could not find it out its actual location in the disk.
If I issue the command
sudo smbclient -L user
its listing the folder as 'sharename' and 'type' as disk
So, anyone help me how can I locate the... (0 Replies)
Discussion started by: royalibrahim
0 Replies
4. Shell Programming and Scripting
taus-itcapp1#powermt display dev=all
Pseudo name=emcpower0a
CLARiiON ID=APM00105201788
Logical device ID=60060160B2202B001094F0E0AF5CE011
state=alive; policy=CLAROpt; priority=0; queued-IOs=0;
Owner: default=SP A, current=SP A Array failover mode: 1
... (6 Replies)
Discussion started by: orafup
6 Replies
5. Shell Programming and Scripting
Need help
Please help on how to write a script which can echo timestamp, size of subdirectories in a specific path from multiple Linux servers to a text file.
I can ssh with a common user to all the servers from a build box.
Basic idea what I had was:
ssh <commonuser>@<each box>
cd... (1 Reply)
Discussion started by: sudhichadaga
1 Replies
6. Shell Programming and Scripting
Please help me to resolve below the issue in script
ssh user@server ' cd path;j=0; for i in *;do;d=`du -sh $i | \
awk '{print( $1 )}'`;p=$d'|'$i;j=`expr $j + 1 `;arr=$p;echo ${arr};done' (1 Reply)
Discussion started by: SAUD PASHA
1 Replies
7. Shell Programming and Scripting
I need to pull down a good bit of files for another support team for an upgrade project. I have a server.list with all of the server names.
I need to do two parts:
FIRST:
I have this example, but it does not list the server name in front of each line.
#! /bin/bash
for server in $(<... (10 Replies)
Discussion started by: asnatlas
10 Replies
8. Shell Programming and Scripting
i need to give permission to ORACLE SERVER to create a directory in a particular path.
How to do it?Oracle server is installed on SOLARIS (16 Replies)
Discussion started by: rafa_fed2
16 Replies
9. Shell Programming and Scripting
Hi,
I have a requirement to create below script:
Script must run infinitely in background.
It will check a particular type of file to be copied in specific folder of server
Script must wait till any file gets fully copied ..(important) and then
It will read that file
Experts please... (4 Replies)
Discussion started by: Vikash163
4 Replies
10. UNIX for Beginners Questions & Answers
Hi there,
Say I have Server A and B,
how do I configure A with path aaa/bbb/ccc
to be able to access by Server B with aaa/bbb/ccc/<content> (9 Replies)
Discussion started by: alvinoo
9 Replies
LEARN ABOUT CENTOS
alter_group
ALTER
GROUP(7) PostgreSQL 9.2.7 Documentation ALTER GROUP(7)
NAME
ALTER_GROUP - change role name or membership
SYNOPSIS
ALTER GROUP group_name ADD USER user_name [, ... ]
ALTER GROUP group_name DROP USER user_name [, ... ]
ALTER GROUP group_name RENAME TO new_name
DESCRIPTION
ALTER GROUP changes the attributes of a user group. This is an obsolete command, though still accepted for backwards compatibility, because
groups (and users too) have been superseded by the more general concept of roles.
The first two variants add users to a group or remove them from a group. (Any role can play the part of either a "user" or a "group" for
this purpose.) These variants are effectively equivalent to granting or revoking membership in the role named as the "group"; so the
preferred way to do this is to use GRANT(7) or REVOKE(7).
The third variant changes the name of the group. This is exactly equivalent to renaming the role with ALTER ROLE (ALTER_ROLE(7)).
PARAMETERS
group_name
The name of the group (role) to modify.
user_name
Users (roles) that are to be added to or removed from the group. The users must already exist; ALTER GROUP does not create or drop
users.
new_name
The new name of the group.
EXAMPLES
Add users to a group:
ALTER GROUP staff ADD USER karl, john;
Remove a user from a group:
ALTER GROUP workers DROP USER beth;
COMPATIBILITY
There is no ALTER GROUP statement in the SQL standard.
SEE ALSO
GRANT(7), REVOKE(7), ALTER ROLE (ALTER_ROLE(7))
PostgreSQL 9.2.7 2014-02-17 ALTER GROUP(7)