Jump to content

I attatched a snippet of the error below.  Basically I am in a folder and I use "ls" to check the name of the next folder I want to enter.  It is clearly there, but when I use CD to get to it, it says "Not a directory".

What is happening?

linux error.PNG

I can help with programming and hardware.

<Script>alert("This website is vulnerable to XSS");</Script>

Link to comment
https://linustechtips.com/topic/730229-linux-cd-command-not-working/
Share on other sites

Link to post
Share on other sites

2 minutes ago, elpiop said:

it's not lying to you, it's not a directory. probably a text file or some config file

welp, i'm a moron, ive been trying to fix this for like 30 minutes, thanks man.

I can help with programming and hardware.

<Script>alert("This website is vulnerable to XSS");</Script>

Link to post
Share on other sites

3 minutes ago, elpiop said:

it's not lying to you, it's not a directory. probably a text file or some config file.

 

you can try to look at it using nano, ie: nano hostapd. Then you'll see if it is.

Additionally, there is the cat and more commands that just print out the contents of the file to the screen.

[Out-of-date] Want to learn how to make your own custom Windows 10 image?

 

Desktop: AMD R9 3900X | ASUS ROG Strix X570-F | Radeon RX 5700 XT | EVGA GTX 1080 SC | 32GB Trident Z Neo 3600MHz | 1TB 970 EVO | 256GB 840 EVO | 960GB Corsair Force LE | EVGA G2 850W | Phanteks P400S

Laptop: Intel M-5Y10c | Intel HD Graphics | 8GB RAM | 250GB Micron SSD | Asus UX305FA

Server 01: Intel Xeon D 1541 | ASRock Rack D1541D4I-2L2T | 32GB Hynix ECC DDR4 | 4x8TB Western Digital HDDs | 32TB Raw 16TB Usable

Server 02: Intel i7 7700K | Gigabye Z170N Gaming5 | 16GB Trident Z 3200MHz

Link to post
Share on other sites

it says there "not a directory"

 

Main PC
CPU: i3-4160. RAM: 2x4GB Kingston ValueRam. GPU: Asus GTX750Ti OC 2GB (Palit StormOC 750Ti Bios). CPU Cooler: CoolerMaster Hyper 212X.
MoBo: Gigabyte GA-Z87-HD3. Storage: 1x Samsung 840 Evo. RAID 0: WD Scorpio Blue 500GB, WD Caviar Blue 500GB. PSU: Corsair CX500M.
Network: some TP-Link card that doesnt support 5.0Ghz. Case: Casecom Neptune CP-626 (the cooler doesnt fit so the side panel stays off).
Mouse: Logitech G430. Headphones: Sennheiser RS195. Keyboard: Lenovo KU0225. OS: Windows 10 Pro

stuff that isnt my main pc
Lenovo Thinkpad Edge E531 - Ubuntu 17.04 (Gnome Desktop)
Raspberry Pi 2 Model B - Not in Use
Raspberry Pi 3 - RetroPie

Phones/Tablets
Samsung Galaxy S3 - Lineage 14.1 (Android 7.1.1)
HTC One M7 - Dead Charging Port - Lineage 14.1 (Android 7.1.1)
HTC One M8 - Dead Sim Port -  Lineage 15 (Android 8.0.0)
Telstra 4GX Plus (ZTE Blade A462) - Android M Stock
iPhone 4S - Dead Battery Sensor (Stuck on too hot warning) - Latest iOS 9
iPhone 5 - MAIN PHONE - iOS 10.3.3

Consoles
Xbox One
Xbox 360 S
PlayStation 2 Fat

Headset: Plantronics RIG400HX 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×