How Can I Display Unix Path All The Time
currently my profile look like this
# @(#)local.profile 1.8 99/03/26 SMI
stty istrip
PATH=/usr/bin:/usr/ucb:/etc:.
export PATH
# If possible, start the windows system
#
if ; then
if
then
if ; then
... (1 Reply)
How Can I Display Unix Path All The Time
currently my profile look like this
# @(#)local.profile 1.8 99/03/26 SMI
stty istrip
PATH=/usr/bin:/usr/ucb:/etc:.
export PATH
# If possible, start the windows system
#
if ; then
if
then
if ; then
OPENWINHOME=/usr/openwin
export... (1 Reply)
How can i perform a ls or other command to list the full paths of files from a ls?
Looked through the man page for ls, no luck
$ cd /tmp/
$ ls -l
total 6
drwx------ 2 root root 4096 Nov 7 2008 keyring-7b5rMv
drwx------ 2 bcr bcr 4096 Dec 7 2007 keyring-cGhir8
$
I'd be looking for... (1 Reply)
Hi,
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
/a/b/c/r1.txt
/q/w/e/r2.txt
/z/x/c/r3.txt
Now I want to retrieve only the directory path name for each row
i.e
/a/b/c/
/q/w/e/
How to get the same through shell script?... (7 Replies)
I'm trying to replace path which is part of variable inside script file:
FROM:
ABC_HOME=$ABC_ROOT/abc/1.0
TO:
ABC_HOME=$ABC_ROOT/abc/1.5
I'm using this:
perl -pi -e 's\ABC_HOME=$ABC_ROOT/abc/1.0\ABC_HOME=$ABC_ROOT/abc/1.5\g' /apps/scripts/test.sh
This command is not working because... (2 Replies)
Suppose I am a Unix user, not a root.
I can see all commands in running by ps -elf, or some similar commands. Such commands may be submit by other Unix users.
Is there a way that I can display those commands with their full parameters/options. For example, I can see a user is running "ls"... (3 Replies)
pathalias(4) File Formats pathalias(4)NAME
pathalias - alias file for FACE
SYNOPSIS
/usr/vmsys/pathalias
DESCRIPTION
The pathalias files contain lines of the form alias=path where path can be one or more colon-separated directories. Whenever a FACE
(Framed Access Command Environment, see face(1)) user references a path not beginning with a ``/'', this file is checked. If the first com-
ponent of the pathname matches the left-hand side of the equals sign, the right-hand side is searched much like $PATH variable in the sys-
tem. This allows users to reference the folder $HOME/FILECABINET by typing filecabinet.
There is a system-wide pathalias file called $VMSYS/pathalias, and each user can also have local alias file called $HOME/pref/pathalias.
Settings in the user alias file override settings in the system-wide file. The system-wide file is shipped with several standard FACE
aliases, such as filecabinet, wastebasket, preferences, other_users, etc.
FILES
$HOME/pref/pathalias
$VMSYS/pathalias
SEE ALSO face(1)NOTES
Unlike command keywords, partial matching of a path alias is not permitted, however, path aliases are case insensitive. The name of an
alias should be alphabetic, and in no case can it contain special characters like ``/'', ``'', or ``=''. There is no particular limit on
the number of aliases allowed. Alias files are read once, at login, and are held in core until logout. Thus, if an alias file is modified
during a session, the change will not take effect until the next session.
SunOS 5.10 3 Jul 1990 pathalias(4)