Sponsored Content
Top Forums UNIX for Advanced & Expert Users how to remove the files along with its link files Post 302330710 by Ramesh_srk on Thursday 2nd of July 2009 05:37:40 AM
Old 07-02-2009
Java how to remove the files along with its link files

How to remove the files along with its link files either hardlink or softlink?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Link files in unix

Can anyone say some ideas about using/creating link files (for ex., lrwxrwxrwx 1 bin bin 7 Jan 10 2001 bin -> usr/bin) in a shell script. (2 Replies)
Discussion started by: yuvasyntel
2 Replies

2. UNIX for Dummies Questions & Answers

Permissions on link files

Does any one now if you can change permissions on a linked file with out completely removing it and then relinking it? (2 Replies)
Discussion started by: moviestud80
2 Replies

3. UNIX for Dummies Questions & Answers

Link files....

How do you identify the type of a link in the output of the ls -l command? (1 Reply)
Discussion started by: Tom Bombadil
1 Replies

4. Shell Programming and Scripting

link files together

if I have 1000 files, named file1, file2, ... ,file1000. for each one, I want to append a line, for example "this is the end of file#". then, I want to link them all together. how can I do that by using a simple script? (1 Reply)
Discussion started by: fredao
1 Replies

5. Shell Programming and Scripting

compare two files and to remove the matching lines on both the files

I have two files and need to compare the two files and to remove the matching lines from both the files (4 Replies)
Discussion started by: shellscripter
4 Replies

6. Shell Programming and Scripting

How to find link files

How to find the link files. i have main file, now i want to find all the files linked to it. (4 Replies)
Discussion started by: aju_kup
4 Replies

7. Solaris

Nullifying Zero Link Files

How do I nullify a zero link file. Please help me (0 Replies)
Discussion started by: bluenavi
0 Replies

8. UNIX for Dummies Questions & Answers

Nullifying Zero Link Files

how do i nullify zero link files under /proc please help me (4 Replies)
Discussion started by: bluenavi
4 Replies

9. Solaris

Command to remove existing files in the tar files in Solaris 10

Hi, I am using solaris 10 OS.Please help me out with the commands needed in below two scenarios. 1)How to delete the existing files in the tar file. suppose i have a main tarfile named application.tar and it contains a file called ingres.tar. what is the command to remove ingres.tar... (2 Replies)
Discussion started by: muraliinfy04
2 Replies

10. Solaris

Zero link count files in proc

Hi Experts, I had encountered an issue where the zero link process was holding too much amount of data on a Solaris server. I was able to terminate the process after which the space of the file system was released. 40G /proc/8567/fd/2 Can you please let me know if there are any... (11 Replies)
Discussion started by: dhanu1985
11 Replies
switchconf(8)						      System Manager's Manual						     switchconf(8)

NAME
switchconf - Change system configuration to one of many predefined SYNOPSIS
switchconf [ -list | config_scheme ] DESCRIPTION
switchconf is a command line tool that helps nomad laptop users to easily change their configuration. OPTIONS
switchconf takes only one argument. If this argument is -list, a list of all known configuration schemes is returned (found in $conf_top_dirs). If the argument is a configuration scheme, this configuration will be installed on the laptop. CONFIGURATION FILE
The configuration file (/etc/switchconf/conf) is simple. The following entries are defined: conf_top_dirs This specify where are located the configurations schemes. dest_dir This specify in which top directory you want to install the new configuration. This option is pretty useful if you want to debug your configuration without overwritting the actual one. exec_dir_before, exec_dir_after This specify the name of the exec directory : all files included will be executed before or after configuration changes run_parts This specify the path to the run-parts command, that is used to execute the scripts. Leave it empty to use the internal implementa- tion of run-parts. config_method This specify the method to use to copy the configuration files, to their places: softlink, hardlink, copy /etc/switchconf/conf should be written so it is parsable as a shell script - There should be no spaces between the variable name and its value. SCHEMES
You should create a directory for each configuration scheme you define, including all the files it should set in the system. Inside /etc/switchconf the directories you should create the files including the full path (i.e., /etc/switchconf/home/etc/network/interfaces for /etc/network/interfaces). No scheme should be named as either the exec_dir_before or the exec_dir_after, unless the conf_top_dirs is moved out of its default direc- tory, /etc/switchconf. Although it is not really necessary, you should probably ensure that all the files existing in one of the schemes exist on every other scheme, in order to ensure you do not end up in a hybrid state. FILES
/etc/switchconf/conf Configuration file. /var/lib/misc/switchconf.lastcfg Memory file, has the name of the current active scheme BUGS
Actually no bugs are reported. AUTHOR
switchconf was written by Sebastien J. Gross <seb@sjgross.org> switchconf was contributed by Julien Ducros <jul@chezwam.org> switchconf was maintained by Jose Calhariz <jose.calhariz@tagus.ist.utl.pt> 3rd Berkeley Distribution April 2002 switchconf(8)
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy