F5F Stay Refreshed Software Operating Systems Navigating to a specific folder within your home directory.

Navigating to a specific folder within your home directory.

Navigating to a specific folder within your home directory.

L
LoveKnights
Member
82
10-09-2023, 12:59 AM
#1
You're learning Linux and facing challenges with the cd command. It seems you're trying to understand how to navigate directories and run scripts effectively. The issue might be related to how your file paths are structured or how you're using the terminal. When dragging a script, it works because the system recognizes the file type and context. For running scripts, ensure you're using the correct path and that your environment supports them. If you're unsure about file paths, double-check your directory structure and consider using relative paths when possible.
L
LoveKnights
10-09-2023, 12:59 AM #1

You're learning Linux and facing challenges with the cd command. It seems you're trying to understand how to navigate directories and run scripts effectively. The issue might be related to how your file paths are structured or how you're using the terminal. When dragging a script, it works because the system recognizes the file type and context. For running scripts, ensure you're using the correct path and that your environment supports them. If you're unsure about file paths, double-check your directory structure and consider using relative paths when possible.

S
Stonecrazy
Junior Member
11
10-09-2023, 01:52 AM
#2
Thanks for the feedback. I changed all my file names to lowercase, which was a helpful suggestion. Eventually, I managed to launch my server using just the terminal.
S
Stonecrazy
10-09-2023, 01:52 AM #2

Thanks for the feedback. I changed all my file names to lowercase, which was a helpful suggestion. Eventually, I managed to launch my server using just the terminal.

J
JamTheJoker
Member
102
10-09-2023, 02:34 AM
#3
Navigate through folders using tab completion. Scripts require chmod 755 or execution as sh. Basic note: run from current directory, use cd .. to go up, cd returns to home.
J
JamTheJoker
10-09-2023, 02:34 AM #3

Navigate through folders using tab completion. Scripts require chmod 755 or execution as sh. Basic note: run from current directory, use cd .. to go up, cd returns to home.