Maze Posted November 30, 2014 Share Posted November 30, 2014 This is probably an easy one, but I can't figure it out and it's pretty much not searchable. on a linux-machine i have installed filezilla the filezilla runs pretty well and all is ok. now i need to have the passwd that i have stored years ago. The passprhase is stored in a plain in a file called sitemanager.xmlfile I want to find that file and open it with a terminal command. find . -name *.sitemanager well i thought that this will return the file I'm looking for. Now how do I open it automatically, without typing the name? find . -name *sitemanager.xm | open This doesn't work. It says it doesn't found the open command. question: why it does not work on opensuse? should i use any other command - eg the following: find . -name *xyz | xargs open or find . -name *sitemanager.xml | xargs open or find . -name *.xyz -exec open {} \; and find . -name *.xyz -exec open {} \; . any and all help will be greatly appreciate again: what is wanted and needet is to find out the passphrase in the filezilla-configuration Quote Link to comment https://forums.phpfreaks.com/topic/292809-open-file-found-with-find-command-in-linux/ Share on other sites More sharing options...
kicken Posted November 30, 2014 Share Posted November 30, 2014 So rather than just take 5 seconds to copy and paste the location given by find into your favorite editor and open the file, you post here and wait for an answer? Anyway, I'm not aware of any 'open' command. You'd have to choose which editor you want to open the file in and use the proper command for that editor. For example: find ./ -name 'blah' -exec vim {} \; 1 Quote Link to comment https://forums.phpfreaks.com/topic/292809-open-file-found-with-find-command-in-linux/#findComment-1498134 Share on other sites More sharing options...
Maze Posted November 30, 2014 Author Share Posted November 30, 2014 hello dear kicken many many thanks for the hints - well i looged as root but i had no luck with your command i did also the following linux-70ce:/home # cd.. linux-70ce:/ # grep Pass ~/.filezilla/sitemanager.xml grep: /root/.filezilla/sitemanager.xml: Datei oder Verzeichnis nicht gefunden linux-70ce:/ # grep Pass ~/.filezilla/sitemanager.xml grep: /root/.filezilla/sitemanager.xml: Datei oder Verzeichnis nicht gefunden linux-70ce:/ # grep Pass ~/.filezilla/filezilla.xml grep: /root/.filezilla/filezilla.xml: Datei oder Verzeichnis nicht gefunden linux-70ce:/ # all the results were telling that i have the directory or the file cannot be found...well this is so funny -a. i have installed filezillla on the machineb. the passwd ( or passphrase) is written in a xml-filec- it is written in plaintextby the way - there are more things to do:eg - the the next step i to tomorrow.Use "ls -l /pathtofile/file to print its permissions and find out why. well i guess that this is a key stepi do more tests on this tomorowUse "ls -l /pathtofile/file to print its permissions and find out why. untill theni think that i have to find this - the passphrase is somewhere on the machine.i am pretty sure that we are very very close.btw - i also tried out the followning hope to see you again here ... many many greetings Quote Link to comment https://forums.phpfreaks.com/topic/292809-open-file-found-with-find-command-in-linux/#findComment-1498139 Share on other sites More sharing options...
mogosselin Posted December 1, 2014 Share Posted December 1, 2014 Are you talking about a Filezilla server or client? Also, the find command returns multiple results, not sure how it would work with a command to open it. It would probably just open the last or the first one? (I'm not a Linux expert). And do you have a graphic interface where you can see the 'stars' where the password should be? If yes, maybe there's a tool that would 'unstar' the password. Quote Link to comment https://forums.phpfreaks.com/topic/292809-open-file-found-with-find-command-in-linux/#findComment-1498158 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.