Questions tagged [cd]

cd is the "change directory" command offered by most shells. For CD-ROMs, please use the [cd-rom] tag.

737 questions
5
votes
3 answers

Identifying CDs

I'd like to be able to determine what music album CD is in a CD drive. For example, if someone claims that the CD in their drive is Eminem - The Eminem Show, I would like to be able to verify that the CD is indeed The Eminem Show. Any ideas? I've…
core
  • 32,451
  • 45
  • 138
  • 193
5
votes
0 answers

Running 'cd' command in my npm script

I would like to run an npm script that contains cd folderName/ or cd ../www/folderName/ but it seems that npm is unable to run the cd command nor is it able to run the cp command (i installed cpx which seems to work well with it). Any solution for a…
penguinsource
  • 1,120
  • 3
  • 16
  • 40
5
votes
1 answer

Why does ls ~/.ssh work but not cd ~/.ssh?

If the ls command lists the contents of a directory, then some output to ls ls ~/.ssh id_rsa id_rsa.pub known_hosts But why then, when I type cd ~/.ssh…
CodyBugstein
  • 21,984
  • 61
  • 207
  • 363
5
votes
1 answer

How can I tell if an optical drive (not the disc) is a CD or DVD drive?

As stated in the title, I'm trying to determine if a drive DVD drive or a CD drive. Again, I am not asking about the media, I'm asking about the actual drive itself... the object pointed to by a DriveInfo class. I'm thinking the DriveInfo class…
Mark A. Donohoe
  • 28,442
  • 25
  • 137
  • 286
5
votes
1 answer

Bash completion to make 'cd' command complete working directories from other running shells?

I'm trying to write a bash completion that will let me complete directory names that other shells are in. For example, suppose I have another shell open in /very/long/path/name, and I'm currently in a directory that contains subdirs foo and bar.…
Thomas
  • 174,939
  • 50
  • 355
  • 478
5
votes
2 answers

AIFF-C file cannot be read with aifc module in python

I am trying to read a compressed .aiff file stored on my local directory. I get this; >>>import aifc >>>s = aifc.open('/Users/machinename/Desktop/folder/AudioTrack.aiff','r') Traceback (most recent call last): File "", line 1, in
Bedi Egilmez
  • 1,494
  • 1
  • 18
  • 26
5
votes
2 answers

what does this linux command do: "cd !!:1"

In linux command cd, after make a dir, I can use "cd !!:1" to enter it, but what exactly does !!:1 mean, I can't search it by google, because it include special chars.
Eric
  • 22,183
  • 20
  • 145
  • 196
5
votes
2 answers

alias - cd followed by ls

How can I define an alias so that when I do cd Abcd, where 'Abcd' is the name of a directory, the directory is changed to 'Abcd' and is followed by ls to show the contents of the directory?
Reza
  • 203
  • 1
  • 8
5
votes
4 answers

customizing cd command

Generally I keep directory specific settings in .bashrc and whenever I change directory execute the command source .bashrc to make those settings effective. Now I was thinking of manipulating cd command in ~/.bashrc, so whenever I cd to new…
peeyush
  • 2,841
  • 3
  • 24
  • 43
4
votes
1 answer

Parametrized pipeline in GoCD?

I'm evaluating GoCD if we would be able to use it instead of Jenkins. Is there any way how to create a parameterized pipeline like parametrized jobs in Jenkins? In Jenkins, we're using these parameters in some jobs which are executed manually to…
Ludek Vodicka
  • 1,610
  • 1
  • 18
  • 33
4
votes
2 answers

how to resolve warning ''using a subshell to avoid having to cd back'

The folder structure like this: folder_01 ├── folder_02├──Dockerfile_02 ├── folder_03├──Dockerfile_03 & example.sh In the example.sh script, I want to use cd to navigate back to folder_02 and use the dockerfile_02 to build an image and then…
wawawa
  • 2,835
  • 6
  • 44
  • 105
4
votes
1 answer

Configuring sops/helm-secrets in flux

I currently have Flux and the helm operator installed in my cluster via the helm charts. The flux deployment is monitoring a git repo where I have a .flux.yaml which I pass a folder context via the flux deployment git-path flag. This is used to run…
WMiller112
  • 213
  • 1
  • 2
  • 8
4
votes
1 answer

CD in Azure PowerShell Failure

In powershell cd works, but not in my Azure Cloud Shell. What am I missing? Copied session shows me trying to get into quickstart directory (which was created in the powershell shell) Welcome to Azure Cloud Shell Type "az" to use Azure CLI 2.0 Type…
ΩmegaMan
  • 29,542
  • 12
  • 100
  • 122
4
votes
0 answers

Reading files from CD using HTML5, webkitdirectory takes more time compared to reading local files

I have a web application which allows the user to upload DICOM and Non-DICOM files to their account. I am using JavaScript, HTML5, Webkitdirectory, Chrome and Datatable to populate selected files on UI. The issue i am facing is - While selecting…
4
votes
1 answer

GitLab Runner Unable to clone repository

I have registred gitlab runner to the gitlab instance. My registered URL is as follows: http://azurestackgitlab1.southeastasia.cloudapp.azure.com/ci However while running the build for that project; build is getting failed and giving the below…