2022 Developer Survey is open! Take survey.

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]

Filter by
Sorted by
Tagged with
-1 votes
1 answer
41 views

Having issues attempting to backup some old CD Roms [closed]

I've been trying to find a way to back up some of my CD Roms by copying their files onto my computer, but that doesn't actually let me use them when I remove the CD, as it seems to check whether the ...
user avatar
1 vote
1 answer
39 views

Is there a way to reach iCloud's Pages folder via the Terminal?

You can get to iCloud drive from the Terminal using cd ~/Library/Mobile\ Documents/com~apple~CloudDocs/, but that doesn't show you all the same folders you see when you click the iCloud Drive link in ...
user avatar
1 vote
1 answer
42 views

cd-ing to a directory with a lot of spaces--mac terminal

I want to cd to a path with spaces in the folder names, but it doesn't work. I want to navigate straight to a directory which has multiple levels of directories on the way, each with a lot of spaces. ...
user avatar
8 votes
3 answers
2k views

How do I cd into a network share?

I need to connect to a network share with path \\192.165.24.175\04_Top_Image and need to use cmd to cd into it, but I don't know how to cd into it. I know how to go from C: to D:, but it doesn't work ...
user avatar
  • 215
2 votes
0 answers
22 views

Count non-fatal read errors on optical disks

Optical disks use Reed-Solomon codes to deal with limited amount of bit flips and hide them from user. Is there a way under Linux or Windows to count these bit-flips? Essentially I want to find out ...
user avatar
0 votes
1 answer
56 views

How to refresh terminal after function call

I've written a simple function to search the current folder when I press ctrl+f with exa and peco, after I choose a directory I want to cd into it. (ll is modified version of ls) pecofunc() { ll | ...
user avatar
  • 1
0 votes
0 answers
27 views

Is it possible to confirm CD was burned on a particular Operating system?

Is it possible to confirm CD was burned on a particular Operating system? I want to know as this is related to a case study I am working on. It is very important and urgent. If someone has information,...
user avatar
0 votes
0 answers
26 views

BD-RE eject only with disc on it

My BD-RE Drive on pc eject normally only if it have disc on it If there no disc i eject it only by using needle on the hole Why? I opened it and clean it but didn't fix
user avatar
  • 1
0 votes
2 answers
104 views

How to cd in Windows from internal drive to a connected USB drive without using the drive letter?

I am trying to change the directory in PowerShell from my pc to my usb drive. I want to automate this with a script but when I run the script on a different computer the drive letter of the USB device ...
user avatar
  • 1
0 votes
0 answers
40 views

Convert a Live Windows ISO to a Non-Read Only Boot Image

I have a tiny windows boot ISO whos contents is not like a typical windows or windows CD file layout. The ISO boots fine in a VM however I obvioustly cannot customize the OS because the ISO is read ...
user avatar
0 votes
0 answers
50 views

Computer freezes during POST with new CD drive

I work with older computers and received a Compaq Presario 2275 with a non-working CD drive. After cleaning up the computer and testing it (it works fine), I swapped the original 32x CD drive with a ...
user avatar
1 vote
2 answers
694 views

How do I change directory to a path containing spaces in cmder on Windows 10?

I am working with both Docker Quickstart Terminal (Bash) and Cmder on Windows10. On Bash, to change directory to a path where some folder contains spaces, I usually do: cd "D:\my files\etc\etc&...
user avatar
  • 162
1 vote
1 answer
18 views

autocd if and only if the path is a collection of `../`

I'm using zsh & I've aliased .. to cd ... I want zsh to cd to a path if and only if the typed out path is a repetition of .. or ../. The following should auto-cd: .. ../ ../../../../ ../../.. ...
user avatar
0 votes
1 answer
59 views

Is it possible to use it as a laptop external CD player through USB or AV in AV out?

I have a Sylvania DVD/CD player that has a small screen, you can play movies, music from any CD/DVD and SD card/USB on it. Is there any way for me to connect it to a laptop, with the USB male to ...
user avatar
0 votes
2 answers
75 views

Is there a way I can use a Virtual Machine (alternately Windows itself) to use an .iso file as a writable medium?

I have a very specific need. I will have an exam in a couple months and I have absolutely no training in how to burn disks. I had a PC that could do this several years ago but that one's long gone, ...
user avatar
0 votes
1 answer
33 views

On testing compatibility of a new OS with laptop/computer using Live CD

Is testing compatibility of a (new/different) OS with one's computer best done using a Live CD? So, if after booting up from a Live CD, things check out as 'OK', is it fair to assume that a full ...
user avatar
0 votes
2 answers
30 views

Good one-off throwaway medium/method for offline data delivery instead of CD/DVDs?

I need to deliver a few large-ish data archives (5-20 GB each) to other people in the nearby area, but my internet connection is painfully slow, especially the upload. It takes about 3-6 hours for ...
user avatar
  • 128
0 votes
1 answer
24 views

How do you get bash to cd to your previous session directory on login?

I would like to on ssh login, change directory to my previous one. (I'm the only user on my machine).
user avatar
  • 119
-1 votes
1 answer
22 views

Window 8 cd . Product key prompt not appearing [closed]

I bought windows 8 cd . After that When I put in my laptop the screen come with select language and time after that . Window say the product key does not match but I haven't enter the product key the ...
user avatar
  • 1
1 vote
4 answers
747 views

Redirect batch output to cd command

I have a batch file that outputs a path. How can I use the batch file in Windows cmd to change the current directory? What have I tried: F:\>cd my-path.bat The system cannot find the path specified....
user avatar
1 vote
2 answers
145 views

CD past a folder with unknown name but with a fixed format

I want to CD past a folder with a variable but fixed syntax name. The syntax is number.number.number.number I tried to cd to *.*.*.* (I don't know how to format this) but that doesn't seem to work, is ...
user avatar
0 votes
1 answer
75 views

How to change into a directory with a space in its name

I have this directory in CS50 IDE called "cs50 web" and want to cd into it. Unfortunately, I can't seem to figure out how... ~/ $ cd cs50 web bash: cd: too many arguments ~/ $ cd cs50-web ...
user avatar
2 votes
2 answers
2k views

batch file: copy the contents of one file to another file in different directories

I want to create a batch file to combine the contents of two text files: c:\folder1\1.txt with c:\folder2\2.text and then, append it to another file c:\folder3\combine.txt Where the batch file (copy....
user avatar
0 votes
0 answers
34 views

External CD drive fail

How to get rid of a malfunction, caused by a external CD-R/RW drive. The drive worked pretty fine before. It’s the same error at different divces and 'Operating Systems'. Check the attachment at this ...
user avatar
  • 1
0 votes
0 answers
222 views

With a Gigabyte motherboard where I have flashed the BIOS, if I reset the CMOS will it also reset the BIOS to default?

I have a GIGABYTE GA-Z77X-DH3 motherboard. In March 2020 I flashed the BIOS in order to make it compatible with a Windforce graphics card. This caused Windows 7 to think my computer was new and it ...
user avatar
0 votes
1 answer
697 views

How to insert Guest Additions CD image when receiving the below error message?

When I try to insert Guest Additions CD image I get the following in a dialog box: unable to insert the virtual optical disk C:/Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso It’s followed by “...
user avatar
0 votes
1 answer
3k views

Error Using “cd /Desktop , ~cd /Desktop” Commands in Ubuntu Console

I downloaded Ubuntu from Windows Store. I made necessary adjustments but I can't use "cd" and "~cd"commands to reach my desktop it gives error.It says"No such file or directory". How can I fix this?
user avatar
0 votes
2 answers
80 views

Newbie trying to use sources

I am trying to have a simple file which changes the directory where the user currently is. If I run the file using . ./Genesis then the source files works fine. But I want to just use ./Genesis and ...
user avatar
  • 3
2 votes
2 answers
14k views

Can I use a DVD-R to burn a regular audio CD?

I want to burn a regular audio disk (similar to the pre-recorded audio disks) that can be played in any player, not just a computer, using a DVD-R. Would this work? And, if so, is it safe to assume ...
user avatar
0 votes
1 answer
50 views

Windows 10 "does not see" a file on CD burned on Ubuntu

Ubuntu 16.06: I burn a data file to a regular CD by Basero Disc burner. I can see and copy the file if I insert the CD in Win-7, but in Win-10 the CD is empty!
user avatar
  • 1
0 votes
0 answers
19 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
9 votes
4 answers
8k 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.
user avatar
0 votes
2 answers
3k 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 ...
user avatar
2 votes
2 answers
1k 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 ...
user avatar
0 votes
1 answer
2k 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: ...
user avatar
-1 votes
1 answer
153 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?
user avatar
  • 7
1 vote
0 answers
42 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 ...
user avatar
0 votes
1 answer
424 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 ...
user avatar
0 votes
0 answers
233 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{...
user avatar
  • 129
0 votes
1 answer
131 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 &&...
user avatar
  • 10.3k
0 votes
0 answers
484 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\...
user avatar
0 votes
0 answers
32 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 ...
user avatar
0 votes
1 answer
153 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 ...
user avatar
3 votes
1 answer
582 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 ...
user avatar
  • 143
2 votes
2 answers
1k views

How to make "cd ..." goup two directories?

So, currently on macOS I have aliases set up like this... alias ...='cd ../..' alias ....='cd ../../..' This allows me to go up multiple directories by typing in ... in my terminal. However, in my ...
user avatar
3 votes
0 answers
32 views

Is CD tray opening and closing activity natively logged in Ubuntu 14?

I had a CD that I was working from in my workstation and want to know if the tray was opened by anyone else while I was away. Does Ubuntu natively log CD tray opening and closing activity? If so, ...
user avatar
  • 31
2 votes
1 answer
954 views

how to change directory and spin off process

I know how to change directory: cd path I know how to detach a process: command &, nohup command > /tmp/test_output.txt 2>&1 &, nohup command > /dev/null 2>&1 &, ...
user avatar
  • 135
2 votes
1 answer
146 views

How do I check whether a CD is currently in use on Linux?

How do I check whether a CD is in use before I remove it from the VM? It's currently mounted on /dev/sr0 on a Ubuntu 14.04 machine and I need to unmount it for datastore migration. I know it's not ...
user avatar
1 vote
1 answer
596 views

Using CD as a data storage, burning files to CD/DVD

it has been a long time since i have used CD/DVDs in any computer. The last time i remembered using CDs and burning them was during school days burning music into them. Recently i have to create a ...
user avatar
  • 13