Hi,
We all know that pwd (or echo $PWD) gives us the present working dir as output.... but my doubt is that I'ld like to know how to get the present working folder - I mean - name of the current folder alone.. using pwd command I get the full folder name (right from root path)... I need to know... (2 Replies)
Home directory mounted on one local system as /home/username, same directory mounted on a remote system as /home/engr/username.
How to use command to use remote host pwd. For example
rsh <remote host> ls -l ~pwd (2 Replies)
We are using software (Pegasys) which runs on SunOS 5.8 and reads images from a Philips nuclear camera. The software is designed to run from the console. I need to be able to capture the images it produces on the display. The caveat is that I cannot use the X Windows display because the X Server... (3 Replies)
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
currently, my samba login works just fine. i want my clients to use aix5.3 account to login to samba so they don't have to change samba pwd and aix pwd. i googled, and vi /usr/lib/smb.conf per some of knowledge base, but i could not get to work.
aix5.3 and samba 3.0.24.0
thanks in advace..... (2 Replies)
Dear users,
One more question, In unix when i use pwd the following I get:
pwd
/Users/username/src/directory name
Is there a way to get the out put like this in which the if there is a space in the directory eg directory name it should show as directory\ name:... (2 Replies)
Hi,
can anyone expalin the real importance of PWD as a variable.
However pwd command and $PWD is going to give the same result, then why do we have 2 different things.
Please give some example which illustrates the difference between both.
Thanks (9 Replies)
when user types "pwd.sh joe" at command line, it generates pwd as abc123 and when user types "pwd.sh jane" at command line, it generates pwd as abc123.
pwd will change every 90 days.
my pwd file will be always abc123 until i change joe/jane/bob pwd manually. (3 Replies)
Hi all,when I cd to an environment variable "cd $MYDIR, if I type pwd, I don't the path to the environment variable dir I cd to. Appreciate the help, regards..Abbya (5 Replies)
Discussion started by: abbya
5 Replies
LEARN ABOUT V7
environ
ENVIRON(5) File Formats Manual ENVIRON(5)NAME
environ - user environment
SYNOPSIS
extern char **environ;
DESCRIPTION
An array of strings called the `environment' is made available by exec(2) when a process begins. By convention these strings have the form
`name=value'. The following names are used by various commands:
PATH The sequence of directory prefixes that sh, time, nice(1), etc., apply in searching for a file known by an incomplete path name.
The prefixes are separated by `:'. Login(1) sets PATH=:/bin:/usr/bin.
HOME A user's login directory, set by login(1) from the password file passwd(5).
TERM The kind of terminal for which output is to be prepared. This information is used by commands, such as nroff or plot(1), which may
exploit special terminal capabilities. See term(7) for a list of terminal types.
Further names may be placed in the environment by the export command and `name=value' arguments in sh(1), or by exec(2). It is unwise to
conflict with certain Shell variables that are frequently exported by `.profile' files: MAIL, PS1, PS2, IFS.
SEE ALSO exec(2), sh(1), term(7), login(1)ENVIRON(5)