Sponsored Content
Full Discussion: HardLinks and Softlinks
Top Forums Shell Programming and Scripting HardLinks and Softlinks Post 302556433 by ahamed101 on Sunday 18th of September 2011 01:58:28 PM
Old 09-18-2011
Hardlink
Code:
ln -f <src> <dst>
chmod 744 <yourfile>

--ahamed
This User Gave Thanks to ahamed101 For This Post:
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

search for hardlinks based on filename via find command

I am using command substitution into a find command in a script where I have built a menu to do a bunch of tasks within my unix account. When I choose the options for to find a file/files that have the same inode of the entered filename, ie hardlinks, nothing shows up. When I choose the appropiate... (2 Replies)
Discussion started by: hunternjb
2 Replies

2. UNIX for Dummies Questions & Answers

How to list hardlinks?

Q1: Let's say I create a hard-link bar.c in /tmp to a file foo.c which resides in /var/tmp. Is there a easy way to find out which file /tmp/bar.c hardlinks to (and vice-versa - i.e which files have got hard-linked from /var/tmp/foo.c) when one does not (and wants to) know the location of the other... (0 Replies)
Discussion started by: mahatma
0 Replies

3. AIX

IHS 6.1 on AIX - problem with symlinks / symbolic links / softlinks

Hello, I got an IHS 6.1 installed and want to publish a directory with an index of files, directories and symlinks / symbolic links / soft links, last ones being created with the usual Unix command "ln -s .... ....". In httpd.conf I've tried following for that directory: Options Indexes... (1 Reply)
Discussion started by: zaxxon
1 Replies

4. UNIX for Dummies Questions & Answers

dump/restore of a fs with 100 of millions hardlinks

Hi :-) i have a dump of a backupdisk (~540GB / ext3). The Backups have some 100 millions of hardlinks (backups are created with storeBackup). The OS is linux. A restore of a directory ended after some days with the errormessage "no memory to extend symbol table" The restore of the complete... (0 Replies)
Discussion started by: turricum
0 Replies

5. UNIX for Dummies Questions & Answers

Create softlinks between 2 different hosts

Hi I want to create softlinks, my source files and folders are placed in one server(hostname: info-1) and i want to access those files from different host(hostname :info-2). file and folder names in info-1 host. file1 folder1 Thanks, Mallik. (1 Reply)
Discussion started by: tmalik79
1 Replies

6. Solaris

Will softlinks occupy space in Solaris10

I have a pen drive1 with UFS file system and it has 43G used. It has a hell lot of soft links to other files which are located in a second pen drive2. We partitioned the file system on sun sparc machine, such that / has around 150G space.Now when we are copying the files from pen drive 1 to / on... (3 Replies)
Discussion started by: crackperl
3 Replies
Gnome2::Program(3pm)					User Contributed Perl Documentation				      Gnome2::Program(3pm)

NAME
Gnome2::Program - wrapper for GnomeProgram HIERARCHY
Glib::Object +----Gnome2::Program METHODS
string = $program->get_app_id string = $program->get_app_version string = $program->get_human_readable_name program = Gnome2::Program->init ($app_id, $app_version, $module_info=undef, ...) o $app_id (string) o $app_version (string) o $module_info (scalar) o ... (list) The list argument is for property-value pairs. list = $program->locate_file ($domain, $file_name, $only_if_exists) o $domain (Gnome2::FileDomain) o $file_name (string) o $only_if_exists (boolean) Returns a list of locations. moduleinfo = Gnome2::Program->module_load ($mod_name) o $mod_name (string) Gnome2::Program->module_register ($module_info) o $module_info (scalar) boolean = Gnome2::Program->module_registered ($module_info) o $module_info (scalar) program or undef = Gnome2::Program->get_program PROPERTIES
'app-datadir' (string : default undef : readable / writable) Data prefix where this application was installed 'app-id' (string : default undef : readable) ID string to use for this application 'app-libdir' (string : default undef : readable / writable) Library prefix where this application was installed 'app-prefix' (string : default undef : readable / writable) Prefix where this application was installed 'app-sysconfdir' (string : default undef : readable / writable) Configuration prefix where this application was installed 'app-version' (string : default undef : readable) Version of this application 'create-directories' (boolean : default true : readable / writable / construct-only) Create standard GNOME directories on startup 'enable-sound' (boolean : default true : readable / writable) Enable sound on startup 'espeaker' (string : default undef : readable / writable) How to connect to esd 'gnome-datadir' (string : default "/usr/share" : readable / writable / construct-only) Data prefix where GNOME was installed 'gnome-libdir' (string : default "/usr/lib" : readable / writable / construct-only) Library prefix where GNOME was installed 'gnome-path' (string : default undef : readable / writable / construct-only) Path in which to look for installed files 'gnome-prefix' (string : default "/usr" : readable / writable / construct-only) Prefix where GNOME was installed 'gnome-sysconfdir' (string : default "/etc" : readable / writable / construct-only) Configuration prefix where GNOME was installed 'goption-context' (gpointer : default 0 : readable / writable / construct-only) The goption context pointer that GnomeProgram is using 'human-readable-name' (string : default undef : readable / writable / construct-only) Human readable name of this application 'popt-context' (gpointer : default 0 : readable) The popt context pointer that GnomeProgram is using 'popt-flags' (integer : default 0 : writable / construct-only) The flags to use for popt 'popt-table' (gpointer : default 0 : writable / construct-only) The table of options for popt ENUMS AND FLAGS
enum Gnome2::FileDomain o 'unknown' / 'GNOME_FILE_DOMAIN_UNKNOWN' o 'libdir' / 'GNOME_FILE_DOMAIN_LIBDIR' o 'datadir' / 'GNOME_FILE_DOMAIN_DATADIR' o 'sound' / 'GNOME_FILE_DOMAIN_SOUND' o 'pixmap' / 'GNOME_FILE_DOMAIN_PIXMAP' o 'config' / 'GNOME_FILE_DOMAIN_CONFIG' o 'help' / 'GNOME_FILE_DOMAIN_HELP' o 'app-libdir' / 'GNOME_FILE_DOMAIN_APP_LIBDIR' o 'app-datadir' / 'GNOME_FILE_DOMAIN_APP_DATADIR' o 'app-sound' / 'GNOME_FILE_DOMAIN_APP_SOUND' o 'app-pixmap' / 'GNOME_FILE_DOMAIN_APP_PIXMAP' o 'app-config' / 'GNOME_FILE_DOMAIN_APP_CONFIG' o 'app-help' / 'GNOME_FILE_DOMAIN_APP_HELP' SEE ALSO
Gnome2, Glib::Object COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2 for a full notice. perl v5.14.2 2011-11-16 Gnome2::Program(3pm)
All times are GMT -4. The time now is 12:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy