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.
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".
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.
Firefox opens file listing instead of Nautilus opening file listing.When I access a folder via "Places" -> "Home Folder" or "Places" -> "Downloads", Firefox opens and list the contents of the directory.I have re-installed Nautilus, un-installed Firefox and then going to "Places" -> "Home Folder" or "Places" -> "Downloads" launches Nautilus and I can view the contents normally. Anybody else had this problem with Firefox ? Anybody know how to fix this Firefox problem ?Running Ubuntu Desktop 9.10 64bit.
I tried to upgrade to Leonidas from Cambridge, but didn't have enough space on the partition /, so I soft linked /var/cache/yum (or whatever) to a larger partition, but now the upgrade does not find the subdirectory called preupdate (it's there in the linked dir, checked). Is there any more sofisticated way around than changing parition sizes and copying and stuff?
Is the command "ls -d" meant for only listing directories? Because i tried it and it ALWAYS display just a blue dot. If not what is the correct way to show only directories? I.e. MSDOS equivalent "dir /ad".
As stated , gvfs is extremely slow when browsing smb shares.Mount cifs runs in a third of the time gvfs takes.Often gvfs hangs up while listing.I've searched and see tons of noise about it but no real signal.Does anyone here have any info on gvfs as to why it's so slow browsing?"Name : gvfsArch : x86_64Version : 1.6.2"
Within the mv() command is there any way to not need to type the entire directory location? In the example there are directories with varying depths... I want to move a file from depth 2 to a directory of depth 3 when the directory of depth 3 is within the directory of depth 2. Basically, can I cp() andor mv() a file to a subdirectory without having the enter the entire directory location?
Code:
[root@xxx dir]# ls dirD1 [root@xxx dir]# cd dirD1/dirD2 [root@xxx dirD2]# ls
I am preparing for RHCE. While doing the lab I renamed /etc/grub/grub.conf as grub1.conf. Now (obviously) system boots on grub> prompt. Can I recover without using a bootable CD? Another problem that I encountered was, while doing lab for fdisk, I used command umount -al. Now, fdisk -l is not listing the partitions but giving a message:- /proc/partitions does not exist. If I reboot the system this is restored.
Does anyone know of a script / program that will give me a listing of all the content on my hard drive(s)? I have two drives that I keep my content on (which is re-downloadable if I lose a drive). In the event that I lose a drive, I would like to have a list that I can refer to so I know what I need to re-download again.
It would be good if it doesn't list *every* file but maybe only the relevant folders and files. For example, many folders are extracted archives of 100's of files. If it just gave me the folder name that would be better than all the files (less stuff to sift through).
i was writing a .img file to my usb stick with ImageWriter, but it didn't seem to do anything so i clicked the close gtk button and pulled the stick out of my pc. now my pc gives my an when i try to open the stick. is there any way to fix this. I can use win xp pro, win xp media center, win 7 starter, ubuntu 9.10 and ubuntu 10.04
I'm about to ditch Freenas as my NAS software and make it an Ubuntu server box. The mainboard is an Asus AT3ION-T dual core Atom board. Freenas runs happily from USB stick. I have no optical device to install Ubuntu from and would like to install Ubuntu Server to a USB stick.
I have a problem that I'm not sure how best to debug. About every other time when I boot my system, I get a condition where listing the files in /root locks up that xterm session.This can be cleared by opening another xterm window and killing the listing command. This happens on "ls -a", "find", "tar" and I think "stat" also. The locked up xterm echo's chararcters but does not respond to any control sequences. This is new with FC11.This has only been seen to happen for root. And once a system is booted with this problem it seems to persist until you get it booted without the problem.
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?
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.
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?
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?
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++?
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?
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.
i have 2 boxes w/ squeeze/gnome. my home one has bigger HDDs (to me anyway), so i can install/trick out for days. my work box however, has a single paltry 12Gb HDD (and no, i can't afford to run out and buy a bigger one).my question is this: can i slim down my gnome install my removing what are to me at work, non-essential apps (evolution, totem, etc)? if you try to remove any of these in synaptic, it says it will ALSO remove gnome altogether.
I could not solve examining the start and stop scripts. When I boot (default runlevel 5) my system all log messages are displayed on /dev/tty1. After the boot process has finished and kdm is started no more console messages are displayed on /dev/tty1. Instead all console output is redirected to /dev/tty7. When I change the runlevel from 5 to 3 boot.msg shows
Code:
Changing back to runlevel 5 gives
Code:
Why kdm redirects console output to /dev/tty7 instead of /dev/tty1?
I have an essential problem with Gnote. Although a word is linked it is not clickable nor underlined. Basically there is not any sign showing that the word is a link. It looks like an ordinary word. However, when I select it then "Link" button becomes enabled and if I click to that button it takes me to the linked point. I think it is a very basic problem but strangely I haven't found anything about it in my searches. Is this Gnote's normal behavior? I have Ubuntu 10.04 and had this problem in both Gnote 0.6.2. and 0.7.2 (latest release).