Ubuntu :: How To Find Put The Mount Path Of A Folder
Aug 22, 2010
I mean I have a folder on my root /share and I want to find out how much free space do I have left on the hdd, problem is I have 4 HDD and I don't know if /share is mounted on / or where ..... what is the command line?
My downloads are navigating to my home folder but not being deposited into the download folder as you can see by the screen shot . I don't know how to configure the correct path to the folder
I have somehow managed to wreck the definitions /paths for my Home and Desktop. If I click on Places I now have a "Home Folder" displayed as "Open Your personal Folder", a "Desktop" displayed as "Open the contents of your Desktop in a folder" and a second "Home Folder" displays as "Open '/home/ian'"....and they all point to the same folder which is my personal user file "ian". This is kind of OK except that every file I have now gets displayed on my screen because "Desktop" has a view of these files. Is there any easy way to reset my file directory ? or do I have to backup my files and reinstall Ubuntu.
I have installed Qcad in Ubuntu 10.10(using the Ubuntu Software center), and I want to add the lybraries. Unfortunately I have no idea where the directory of Qcad is. I tried whereis and locate command ... and no results. Even with Nautilus search no results.
In the linux machine we need to mount a folder names sever under apps folder with the user as steve. Also the steve user should have the permission to create the files in the folder. As of now, its mounted as root user.steve is in list of sudo users.
I am trying to zip a directory but when I zip and unzip it, it contains the whole path of the variable "album". I would just like to zip the last folder in the path. Here is what I have now. I tried basename but that didn't seem to work, possible I just can't make it work right.
I'm installing things in a new Red Hat server and saw that the /var folder is full (100%). I need this folder to have more space or another kind of solution because this server is going to be used as a print server.
I'm the server guy which is why I don't know this, but were staging a new webserver and we use some custom perl scripts and as were moving the site over for testing, apache is blowing a perl error;Can't locate web.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/mcp/htdocs/cgi-bin/newgraph.gif line 11.,Now I can copy that file local, but there are a bunch of things, so the question is how do you globally add a folder to the perl search path
I have configured 3 drives on my machine.sda1 less than 10 GBsda2 less than 10 GBsda3 450 GBI have installed a software in /usr/share/MyApplicationand as I see /usr/share stays at sda2 and only 2 Gb is free but my application needs more than 3 GB free to run because it creates a temporary file greater than 3 GB during execution.Knows anybody any way how to make MyApplication stays in sda3 drive.
im linux newbie and im trying to build a small cluster using suse 11 and run in parallel fortran by using MPI. I ve made all the preperation (network communication, ssh, sharing using samba etc). I can access the pc's through network, either with their IP's or their hostnames.Now i have to define in one pc (master node) a path to a shared folder where all other clusters will have full access. Usually in windows we can do this by using something like \hostnamesharefolder_name. This haven't work in linuxWhen i access the folder from another pc i.e through nautilus the path is smp:/hostname/sharefolder but i can't use such a path because i think don't recognize the smp:/ . Is there any way to define universal paths where the clusters will look for them in the network
I'm using fedora 13 to connect to my server's share folder(windows server 2003) and i found that i can create folder,create file, access and open or delete the file in the window share folder, but i can't save or replace the file in the share folder. the error message is like below...there are error copying file into smb://path/folderShow more detail: Invalid argumenti also have attach the pictureby the way....i had disable the firewall and selinux already....but still can't save the file into the window share folder.previously i use fedora 11 and all is ok with no problem, but the fedora13 got this problem, please tell me what cause this happen?
Im writing a script that extracts part of the path name:I drop a file in terminal and set the directory name of the file to x using dirname $0note: ( directory is different every time since not all files are from the same location)
ex. x="/home/Downloads/yesterday/photo/.../image.png" /image.png /.../ means I dont know the name of folders between but I know the path name always starts
I own a web server (centos 64bit with cpanel on it) and my datacenter add me a second hard disk and i want first to locate from ssh where is it (the path) and then to copy my mysql folder /var/lib/mysql to the new disk and have it like this /new/mysql on the second disk.
I am trying to install Staden on a Ubuntu 10.04 machine (64bit). It requires a number of dependencies to be installed prior to configuring the source. I was fortunate to find all of them using the synaptic package manager. now for the configure command I need to specify where these dependencies are as options.
how do I find the programs that I need to reference as options to the configure command such as: tcl, tk, zlib, xz utils, libpng, curl, tklib, itcl, itk, etc. Is there a standard directory that synaptic uses or what?
My situation is that I've got a desktop within my university domain named 'pc1'. There are several other machines in my office as well, e.g., named 'pc2'. Every time, when I want to run some of the codes written by my group, I need to use 'ssh' to connect 'pc2':
Code: ssh -X pc2.cs.xxx.edu cd /home/cs/group1
As my machine pc1 is under the same domain as pc2, is there a method to mount '/home/cs/group1' directly? (I've got the user name and password)
Then I can run the codes under '/home/cs/group1' directly on my machine.
I checked 'mount' command, but hasn't got a clue how to do it.
I am trying to setup my ubuntu machine to automatically log some data I am trying to collect and write the data to a flash drive. I have everything setup so that when the machine boots up it starts that logging process. The problem I am having is that sometimes (not always) ubuntu creates a directory with the same path that I expect my flash drive to mount to i.e., /media/data/ then my flash drive instead mounts to /media/data_/. I need to know the path of the flash drive so I can store my data on it.
I am using VLC to capture video from my webcam. So to set the video device I use /dev/video0 (built in webcam), but I need to specify the path to the built in mic and I can't find what that path is. If it help any, it seem my system is configured to use pulse audio instead of alsa. Is there any script to run to find where my mic is "pathed" at? arecord -l returns this:
$ arecord -l **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog] Subdevices: 1/1
I installed Azureus from their site. It works well. The only problem is when Azureus tries to apply updates, I get this error message:
"The folder <path-where-I-installed-Vuze> is not writable. This will prevent future software updates from being applied."
There was a link the the Vuze wiki, and the problem is that I (or is it the Azureus updater?) do not have permissions to write to that directory, or words to that effect.
How do I apply the proper permissions so that when an update from Azureus is downloaded, it is applied?
The wiki offers this solution:
Quote:
But this looks like something that I have to do manually, each time...
How do I set it up, so that the updater has the permissions and uses the proper password to do it automatically, when I restart Vuze?
I have ubuntu 8.10. In this I could find the binutils, gcc are installed. But when ever I try to know that glibc, glibc-linuxthreads are installed are not. It showing that no package is found. For that I have downloaded glibc-2.3.3.tar.gz, glibc-linuxthreads-2.3.3.tar.gz.I want to install these two package.i dont know where to install as am novice to linux.
just trying to copy a cd to ogg.. can see the music.. can see the burner gui..its asking for the path to the cd right click on the cd icon.. nothing.look in the 'computer' section of places.. useless.look in a load of folders, where it may be.. nothing.
But a) there exists more than one installation of "foobar" on the system or b) I don't know where "foobar" is installed.
How can I find out WHICH foobar resp. WHICH path belongs to the currently active foobar tool?
I prefer a cmdline command with option similar to:
findactivepath -tool=foobar .... Output: Used location=/usr/bin/foobar
I don't want to dig around with PATH investigations by searching every PATH component. Furthermore I don't want to get recommendations and expectations like "normally tools are installed in...". Think of unusual installed software.
On Unix I can call certain programs from everywhere, like sort, pwd or my_custom_script.sh. How can I find out, where on the system my_custom_script.sh really resides?
I'm using bash scripting to find any file that matches a path governed by the following regular expression:
"(monthly|nightly).[0-9]+/home/(user1|user2)/.mailbox/" to match files like: monthly.9/home/user1/.mailbox/l23131564 nightly.15/home/user2/.mailbox/cur/6546213
I have this weird problem. The other day I asked a question about restore the backup file after dual boot installation. I have done the dual boot ( XP installed first) then restored the backup file. Now the problem is that I forgot if I excluded system files from backup or not, so when I restored and rebooted, my installations got messed up, many programs do not find their path to run, etc. But the real problem is when I rebooted again, I got error 15: file not found tried to follow some other posts here to solve this and noticed that running fdisk -l gives me:
I installed a new program called the "Android Notifier Desktop 0.2.1" and within the program it say to use the systems startup manager to start the program with every system boot.I have no idea where to begin looking for the programs file and main start up link.
I am running Debian Squeeze, 64-bit.I would like to try my hand at bash scripting. So at the author's suggestion (first chapter of Chris F. A. Johnson, Pro Bash Scripting from apress) I created a /bin directory in my home directory. So now I would like to modify my PATH statement so that when I run a script from my bin directory my shell will find it.I did that. He then says that I should add this to ".bash_profile, .bashrc, or .profile depending on how bash is invoked." The find command is unable to locate any of these files. So I searched the forum, found the link above and tried to follow that. No luck so I assume that how Debian handles PATH statements has changed since that post?
I also have checked the wiki and worked Google as hard as I know how to do.Very simply where the heck is my PATH statement and how do I modify it?