Software :: Cd And Linked Paths ?

Oct 4, 2010

The shell is bash.

The directory path, /this/is/directory/aa, is actually linked to the path /this/is/link/aa.

So when I cd to the aa directory I am in /this/is/link/aa and there is no /this/is/link/bb hence the error with ls.

My question is how does cd understand relative paths and not return an error the way ls does?

View 1 Replies


ADVERTISEMENT

General :: How To Have A Mix Of Linked And Not Linked Files Without Linking Every File

Feb 20, 2010

I've got a shared (Windows/multiuser Linux) laptop, and I've got installed World of Warcraft and some steam games in Windows. With steam games, there is (almost) no problems. I've installed steam in Linux, and soft linked the 'steamapps' directory (per-game compatibility is another issue). With WoW, the problem is different. I would like to have almost (but not) all files. Under World of Warcraft, every file and directory must be linked except the Interface directory and WTF/config.wtf file (so every user can play with their own settings and addons). How can I have a mix of linked and not linked files without linking every file? If I link manually every file/dir, when updating from Linux other users and Windows Wow is not updated; when updating from Windows, new files remains "unlinked".

View 3 Replies View Related

OpenSUSE Install :: How To Add More Paths

Dec 11, 2009

I also have an application installed under /usr/share/myappHow to make a link to the application installed under myapp in to a directory that is already in my env variable?

View 2 Replies View Related

Programming :: Set Different Paths In Makefile?

Oct 8, 2010

at present I compile the same code for different systems (cross compilers)I need to call libs and include paths for the different processors. At present I simply comment out the paths not needed

eg
#INCDIR = -I/cross1/.......
#INCDIR = -I/cross2/.......

[code]....

View 2 Replies View Related

Red Hat :: Displaying All SAN Paths To Disks?

Jan 25, 2011

I'm a storage engineer by trade and have mapped a RHEL 4 server, several LUNs. I've mapped each (HBA Initiator) 4 times to seperate fibre channel ports on a storage array.Is there a RH command to see the device mapped 4 times to the target. I would expect to see something in the output that has the subsystems WWN, such as -

... 50060F9004563210
... 50060F9004563220
... 50060F9004563230
... 50060F9004563240

View 3 Replies View Related

Fedora :: USB Stick Listing - Sdb Linked To Sda

Jul 19, 2011

I've plugged a usb stick into my server.
cat /proc/partitions
8 0 1981440 sda
8 1 990720 sda1
8 2 436288 sda2

However when I do:
ls /dev/sd*
/dev/sda
/dev/sda1
/dev/sda2
/dev/sdb
/dev/sdb1
/dev/sda2

I'm sure I got no other devices connected that /dev/sdb would point to
cd /sys/block/sda
[root@footy sda]# ll
lrwxrwxrwx 1 root root 0 Jul 18 16:27 device ->
../../devices/pci0000:00/0000:00:03.2/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:0
[root@footy sda]# cd /sys/block/sdb
[root@footy sdb]# ll
lrwxrwxrwx 1 root root 0 Jul 18 16:27 device ->
../../devices/pci0000:00/0000:00:03.2/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:1

What does this imply, sdb linked to sda?

View 2 Replies View Related

OpenSUSE :: How To Make Linked Monitors

Aug 15, 2010

I have KDE4 in openSUSE 11.3 on a laptop. And I have this 23" monitor that I can connect to the lappy's VGA socket. So when I'm not travelling I can switch from the lappy monitor to the large monitor.But there are occasions when I want to see 8 or 10 live, dynamic graphs simultaneously.Is there software that will allow me to position the video output across two monitors , horizontally?

View 8 Replies View Related

General :: Listing All Linked Files

Jan 21, 2010

I can't seem to find a way to do this, so maybe it's not actually possible, but I was wondering if there was a way to list all files that link to a file.

For example.

touch a
ln a b
ln a c

I want to find out what files link to a (not symlinks, mind you), assuming that this is more complicated (they are spread around to different directories).

I kind of understand about the filesystem storing links in one area and data in another, so I understand it probably takes more work to find a link from a file location than the other way around.

View 1 Replies View Related

Server :: How Partition Is Linked With Disk

Jan 23, 2011

i would like to have clarification from you.

in /etc/fstab:-
/dev/vgroot/swap0 swap swap defaults 1 2
/dev/vgroot/imf-db /tekelec ext3 defaults 1 2

[code]....

View 2 Replies View Related

Ubuntu :: How To Use Network Paths In Apps

Jan 31, 2011

In nautilus I have but when I need to access that location from dialogs in other apps it doesn't work. E. g., "save page to" dialog in firefox.

View 4 Replies View Related

General :: Not Getting Access To The Needed Paths?

Jun 18, 2011

I have not been on in about a month or 2. I have no idea how to list this thread. I am hoping that someone like tex can help out. Being lazy with ubuntu seems to have been badong. Ok, I had 2 physical machines and 3 vms. VM's ran under Vbox-ose via a bridge. OS's are buntu x2 and one centOS box. I installed webmin to make things easy ( i thought ).However, after setting webmin, my I have been randomly loosing PATH's. I mean, one minuet i can run sudo apt-get and the next the whole PATH is gone. I tried a compare of my "home" box's bashrc and bash_profile against the other machins, and outside of some alias for colr and the like nothing seems to stand out. Even if I su - to root I am not getting access to the needed paths. Now, while I could export the correct path, I am more conserned with the why of it all.

I would have thought that as long as my group setting on my ssh users were all correct AND the environment had not been changed, all would be good. I can provide more info if someone wants to help me out with this. HOwever, it drove me to a six pack. 8SI have read the man pages. I have used google. I have checked the logs. The logs by the way showed a lil hammering on one of the boxes for root access. [I]t wasnt me. However, I dont seem to be able to see a time stamp.

View 3 Replies View Related

General :: Standard File Paths?

Aug 23, 2010

Is there some sort of standards file path convention for installing softwares that I could follow through? For example, I just learnt how to build Nginx from source. But the default binary path set by nginx is "/usr/local/nginx/sbin". I have seen a couple of tutorials which they specify the location of the installed binary and it is very different from those usual default paths. Thus, got me thinking whether is there some form of file path convention that I should follow?Is there some kind of list which states where do those packages on Debian.org Repository usually installed to?

View 6 Replies View Related

Slackware :: Add Font Paths To XPDF?

Mar 12, 2010

Adobe Reader ain't available for 64-bit so I'm stuck with XPDF (or Okular, which is better than XPDF) and most stuff won't print worth a hoot. I've been reading the manual pages and somewhere or other I'm missing some thing about adding font paths (or replacing the default font paths). I have the complete Adobe Type Library plus TTF's installed in /usr/local/share/fonts (and they work just fine with OpenOffice.org) but I can't seem to figure out how to get them or the Slackware-provided fonts available to XPDF.

View 3 Replies View Related

Fedora X86/64bit :: Get The Statically Linked 64 Bit Libraries For GCC ?

Sep 17, 2009

I am relatively new to fedora. We just install a 64 bit server with FC11. Everything seems to work fine until we start to compile and link some of our existing applications that use statically linked libraries such as libm.a. We are using GCC version 4.4.1 20090725.

I search online and there are a few people reporting similar issues. There are no resolution on those questions. And I can't seem to find any repositories that have those libraries. Would appreciate if anyone can direct me to the right place. This is fairly urgent as it is holdiing up the deployment of the system.

View 3 Replies View Related

OpenSUSE Hardware :: Where Do Linked A Tar.bz To Printer Config

Mar 1, 2010

I linked gutenprint-5.2.5.tar.bz in the print config? I am using suse 11.1

View 7 Replies View Related

General :: Removing Linked Soft Link?

Sep 2, 2010

currently i am wanted to clean up my proj area but the problem with rm i am facing is some copy remain in disk with linked i am meaning soft link

A linked to B
B linked to C
C which is on other directory
A & B are on same folder

know when i run

rm -rf A

it removes only A & B but the C remain on the disk how i can remove C from the disk.. using the the same command..

View 2 Replies View Related

Ubuntu :: Desktop Folder Isn't Linked In Any Way To The External?

Feb 8, 2010

I just thought I should signup, been checking this forum for a while and so far it had answered most of my google searches. I'm on Karmic Ubuntu and this problem keeps annoying me since it will probably damage my hdd. It's like this: I seed a lot of torrents and I'm keeping my external plugged in; most of the time it's innactive since no one is leeching old torrents and it stays mounted in stand by, being a LP model.

Now, whenever I access a folder on my desktop to browse or whatever, Nautilus freezes because it takes time to get my external back from the stand by. The problem is that the desktop folder isn't linked in any way to the external, so why is Nautilus refreshing everything including my externals when it gets started ? I have 3 externals and this happens for them all. Did you guys ever experienced this ? I was wondering if there was a fox around this or something, I'm kinda new to linux graphic interfaces.

View 2 Replies View Related

General :: Command To Show Me Which Directories It Linked To?

Mar 25, 2010

Which command will tell me whether a directory is a symbolic link or not?
if it is a symbolic link, is there another command to show me which directories it is linked to?

View 1 Replies View Related

Programming :: How Libc Is Linked In Crosscompiler Chain

Sep 10, 2010

1. I need to use clock_gettime(), in <time.h> it is: extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __THROW; and in a successful build .so it is unsolved. In final app to lonk to this .so it is also unsolved. which lib missed in .so or app build?

2. libc include several libs, which are liked by default? say stdc++, rt? rt1/rt2 what does they do?

3. How to find which libc is used or linked?

View 2 Replies View Related

General :: Compiling Library In Cygwin To Be Linked With VC++

May 21, 2010

I'm interested in modding an open-source turn based game called Advanced Strategic Command or ASC, but to do that I need bunch of libraries. Installing those libraries is very easy in linux, I know but the thing is I'm working with windows in which the building of the libraries is a bit more complex, as you probably know. One of those libraries is the ligsigc++, I'm using VC++ but haven't been successful in building the libsigc++ in VC++. I considered making my life easier with Cygwin (a unix shell for windows) and simply executing ./Configure, Make. I's worked like a charm and the library dll it produced is named cygsigc-2.0-0.dll which made me wonder is compiling a library in cygwin to be linked with VC++ perfectly ok? That is is there any difference in compiling in cygwin and VC++?

View 2 Replies View Related

Software :: Duplicates Or Hard-linked Files ?

Jul 18, 2011

I'm trying to trim down Linux so that it fits on an appliance, and noticed that some related files in /bin have the exact same size:

Code:

Are those file duplicates, or are they just hard-linked, ie. there's really only one file in the flash memory but it looks like there are more than one? How can make sure?

View 7 Replies View Related

CentOS 5 :: Cannot Get The DVD To Show In The Linked Hardware Listings?

Jun 7, 2011

Issue is: I'm using an external USB DVD burner and can not get the DVD to show in the linked hardware listings, so need help getting that mounted. I need it to run the recently installed MONDO.

View 2 Replies View Related

Debian :: Rsync Backup: Which Paths Should Exclude?

Nov 28, 2010

I'd like to backup my whole system to a 2nd disk using rsync (other tools not possible).Which paths should I exclude from the packup?I was thinking about /proc, /dev, the lost+found directories...What other paths am I forgetting?

View 2 Replies View Related

Fedora :: Setting PATHs In .cshrc Or .login

Mar 17, 2011

I'm a csh user. In my .cshrc or .login files, I'd like to add certain directories to my search PATH, but I'd first like to check if those directories are already in the search path before attempting to add them (so don't add the same directory twice). The following isn't working

Code:
if ( "${PATH}" !~ ~/bin ) then
setenv PATH "${PATH}:$HOME/bin"
endif

The problem is that the if-statements always evaluates to TRUE, meaning that ~/bin is always added to the path, even if it's already in the path.

What am I doing wrong in the above regulat expression, or alternatively, what's an easy way to accomplish the same thing?

View 3 Replies View Related

General :: Check If Two Paths Are Pointing To The Same File

Oct 6, 2010

I've got a script to recursively create symlinks in my home directory to my settings directory, to keep the files under version control. I would like it to skip files which are already symlinked via a parent directory. That is, if I have these files/directories:

~/foo/ -> ~/settings/foo/
~/settings/foo/
~/settings/foo/bar

, how do I check that ~/foo/bar and ~/settings/foo/bar are the same file?

Edit: D'oh, another few minutes of searching revealed the answer: readlink -f $path

View 3 Replies View Related

General :: Ruby / Gem Installation Paths Scattered All Over

Apr 11, 2011

Trying to understand my ruby folder structure? Why my gems are scattered all over and why they aren't recognised commands. I'll explain how my installation looks like first:
/usr/bin/ruby
/usr/bin/ruby1.8
/usr/bin/ruby1.9.1

The first is a soft link to ruby1.9.1 because the "ruby" command didn't work in the terminal. I did the same with "gem". I installed rubygems through downloading, extracting and then running setup.rb here: (I created the "ruby" folder)
/home/pc/ruby/rubygems-1.7.2/setup.rb
/usr/bin/gem
/usr/bin/gem1.8
/usr/bin/gem1.9.1

I installed a few gems with "sudo gem install"
> gem list
*** LOCAL GEMS ***
compass (0.10.6)
haml (3.0.25)
mustache (0.99.3)
rake (0.8.7)

So far so good? Well not quite, as it turns out the command "compass version" doesn't seem to exist. My confusion grows with each folder I look into. The following path doesn't make any sense to me, for example. Why would it be hidden? Why is mustache the only gem inside this folder?
/home/pc/.gem/ruby/1.9.1/cache/mustache-0.99.3.gem

First of all, here is "gem environment", which makes even less sense, because I have definately installed rubygems-1.7.2 like I told you in the first paragraph, but here it shows an ancient version 1.3.7. Why? I installed Ubuntu the day before yesterday.
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /var/lib/gems/1.9.1/bin
- RUBYGEMS PLATFORMS: .....
Ruby --version returns "ruby 1.8.7"...........

Also, as it turns out, all gems are installed into this folder (mustache too! even though it already is inside the other folder), just as "ruby environment" claims:
/var/lib/gems/1.9.1/gems. But none of these gems work. I can't call any of these, except rake. So here is where I probably made the mistake, I think I used "apt-get install rake" in addition to "gem install rake", because the command "rake" wasn't recognised, and the command prompt suggested it. I may have done so with rubygems too... I'm new to Linux, and I figured that the command prompt knew how to install this stuff properly. It can't be normal that I have to create syslinks all over, right? In Windows I didn't run into this problem.

View 1 Replies View Related

General :: Use ZFS On Linux Easily - Without Paths Like /var/run/zfs - Or As Non-root

Sep 3, 2011

When I asked about filesystems with compression I got recommendation to try ZFS. Looks like it worth trying, however I find tools that manage ZFS (zfs, zpool) quite overcomplexified - you need to create some volume, then add it, then create filesystem on it. And finally it suddenly created things in root directory like /qqq/test and it uses /var/run/zfs/zfs_socket (strange for a filesystem).

How to use ZFS (with FUSE) without it's complicated things with volumes, just as good filesystem with compression, something like mount -o loop image.zfs /mnt/qqq -t zfs-fuse?

How to setup ZFS as non-root? FUSE usually means "user can use it too" (example: ntfs-3g). I expect something like this:

Can ZFS be more usual FUSE filesystem that I can add to /etc/fstab and user can install and use on its own?

View 1 Replies View Related

Ubuntu :: Device Paths Change After Ever Reboot?

May 2, 2011

After I reboot my Ubuntu 10.04.2 LTS l machine my device paths change (even the boot drive) and this causes havoc on my two RAID5 arrays. The device paths change and causes a mismatch in my fstab and I have to manually mount both RAID arrays every time. It's quite frustrating and annoying and I would love for it to stop. This even happens for the boot path.

Example: my boot path is /dev/sde5 I reboot my machine and my boot path changes to /dev/sdm5

Why does this happen? And more importantly how can I stop it from happening so it stops messing with my RAIDs?

View 3 Replies View Related

Programming :: Using An Array In Bash For Mutiple Paths?

Mar 29, 2011

I'm trying my hand at arrays in bash for a backup script. Now I not sure if this is the correct thing to do and just look at website and amended but does'nt work. Could someone tell me where I'm going wrong

LOG_DIR="/home/ops/Desktop/temp"
array[0]=3
array[1]=/home/ops/Desktop/dir1

[code]...

View 8 Replies View Related

General :: Using Locate - All Paths That Contain Element /bin/ But Only One Instance Of Each One

Jun 18, 2010

I want to print, using locate, all the paths that contain the element /bin/ but only one instance of each one. If I issue 'locate /bin/' then I have many screens of text with, for example,

/usr/bin/foo1
/usr/bin/foo2
/home/me/bin/foo3
whereas I want to see only
/usr/bin/foo1
/home/bin/foo3

That is to say, if in two lines /bin/ appears with the same prefix (in the example above the prefixes would be /usr and /home/me) I only want to print the first line. Can I pipe locate to grep to do this? I've mentioned locate because it does not scan the whole disk.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved