Questions tagged [cd]
`cd` is the command-line command for navigating the directory tree. It stands for C(hange) D(irectory). For the optical disc, please use [compact-disc]
125
questions
0
votes
0
answers
20
views
Simulate slow burn progress
I'm working on a "Burn Service" feature for a bigger application and find myself needing to burn a lot for testing. Problem is, mounting drives results in lightning fast burning and that's bad for ...
0
votes
1
answer
3k
views
Converting IDE optical drives to SATA with an adapter - not recognised in BIOS or OS
My wife's 10 year old desktop computer failed some months ago, which necessitated the purchase of a more modern motherboard.
The original motherboard had both IDE and SATA ports and the computer has ...
9
votes
3
answers
16k
views
Run "cd" command as superuser in Linux
Is there a way to run the cd command with superuser privileges to gain access to directories that are owned by root? When I run sudo cd <path>, I get sudo: cd: command not found.
1
vote
2
answers
5k
views
Not able to change directory in powershell
cd C:\Users\Rupesh Kumar\Documents
There is a space between "Rupesh Kumar" which doesn't allow me to change the directory but it is working in CMD.
Set-Location : A positional parameter cannot be ...
2
votes
2
answers
2k
views
Running `whatis cd` always returns "nothing appropriate" on Ubuntu 18.04
I was just playing around with the whatis command. For some reason, whenever I run whatis cd, I get cd: nothing appropriate. What does this mean? Why is this? It seems there is no man entry for cd ...
0
votes
1
answer
3k
views
On Git Bash, I get an error `cat: /dev/fd/63: No such file or directory` whenever I run the cd command
I've been trying to find out by this problem is happening, I'm using Windows 10 and this error occurs on Git Bash.
Whenever I run the cd command to change the directory, I get the following error:
...
-1
votes
1
answer
762
views
How do I tell if a CD disc was burned 3 days ago or 3 months ago by physical inspection? [duplicate]
Is there a way to tell when a disk has been burned by inspecting the disc for its physical features?
1
vote
0
answers
43
views
Why does `cd /../` not return an error in bash? [duplicate]
In bash (or, I'm assuming, any linux shell), I would expect cd /../ to return an error. I interpret that to be asking for the parent of the root of the directory tree. Since it's the root of the ...
0
votes
1
answer
759
views
How do I mount an ISO and remount using the same mount point to a different ISO in Windows 10?
It helps to give my problem some context. I want to install some software on a laptop that doesn't have a CD drive. The installation media composes of 4 CDs installed in series.
What I did was ...
1
vote
0
answers
559
views
Why is my udev rule called twice?
I am working on CentOS 7. I wrote a udev rule in order to start a service each time a cd is inserted.
The udev rule is the following :
KERNEL=="sr1", SUBSYSTEM=="block", ACTION=="change", ENV{...
0
votes
1
answer
165
views
Basic bash if statement with hg fails
I'm running Cygwin. I came across the following snippet of Bash code from the FFmpeg Wiki's guide to compiling FFmpeg:
cd /ffmpeg_sources && if cd x265 2> /dev/null; then hg pull &&...
0
votes
0
answers
2k
views
Windows %CD% variable with "&" in foldername in batch file
I noticed that the variable %cd% and most of it's variants doesn't support "&" characters as a result only haf of the patch will be visible. An example:
echo %CD%
gives:
D:\Documents\1# Data\...
0
votes
0
answers
34
views
Windows - CD to the most likely folder
Is there a possible way to run cd (i.e navigate) to a given folder without mentioning its full name?
For instance, given the following structure:
- lorem
- ipsum
- delor
Is there any option to ...
0
votes
1
answer
305
views
Add %CD% to PATH in command.com - note that cmd.exe fix does not work
Goal: Issue a simple command to add the current directory to the PATH statement. Rather than type in every agonizing stroke, I would rather call a batch file, say xpath (where xpath.bat sits in an ...
3
votes
1
answer
939
views
Is Audio from a SATA CD Drive via SPDIF Output Ever Converted?
I assume your typical SATA CD drive in a PC is outputting a digital signal via the SATA cable when it's playing an audio CD. If you output that sound through your motherboards spdif output, ie Realtek ...