10-15-2004
When you did this command
ln -s x.sh ./scripts/y.sh
it created a link from ./scripts/y.sh to x.sh. If you had done a ls -l ./scripts/y.sh, you would have seen that it was
scripts/y.sh -> x.sh
which means it was setting up the link as scripts/y.sh to scripts/x.sh
You should have done it as
ln -s ../x.sh ./scripts/y.sh
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I was wondering is it possible todo something like following:
A) Settings:-
- 2 servers on the network
- both can be reached via /net/SERVER1/datadir and /net/SERVER2/datadir
- i'm running rsync to syncronize the data coming to server1 from whatever application
B) Wanted:
on other... (2 Replies)
Discussion started by: Bashar
2 Replies
2. UNIX for Dummies Questions & Answers
I have just tried to make my first shortcut aka symbolic link.
I entered this command:
ln -s /one/two/three/four/help/admin admindirectory
to make a link called 'admindirectory' that would take me to:
/one/two/three/four/help/admin
It seems to have created a directory called... (5 Replies)
Discussion started by: Sepia
5 Replies
3. UNIX for Dummies Questions & Answers
hello folks
how y'all doin
well i have some questions about symbolic link and hard link
hope some one answer me
i open terminal and join as root
and i wrote ln -s blah blah
then i wrote ls
i see red file called blah blah
but didn't understand what is this can some one explain and... (2 Replies)
Discussion started by: detective linux
2 Replies
4. Shell Programming and Scripting
Hi,
i am trying to create sym links on sles 11 , but it seems i am doing something wrong.
oracle@tests:/u01/app/oracle/oradata/ACIS> pwd
/u01/app/oracle/oradata/ACIS
oracle@tests:/u01/app/oracle/oradata/ACIS> ln -s /db/ACIS/dbase/dbf/ /u01/app/oracle/oradata/ACIS/... (2 Replies)
Discussion started by: tonijel
2 Replies
5. Shell Programming and Scripting
Hello All,
This may be a silly question to some but I am really stuck.
Is there a way to reverse the following;
sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh
It was part of a driver compile/installation procedure by Digi for Ubuntu stating that dash isn't supported and a symbolic link... (2 Replies)
Discussion started by: LAVco
2 Replies
6. Shell Programming and Scripting
Hi all,
Can anyone please confirm if the command below is the only way that I can get what the symbolic link is set to?
mnlxd110(oracle)/db/posd2/dba$: ls -l | grep "^l"
lrwxrwxrwx 1 oracle dba 28 Aug 9 2011 bdump -> diag/rdbms/posp1/posp1/trace
mnlxd110(oracle)/db/posd2/dba$:... (7 Replies)
Discussion started by: newbie_01
7 Replies
7. UNIX for Dummies Questions & Answers
Hi everybody,
I read about treads realted to this issue but they did not resovle issue given below.
Please help me resolve issue given below
I have html file under /srv/www/htdocs/actual_folder
ls actual_folder/
test.html
and following link works... (0 Replies)
Discussion started by: newbielgn
0 Replies
8. Shell Programming and Scripting
how to list all symbolic link can i use find / path -type l (1 Reply)
Discussion started by: avtalan
1 Replies
9. How to Post in the The UNIX and Linux Forums
how to list all symbolic link, can i use find / path -type l (2 Replies)
Discussion started by: avtalan
2 Replies
10. UNIX for Dummies Questions & Answers
Hi, trying to understand more about symblic link, when I compiled a program called "match" in one folder ~/downloadsoftware/I want this program to be accessible like a system command by putting a symbolic link in /usr/bin/ Not by setting the $PATH method in .bashrc at this time.
What I did is:... (4 Replies)
Discussion started by: yifangt
4 Replies
LEARN ABOUT V7
dh_installmodules
DH_INSTALLMODULES(1) Debhelper DH_INSTALLMODULES(1)
NAME
dh_installmodules - register kernel modules
SYNOPSIS
dh_installmodules [debhelperoptions] [-n] [--name=name]
DESCRIPTION
dh_installmodules is a debhelper program that is responsible for registering kernel modules.
Kernel modules are searched for in the package build directory and if found, preinst, postinst and postrm commands are automatically
generated to run depmod and register the modules when the package is installed. These commands are inserted into the maintainer scripts by
dh_installdeb(1).
FILES
debian/package.modprobe
Installed to etc/modprobe.d/package.conf in the package build directory.
OPTIONS
-n, --no-scripts
Do not modify preinst/postinst/postrm scripts.
--name=name
When this parameter is used, dh_installmodules looks for and installs files named debian/package.name.modprobe instead of the usual
debian/package.modprobe
NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLMODULES(1)