Ubuntu :: Terminal Deeply Nested Folder
Jun 4, 2011i was wondering what's the fastest way to access a deeply nested folder.
is there a way to 'cd' to the most nested folder given that i know the folder name?
i was wondering what's the fastest way to access a deeply nested folder.
is there a way to 'cd' to the most nested folder given that i know the folder name?
I have an external hard drive mounted at /media/exthdd/ On that hard drive I have folders: Music, Pictures, Videos, etc. Can I make symbolic links to /media/exthdd/Music/ to say the root directory /_ ? the directory /_ is empty I just want a quick method of typing to get me there much like [cd ~] gets me to my home/username folder. I have my music organized by Artist/Year-Album/Track.Title.mp3 I want to be able to "cd /_" then "ls" and see all Artist folders.
View 9 Replies View RelatedI cannot change directory to a more than three folder tree destination folder from ~ in terminal. I've checked everything. No Typos or misspell. The destination folder was recognized by "ls" command but when I went to it, the terminal said, "no such file or directory."
View 7 Replies View RelatedI basically am hoping for a line of bash script I can put into "Open With" for folders so I can get a terminal with the right path. I hate manually typing in paths to places when I am looking right at them in nautilus. "gnome-terminal" doesn't work - it just opens a terminal to ~.
View 3 Replies View RelatedI had a folder named "Rage Against the Machine" in my Home directory which contained a bunch of music files. I opened my Terminal window and planned on moving it to a folder named "Downloads" inside my home folder, so I used this command:
Code:
sudo mv "Rage Against The Machine" /Downloads
Now I can't actually find the folder inside Downloads, which I think it should be. so I even tried running this to find it:
Code:
locate "Rage Against The Machine"
and it couldn't find it either.
Where did it go??
The folder size was approximately 837.6 MB in size total.
I would like to open a folder using the terminal. In case of confusion, I dont mean to cd into the folder, but a command that opens the GUI of the folder.
View 3 Replies View RelatedI am trying to access a folder through the terminal but I am not sure how.
For example, I can access the documents by typing cd Documents. BUT I do not know how I can access a folder that for example has a long name like: scangearm-mp-250series-1.60-1deb.tar.gz
I have been sitting here practising linux commands and I cannot seem to copy a picture from home/pictures to the desktop, specifically a folder I created on the desktop "test"
View 4 Replies View RelatedI am using putty(Windows XP) to connect to one of my remote ubuntu machine. I want to create a shared folder on that machine. Please help how to create a shared folder using terminal.
View 3 Replies View RelatedIn older versions of ubuntu I could use tab to autocomplete folder names multiple times in one command in a terminal, for example:
Code:
tar -cvf myapp.tar --exclude='/var/www/f[TAB]older-name/cache/*' --exclude='/var/www/f[TAB]older-name/sessions/*' /var/www/f[TAB]older-name
Now only the first tab works, is there any way to get this behavior back?
I keep all of my web design work under /var/www/(application_name). Nine times out ten, when I open a terminal, I'm heading to the www folder - cd /var/www. I would love to make that my "home" folder for the terminal, so it would just open there - I know if I ctrl+shift+t to open a new tab it defaults to the same dir, but it would be nice to have the first opened terminal default to there. Is this possible, or is there a better way to go about this?
View 2 Replies View RelatedTried to install Compiz settings manager today.
Fresh install of Ubuntu 9.10 with all the new upgrades.
When i type in: sudo apt-get install compiz-settings-manager, I get this response.
E: Fr ikke lst /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Klarer ikke lse nedlastingsmappa
E: Can not lock /car/cache/apt/archives/lock - open (11: Re.........)
E: Can not access download file
Then it returns to the basic command line, thing.
Ubuntu and am using the 64bit version of Ubuntu 10.04.Now I can access the folders in my home folder through the places GUI, but I can't access them in the terminal. When I begin typing in the terminal and press tab it does not autocomplete, and typing the directory manually says that there is no such file or directory, even though when I type dir or ls they are clearly there.
View 7 Replies View RelatedI have a folder owned by root, I can open it by changing the permissions but then I have to change them back when I'm done, I was wondering if there was a way to use the terminal to open the folder as root without changing the permission on the folder permanently? I am admin and have the sudo password if necessary.
View 7 Replies View RelatedI run Ubuntu 10.10. and I have one annoying problem. When I want to set my Desktop directory in terminal by typing this: "cd ~/Desktop" I get an error: "bash: cd: /home/izvanzemaljac/Desktop: No such file or directory".
I really dont know what to do, I checked Google for this error and I didnt find a solution.
I don't seem to be able to create a new folder in my system files. I know I have to do this in the terminal as root, but I always get the answer that it cannot create the directory because there is no such file or directory. Yet the directory where I want to make the new folder definitely exists (I even just go there and try to create the folder)Here is the exact code:Code:lukas@lukas-VGN-FZ21E:/proc/asound/card0/pcm0p$ sudo mkdir ossmkdir: cannot create directory `oss': No such file or directory
View 4 Replies View Relatedis there a way to password protect a file or folder from the terminal? i wanted to do this because I may have several friends depositing files on my ssh server that they don't want each other to see. Or i might have a file i don't want them to see.I installed cryptkeeper,but it can't take commands from the terminal. Anything else I can try?
View 1 Replies View RelatedI just upgraded from Maverick 10.10 to 11.04 64-bit and I have the following problem: every program that provides an "open file or folder" function such as synapse -> open folder, firefox downloads open folder, deluge open, instead of opening nautilus in the desired folder (default behavior of 10.10), it just opens a gnome-terminal.
View 7 Replies View RelatedWhen you are in Nautilus, can you right-click a folder and choose to open it in terminal?In Ubuntu, I can't do it, any idea?
View 6 Replies View RelatedI have Ubuntu karmic as my host OS and Ubuntu Server as a guest on Virtualbox. I have set a folder on my host as shared with the guest, but how can i connect to it from the terminal on my guest? I am also using webmin as i was trying to stay away from install a desktop
View 1 Replies View RelatedI have a parent folder, with a lot of sub folders. basically, i'd like to bring all the contents from the sub folders into the parent folder, and subsequently delete the sub folders. is there one command for this? or do i need to cp -r over and over again, and then manually delete?
View 1 Replies View Relatedwhen I open a terminal window, I start in my ~/Documents folder. I would much rather start in $HOME - how do I force this to occur??
View 2 Replies View RelatedI used to be able to open a terminal when viewing a folder and the terminal would automatically be in that directory so all I would have to do is type the command. Now, it doesn't seem to work like that. No matter what folder I'm viewing within Konquerer or Dolphin, the terminal is always at the /home folder no matter what. Can I change this behavior and set it to the way it used to work on my old system? (SuSE 10.0)
View 3 Replies View RelatedCurrently if I have folder "/abc/def/ghz" open on Nautilus and I want to run a terminal command on that folder I have to manually open the terminal and go to that folder.I'd like to know if there is a way to have a button or a short cut that'd allow me to open the terminal right in the desired folder.Something like pressing CTRL ALT and have the terminal popup in the the current folder.
View 1 Replies View Relatedi attached file in email using terminal(mutt) but i want to upload folder on my server with terminal , script
View 13 Replies View RelatedJust installed latest Ubuntu (dual boot with XP until settled in) and also installed Evolution as default mail client. All works well. But, I need to import my nested, hierarchical mail folders (over 200) from Thunderbird on XP in to Evolution. Is there any speedier and less laborious way than importing single mail folders and then having to re-arrange them all?
View 2 Replies View RelatedIs there a way for my home folder to not be automatically mounted when i log in? And for that matter a way to change the password from my log in password to something else?
View 2 Replies View Relatedhow do i delete a folder and its contents from terminal? when i tried to delete the folder it returns a- permission error,,-
View 2 Replies View RelatedCode for insertion of data:
Code:
#include <map>
#include <iostream>
int main ()
[code]....
I don't know how to fetch the data from the nested map here.
Following is the declaration:
Code:
std :: map <QString, std :: vector <std :: pair <QString, QString> > > configFileDataVector; How should I insert data in it? All the examples which I have looked up in Google are of plain maps!
I tried this, but it failed:
[Code]...