Hi Folks,
In a Unix (ksh) script, is there a way to determine the current working directory path of another logged-in user? Of course, I can use "pwd" to find my own path. But, how do I find it for another active user?
Thanks for any input you can provide. LY (6 Replies)
Hi,
I need to know how I'll be able to write a script that can goto a different dir where I don't have access to read,write and execute and also to run a commandline prompt in that dir with one file whose path has to be specified in that command.
Will I be able to do this?
Any ideas or... (2 Replies)
Hey guys,
I would like to find all files which contain "client1.dat". I would like to search from the current directory and all subs and print out all the files that have this. Any help would be greatly appreciated.
Thanks much. (10 Replies)
Hello,
I am having problem in setting current working directory from shell.
I want to set pwd as an environmental variable in a script. I am following an existing script which is defined as
HOME=$(shell dirname `pwd`)
C_HOME=$(shell echo $(HOME) | sed -e 's:\/:\\\/:g' )
But when I am trying... (3 Replies)
I created a new user and changed their home directory to /export/home/mydir/ I verified in the passwd file that the home directory is set to the above and that owner of that directory is the new user and yet when I log in as that user I get the following message:
No directory! Logging in with... (14 Replies)
HI all, I got a CPIO archive that contains a unix filesystem that I try to extract, but it extract to the root dir / unstead of current dir, and happily it detects my file are newer otherwise it would have overwrited my system's file!
I tried all these commands
cpio -i --make-directories <... (2 Replies)
Can someone tell me how do i set my current working directory in my prompt?
Note: I dont want to use env variable PWD and using `pwd` gives me only my home directoy. suggest a different way ?
I use /bin/sh
thanks!! (3 Replies)
Hi,
I want that the prompt that is being displayed (i.e $ sign) should display always the current directory I am working in instead of that $ sign
example:
as we use PS1=patric and the prompt changes from $ to patric OR
if we write the command PS1=`pwd` it will display the current... (5 Replies)
i have directory /abcd and i want to copy all today date files in /xyz directory.
i am able to see the files by using below command but not able to understand copy.
find . -mtime -1 -type f -exec ls -l {} \; (2 Replies)
Hi,
on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
LEARN ABOUT DEBIAN
casparize
casparize(1) USER COMMANDS casparize(1)
NAME
casparize - Set up caspar Makefile in a new directory
SYNOPSIS
casparize dir (/path/to/config/dir)
casparize file (/path/to/config/dir/file)
DESCRIPTION
casparize creates a new configuration working directory in your current working directory, sets up a Makefile for caspar(7) in this new
directory, and optionally copies an original configuration file from its original system place to the newly created configuration working
directory.
USAGE
You typically use casparize when you already have created the root configuration working directory with its include directory and install.mk
Caspar include file. By analysing your current working directory and the configuration directory path you give on the command line, cas-
parize can deduce the contents of the Makefile in the newly created configuration working directory. It creates the new directory, creates
the correct Makefile, and optionally copies the given configuration file in the new directory, ready for its first version commit.
EXAMPLES
A typical example:
$ cd <svn>/etc
$ casparize /etc/postfix/main.cf
creates the directory <svn>/etc/postfix, creates <svn>/etc/postfix/Makefile including the proper content, and copies /etc/postfix/main.cf
into <svn>/etc/postfix/main.cf. You can now directly add and commit the new directory.
BUGS
Non known at this moment.
AUTHOR
Jeroen Hoppenbrouwers
SEE ALSO
caspar(7) The caspar homepage is at http://mdcc.cx/caspar/ .
casparize 20120508 8 mai 2012 casparize(1)