Sponsored Content
Full Discussion: read a path
Operating Systems Solaris read a path Post 302127531 by bkan77 on Wednesday 18th of July 2007 11:53:07 AM
Old 07-18-2007
read a path

Hi I'm trying to write a script in which,if i log onto a particular server,the script should automatically find the server i'm on (which is the source server).We can find it frm the path /transfer/common/utilities/env_params.txt

please help me as to how start with this,shall i use the read cmmnd or any ideas...................pls urgent help neededSmilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

read a path

Hi I'm trying to write a script in which,if i log onto a particular server,the script should automatically find the server i'm on (which is the source server).We can find it frm the path /transfer/common/utilities/env_params.txt please help me as to how start with this,shall i use the read cmmnd... (4 Replies)
Discussion started by: bkan77
4 Replies

2. Shell Programming and Scripting

Read the directory path

Hi, I have a requirement,where i have to read the directory path then read the files present in the directory Also I need to check the directory path exist in the local drive. These directory path are mentioned in the Primary.csv file under the column Dir. Primary.csv Dir,File1,File2... (1 Reply)
Discussion started by: sollins
1 Replies

3. Shell Programming and Scripting

need sed command to read a path and set to variable

I have a variable called PATH that contains a path example: /Users/rtipton/Desktop/testusers/test I need a sed command to set a variable called USER to the last directory name in that path PATH="/Users/rtipton/Desktop/testusers/test" and from that PATH i need USER to = test I know sed... (4 Replies)
Discussion started by: tret
4 Replies

4. Shell Programming and Scripting

how to read the relative path

suppose i ahve a shell script Nsdnet.sh inside a directory /dialp/Release/bin another file nsdnet_file.csv is under the same directory. Now in the shell script i have call a java file, which reads the csvfile from the commandline. Now when i run the file as $ ./Nsdnet.sh ./nsdnet_file.csv then... (5 Replies)
Discussion started by: priyanka3006
5 Replies

5. Shell Programming and Scripting

Executing Commands From Non-Standard Path (Changing user's PATH secretely???)

Hi: I have a requirement as below: I have some standard Unix commands modified and kept them in a directory say /usr/clsh/bin. For example I have a script named "ls" kept here which is modified version of "ls" (say it always gives long listing i.e. ls -l). When any user logs on and types... (2 Replies)
Discussion started by: ramesh_samane
2 Replies

6. Shell Programming and Scripting

BASH - read use a path as input

I am trying to script simply data transfer. I would like to have the user input the source "SRC" (/Volumes/DriveName/Users/johnq123) and then name the directory that the copied information will go to, "DST" . put I can't get it to work - #!/bin/bash ... (8 Replies)
Discussion started by: dropkick888
8 Replies

7. Shell Programming and Scripting

Moving files from parent path to multiple child path using bash in efficient way

Hi All, Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created. /Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt /Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
6 Replies

8. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies

9. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies

10. Programming

Makefile missing include path Although the path exists and defined

i have make file which i try to make them generic but it keeps to compline it missing include directory this is the makefile : CXX=g++ CPPFAGS= -Wall -O0 -g -std=c++14 INCLUDES = -I/home/vagrant/libuv/include -Isrc LIBS_DIRS = -L/home/vagrant/libuv/build LDFLAGS=... (7 Replies)
Discussion started by: umen
7 Replies
cdsd(1m)																  cdsd(1m)

NAME
cdsd - Starts the CDS server SYNOPSIS
cdsd [-a] [-D] [-l principal] [-w route] ARGUMENTS
Creates a new namespace if there is not an existing namespace. This flag is meaningful only when the cell is first configured (that is, the initial creation of the namespace). For debugging use only. Causes the cdsd process not to fork. Locksmith mode. Allows the principal specified to have full access to all information stored with this server. Routes serviceability messages. DESCRIPTION
The cdsd command starts the CDS server. Privilege Required You must log in as superuser (root). NOTES
This command is ordinarily executed by a DCE configuration or startup script. You should use this command interactively only when a cdsd fails to start automatically after a reboot, or if you want to restart a cdsd after disabling it to perform a backup or to do diagnostic work on the host system. EXAMPLE
To restart a cdsd server, follow these steps: Log in to the server system as superuser (root). Verify that the dced and cdsadv processes are running. Enter the following command to restart the CDS server: # cdsd When the server process starts, it starts all clearinghouses on the system. RELATED INFORMATION
Books: OSF DCE Administration Guide cdsd(1m)
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy