08-07-2001
You need to have . in your path. . specifies the current directory.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix.
please explain..
thanks (4 Replies)
Discussion started by: yls177
4 Replies
2. Solaris
I have created a custom nologin shell named nologinksh that looks like this.
#!/bin/ksh
DATE=`date |sed 's/:.. .*//'`
LAST=`last -1 |grep "$LOGNAME.*$DATE"`
if ; then
echo "Remote logon is not permitted."
else
export SHELL=/bin/ksh
. $HOME/.profile
... (0 Replies)
Discussion started by: woodson2
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am trying to modifying the root user .profile file, but I cannot find it.
If I do the command "echo $SHELL", i get /sbin/sh
Where is the .profile located at? Sun's doc says the users home folder. I'm logged in as root, but when I go "/home", I don't see it :(
Please help (9 Replies)
Discussion started by: annointed3
9 Replies
4. Solaris
I'm attempting to setup rootsh on Solaris 10 to log the activity of users who require root access. However it does not appear to be sourcing root's .profile file even when run with the '-i' option. I was wondering if anybody else has run into this and might have a solution.
Thank you. (9 Replies)
Discussion started by: kungfusnwbrdr
9 Replies
5. Shell Programming and Scripting
I need help in settings to Hp-UX , Solaris , AIX-UX ..
I worked on Linux previously ... now i am working on Hp-UX , Solaris , AIX-UX ..
up/down arrow , to see history of previous command (basically to modify ) and few keyboard keys are different ... so i need to set .profile , .cshrc , ... to... (1 Reply)
Discussion started by: girija
1 Replies
6. Shell Programming and Scripting
I am working on Solaris machine.
I have to add a cron for some operation, nut in SSH terminal crontab -l shows all related crons, but crontab -e instead of opening vi editor shows some number.
Could any body tell what can be issue? (16 Replies)
Discussion started by: nixhead
16 Replies
7. Solaris
I am interested in doing some heavy video work. I have a ADVC 110 Video capture device, which I am using to capture VHS video tapes, which I will convert on the server to DVD format and burn to DVD's using DVD production software. I will also take the captured video file and split it up in parts... (1 Reply)
Discussion started by: Marcus Aurelius
1 Replies
8. Solaris
Hi all,
In Solaris , What entry should I add in my .profile file in home directory so that every time I don't have to give
Sudo's full path like
/usr/local/bin/sudo as well as /usr/sbin/ping
and it will be Great help if you could tell me how to know what should be added.
Please Advice.... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
9. UNIX for Dummies Questions & Answers
Hi All
I am kind of confused, when to use .bash_profile or .profile
I have just created a user on a test server, with:
useradd -u 103 -d /fretagi -m -s /bin/bash fretagi
but now in its home dir I have:
-bash-3.2$ ls -al
total 14
drwxr-xr-x 2 fretagi other 512 Dec 5 15:54 .... (5 Replies)
Discussion started by: fretagi
5 Replies
LEARN ABOUT DEBIAN
dpns_rmdir
DPNS_RMDIR(3) DPNS Library Functions DPNS_RMDIR(3)
NAME
dpns_rmdir - remove a DPNS directory in the name server
SYNOPSIS
#include <sys/types.h>
#include "dpns_api.h"
int dpns_rmdir (const char *path)
DESCRIPTION
dpns_rmdir removes a DPNS directory in the name server if it is empty.
path specifies the logical pathname relative to the current DPNS directory or the full DPNS pathname.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
ENOENT The named directory does not exist or is a null pathname.
EACCES Search permission is denied on a component of the path prefix or write permission is denied on the parent directory or the
parent has the sticky bit S_ISVTX set and
the effective user ID of the requestor does not match the owner ID of the directory and
the effective user ID of the requestor does not match the owner ID of the parent directory and
the requestor does not have ADMIN privilege in the Cupv database.
EFAULT path is a NULL pointer.
EEXIST The named directory is not empty.
ENOTDIR A component of path prefix is not a directory.
EINVAL path is the current directory.
ENAMETOOLONG The length of path exceeds CA_MAXPATHLEN or the length of a path component exceeds CA_MAXNAMELEN.
SENOSHOST Host unknown.
SENOSSERV Service unknown.
SECOMERR Communication error.
ENSNACT Name server is not running or is being shutdown.
SEE ALSO
Castor_limits(4), dpns_chdir(3), dpns_mkdir(3), Cupvlist(1)
AUTHOR
LCG Grid Deployment Team
DPNS
$Date: 2002/10/16 06:25:40 $ DPNS_RMDIR(3)