Sponsored Content
Operating Systems Solaris Create a Link for a directory Post 302840857 by narayanv on Tuesday 6th of August 2013 03:54:25 PM
Old 08-06-2013
Create a Link for a directory

Hi,
I need to create a link as stagein01 for the /p11/prod/stagein01/.
Please let me know the procedure for the same.

Regards,
VN
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Create Symbolic Link

I am Solaris korn shell. I want to create a symbolic link. I have a directory /u01/ftp01/db I want to reference it as /u05/swe/my (this is not a real directory) I tried a symbolic link but it does not work ln -s /u01/ftp01/db /u05/swe/my ln: cannot create //u05/swe/my: No such... (2 Replies)
Discussion started by: lesstjm
2 Replies

2. Shell Programming and Scripting

how to create symbolic link between folders.....

hi champs, i have folders structure up to log is there , which is as below, app | |---version-4.1 | |----bin | | | | | |-----a.sh | | |-----b.sh | | | |----log | | \---version (symbolic link to version-4.1) but i want to create another folder... (2 Replies)
Discussion started by: manas_ranjan
2 Replies

3. Shell Programming and Scripting

Shell script to create a link

Hi All, I have a problem to writing a shell script to create a soft link in some other directory For eg: /opt/Shreedhar/Naik is directory now i need to write shell script in the path /opt/Shreedhar/Naik which should create a soft link in /opt/Shreedhar. I have tried to write the script... (3 Replies)
Discussion started by: Shreedhar Naik
3 Replies

4. AIX

How to create a sym link pointing a changing name.

Hello A new file is created every day with the date appended to the end of a name. We are using Autosys to run jobs which watches for the file and runs jobs. But Autosys does not have the capability to figure out the current date. I tried creating a symlink like this ln -s... (1 Reply)
Discussion started by: vra5107
1 Replies

5. Solaris

Create sym-link into /dev (zone)

Hi i need to install a software into a zone, and this kind of software needs to have a file who is linked into /dev. But it is not possible to create a link into /dev nor create a file into it. -bash-3.00# ln -s /tmp/testfile /dev/ ln: cannot create /dev//testfile: Permission denied... (2 Replies)
Discussion started by: beta17
2 Replies

6. Shell Programming and Scripting

SED - Create mailto: link

Help! I am using sed to convert text files into easily viewed html tables. I have managed all except converting the email addresses to mailto: links. Multiple email addresses exist within the files, either preceded by a space or > (as part of HTML tag), and followed by either space or < I've... (5 Replies)
Discussion started by: Nigel_R
5 Replies

7. Solaris

Not able to create a link in /etc/rc3.d in Solaris 10

HI I am using solaris 10.We are doing some failover testing and checking whether services are starting up when we reboot the server. As part of process i have moved scripts to /etc/init.d directory and trying to create a link /etc/rc3.d like this. But strangely it is giving an error... (5 Replies)
Discussion started by: muraliinfy04
5 Replies

8. UNIX for Advanced & Expert Users

Cannot create a link with the same name

Hi - Our system admin cannot create a link to NAS with one particular name but he can create with other names. What might be the cause? Regards ---------- Post updated at 11:30 AM ---------- Previous update was at 11:29 AM ---------- It says permission denied. (2 Replies)
Discussion started by: w020637
2 Replies

9. Shell Programming and Scripting

awk to create variables to pass into a bash loop to create a download link

I have created one file that contains all the necessary info in it to create a download link. In each of the lines /results/analysis/output/Home/Auto_user_S5-00580-6-Medexome_67_032/plugin_out/FileExporter_out.67... (8 Replies)
Discussion started by: cmccabe
8 Replies

10. Shell Programming and Scripting

awk to create link, download, and extract in sub-directory

The awk below will create sub-directories in a directory (which is always the last line of file1, each block separated by an empty line), if the number in line 2 (always the first 6 digits in the format xx-xxxx) of file2 is found in $2 of file1. This is the current awk output. If there is a... (0 Replies)
Discussion started by: cmccabe
0 Replies
ris(8)							      System Manager's Manual							    ris(8)

NAME
ris - Remote installation services (RIS) utility SYNOPSIS
/usr/sbin/ris /usr/sbin/ris -a client -h hwaddr [-i profset] -p path,prod[,prod]... [-t nettype] /usr/sbin/ris -l /usr/sbin/ris -m client [-h hwaddr] [-i profset] [-p path,prod[,prod]...] [-t nettype] /usr/sbin/ris -r client /usr/sbin/ris -s OPTIONS
Invoke the ris utility without arguments to display the RIS Utility Main Menu and start an interactive session. Refer to the DESCRIPTION section for more information. Use the -h option to specify the RIS client's hardware network address in the form xx-xx-xx-xx-xx-xx, where x is a hexadecimal character. The -h option is mandatory with the -a operand and optional with the -m operand. Use the -i option to spec- ify an installation profile set to use when you install software from a RIS area onto a RIS client. The -i option is optional with the -a and -m operands. Use the -p option to specify the RIS area and one or more comma-separated products (prod) that the RIS client is autho- rized to install from the RIS server. The -p option is mandatory with the -a operand and optional with the -m operand. Use risN.arch to specify the RIS area (path), where N is an integer (0 or higher) indicating an existing RIS area on your RIS server, and arch is the system architecture, such as alpha. For example, ris2.alpha specifies a RIS area. One or more products (prod) are specified as product_N, where N is an integer (1 or higher) indicating a software product that you have installed in a RIS area on your server. For example, product_1 specifies a RIS area. Use the -t option to specify the network type nettype. Valid values are ethernet and ieee802 (token ring). The -t option is optional with the -a and -m operands. OPERANDS
client -h hwaddr [-i profset] -p path,prod[,prod]... [-t nettype] Adds a RIS client. The client argument is the network-recognized host name of the RIS client. List registered RIS clients. client [-h hwaddr] [-i profset] [path,prod[,prod]...] [-t nettype] Modifies a RIS client. The client argument is the network-recognized host name of the RIS client. Removes a RIS client. The client argument is the network-recognized host name of the RIS client. Shows software products in RIS environments. DESCRIPTION
The ris utility manages remote installation services (RIS), letting you install software from a RIS server over a TCP/IP local area network to a RIS client. You can install the base operating system or optional products with the ris utility. You also can add, list, modify and delete RIS clients, and install, show, and delete software products in RIS areas. Refer to the RESTRICTIONS section for more information. With no arguments, the /usr/sbin/ris command displays the RIS Utility Main Menu for an interactive RIS session. # /usr/sbin/ris *** RIS Utility Main Menu *** a) ADD a client d) DELETE software products i) INSTALL software products l) LIST registered clients m) MODIFY a client r) REMOVE a client s) SHOW software products in remote installation environments x) EXIT Enter your choice: Available menu options depend upon previous actions, and choices not preceded by key letters are not available. For example, you cannot list, modify, or remove clients until you add a RIS client. In that case, the m, l, and r key letters are not displayed in front of their respective options, as shown in the following example: *** RIS Utility Main Menu *** a) ADD a client d) DELETE software products i) INSTALL software products ) LIST registered clients ) MODIFY a client ) REMOVE a client s) SHOW software products in remote installation environments x) EXIT Enter your choice: The ris utility uses the /usr/var/adm/ris directory as a base. When you install the first software product, the ris utility creates a RIS area on the disk. RIS areas are named risN.arch, where N is a sequentially-assigned integer starting with 0, and arch identifies the client's machine architecture, such as alpha. The first RIS area for Alpha clients is named ris0.alpha. Additional areas can be set up for the same architecture or other client architectures for organizational or performance reasons. A RIS area contains one or more software products. Each product includes software subsets that can be installed on authorized RIS clients over a local area network. Once software products are installed into a RIS area, RIS clients registered for that RIS area can use the setld utility over the network to install software from their RIS area. You must use the ris utility interactively to set up a RIS area. After you set up a RIS area on the RIS server, you can use the -a, -l, -m, -r, and -s command line operands to manage RIS clients and display information. The ris utility uses the /usr/var/adm/ris/clients/risdb database file to manage multiple clients. RESTRICTIONS
Tru64 UNIX RIS servers cannot install the base operating system on RIS clients that do not support the BOOTP Internet Boot Protocol. EXAMPLES
Invoke the ris utility with no arguments to start an interactive session: # /usr/sbin/ris *** RIS Utility Main Menu *** Choices without key letters are not available. a) ADD a client d) DELETE software products i) INSTALL software products l) LIST registered clients m) MODIFY a client r) REMOVE a client s) SHOW software products in remote installation environments x) EXIT Enter your choice: You must use an interactive session to install or delete software products. After a RIS area is set up on the RIS server, you can use the -a, -l, -m, -r, and -s command line operands to manage RIS clients and display information. The following examples show how to use command line arguments to manage a client named stlouis. These examples assume that /usr/sbin is in your path. Backslashes () indicate line continuation and are not part of the command syntax. Adding a RIS Client Use the following syntax to add a RIS client: ris -a client -h addr -p path,prod[,prod][,prod]... Add RIS client stlouis and allow that client to install a product over the network: # ris -a stlouis -h xx-xx-xx-xx-xx-xx -p ris0.alpha,product_1 Modifying a RIS Client Use the following syntax to modify a RIS client: ris -m client [-h addr] [-ppath,prod[,prod][,prod]...] Modify RIS client stlouis and allow it to install an additional product over the network: # ris -m stlouis -p ris0.alpha,product_2 Removing a RIS Client Use the following syntax to remove a RIS client: ris -r client Remove RIS client stlouis: # ris -r stlouis FILES
Base directory for remote installation areas Directory for database Remote installation information database Directory containing configu- ration description files (CDF) used for installation cloning. SEE ALSO
Commands: setld(8), bootpd(8) Sharing Software on a Local Area Network Installation Guide Installation Guide -- Advanced Topics ris(8)
All times are GMT -4. The time now is 08:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy