[SOLVED] FATAL: Failed to open file - No such file or directory but file exists
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
FATAL: Failed to open file - No such file or directory but file exists
hello
whenever i try to use medusa it says; FATAL: Failed to open file /root/desktop/10000.lst - No such file or directory
but the file exists on my desktop i personally make a file using this command " nano 10000.lst " then i put 10000 words in to it, then ctrl+x then Y and then i moved this file to my desktop
i also changed it to .txt but didn't work
here are commands i use, but non of them works, always the same thing happens
im using kali linux 64 bit vmware image on a virtual machine
here are some thing that may help you find out if i've logged in as a root user
" terminal says root@kali "
" username is 'root' "
" there is not any warning to tell me ( you logged in as a root user be careful of what you're doing ) kali linux light kept showing this warning "
root@kali:~# ls /
0 dev initrd.img lib64 mnt root srv usr vmlinuz.old
bin etc initrd.img.old lost+found opt run sys var
boot home lib media proc sbin tmp vmlinuz
root@kali:~# ls /
0 dev initrd.img lib64 mnt root srv usr vmlinuz.old
bin etc initrd.img.old lost+found opt run sys var
boot home lib media proc sbin tmp vmlinuz
Use this command to find the actual path of your file. Then plug it into your medusa command.
Code:
find / -name 10000.lst
worked although it shows the same path
" root@kali:~# find / -name 10000.lst /root/Desktop/10000.lst "
i copy pasted the path into the terminal and it worked...
Linux directory and file names are case-sensitive.
So, if you want to refer to the file that's on your desktop, use:
/root/Desktop/... instead of /root/desktop/...
ahhh yeah right desktop doesn't work while Desktop works
i didn't know i have to pay attention to upper and lower cases
thanks for your time you helped me alot
Congrats. I'd like to throw out some advice too. Kali is an advanced distribution for penetration testing based off of Backtrack - well sort of anyway - Kali is debian based and Backtrack was some live distribution. Anyway.
If you are having a hard time with just moving around the file system, you might want to take a step back and learn the basics first, before pushing ahead into the distribution. Here are some beginner links from google if you are interested.
Congrats. I'd like to throw out some advice too. Kali is an advanced distribution for penetration testing based off of Backtrack - well sort of anyway - Kali is debian based and Backtrack was some live distribution. Anyway.
If you are having a hard time with just moving around the file system, you might want to take a step back and learn the basics first, before pushing ahead into the distribution. Here are some beginner links from google if you are interested.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.