09-17-2007
finding path
'which main_2.out' in your example will tell you which main_2.out the shell is using. Note this only tells you the instance of main_2.out the shell finds in $PATH. It does not necessarily mean there is not another one somewhere in the filestore
10 More Discussions You Might Find Interesting
1. Linux
I am using Mandrake 10.1 and I was trying to use K3B to burn my files to CD. Well, I configured the recorder speed to 48X, however when I try to burn a cd, the program gets stuck and return an error 252 or something. I searched the forum and in there somewhere people mentioned about turning on the... (2 Replies)
Discussion started by: Jace
2 Replies
2. Solaris
prstat
usage: prstat
]
]
something equivalent to "top -d 1" ?
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
3. UNIX for Dummies Questions & Answers
I need to know how to update our UNIX systems for 2007 DST. Problem is, I have no idea what version of UNIX we have or how to even find out what version it is. I work in the IT department and none of my co-workers know anything about UNIX either.
So, I have two questions. First of all, how do I... (5 Replies)
Discussion started by: mcrawford575
5 Replies
4. UNIX for Advanced & Expert Users
Hello,
I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this:
** cfdlab17 **
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (0 Replies)
Discussion started by: nanay
0 Replies
5. UNIX for Advanced & Expert Users
Hello,
I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this:
** cfdlab17 **
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (1 Reply)
Discussion started by: nanay
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this:
** cfdlab17 **
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (1 Reply)
Discussion started by: nanay
1 Replies
7. AIX
Fault Management System. I think it is an in-house application but I am not sure. So if there are people out there that know this application, I have a few questions about it. (0 Replies)
Discussion started by: Browser_ice
0 Replies
8. Shell Programming and Scripting
unix script must do the fiollowing
open a file containing comma delimited records
> each record contains 10 fields
> removes the 2nd field and use that same field containing fields 2 to 10
the original record after fprocessing should containing fields 1 and 3
a new erecord must be... (10 Replies)
Discussion started by: dwightja
10 Replies
9. Debian
Hello,
I have a few questions about this server.
It has two CPU's 3.20 ghz / 800 mhz / 1MB L2
5120 MB RAM
6 hard disks on HP Smart Array 6i controller (36.4 GB Ultra320 SCSI HD each)
RAID set to RAID 5 (5 discs) with one spare (6th disk)
USB, 2 Ethernet ports, 1 ILO port, 1 SCSI port
... (2 Replies)
Discussion started by: Marcus Aurelius
2 Replies
10. UNIX for Dummies Questions & Answers
HI Guys,
I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that
1) I need to enter these commands
$ echo $DISPLAY
$ setenv $DISPLAY output_of_echo_$display_command
How can i write a... (2 Replies)
Discussion started by: kaaliakahn
2 Replies
LEARN ABOUT REDHAT
drop_user
DROP
USER(7) SQL Commands DROP USER(7)
NAME
DROP USER - remove a database user account
SYNOPSIS
DROP USER name
DESCRIPTION
DROP USER removes the specified user from the database. It does not remove tables, views, or other objects owned by the user. If the user
owns any database, an error is raised.
PARAMETERS
name The name of an existing user.
DIAGNOSTICS
DROP USER
The message returned if the user is successfully deleted.
ERROR: DROP USER: user "name" does not exist
This message occurs if the user name is not found.
DROP USER: user "name" owns database "name", cannot be removed
You must drop the database first or change its ownership.
NOTES
Use CREATE USER [create_user(7)] to add new users, and ALTER USER [alter_user(7)] to change a user's attributes. PostgreSQL includes a
program dropuser [dropuser(1)] that has the same functionality as this command (in fact, it calls this command) but can be run from the
command shell.
EXAMPLES
To drop a user account:
DROP USER jonathan;
COMPATIBILITY
The DROP USER statement is a PostgreSQL extension. The SQL standard leaves the definition of users to the implementation.
SEE ALSO
CREATE USER [create_user(7)], ALTER USER [alter_user(l)], dropuser(1)
SQL - Language Statements 2002-11-22 DROP USER(7)