Questions tagged [cd]

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

737 questions
7
votes
3 answers

Jenkins JNLP4-connect connection from xxx.xxx.xxx.xxx failed after the success of build procedure

I got a failure after all the build procedure were finished without any errors. And I don't know why below error has occurred. This error has marked the status of a job as a failure even all the tests were successfully finished. FATAL: Remote call…
user3820288
  • 225
  • 1
  • 5
  • 13
7
votes
2 answers

Trigger pipeline build from sub directory in a monorepo

We're interested in moving a monorepo to git and would like to integrate it with a pipeline based CI/CD. The general pattern we've seen so far is a single pipeline description file at the root of the repo, which implies a single pipeline per repo.…
J Dunbar
  • 81
  • 1
  • 2
7
votes
1 answer

Find location of current script (mlx-file) in MATLAB

I'm working on my MATLAB code in a number of different locations, and it would be really helpful if I could make the code aware of its location on the computer. Till now I worked with .m-files. For .m-files I found the following solutions: %example…
KLJ
  • 131
  • 1
  • 10
7
votes
2 answers

How to move one directory back in unix / linux when path contains symbolic links?

I have created a symbolic link to a deeply nested directory. Using symbolic link i can move to that directory from my home directory. I want to move one directory back from the target directory but the shell comes back to the home…
manav m-n
  • 11,136
  • 23
  • 74
  • 97
6
votes
2 answers

Windows: Write Directly To CD-R Sectors

Are there any libraries or Windows API functions that enable writing to the sectors of a CD-R directly? I am able to read sectors from the drive using the ReadFile function provided by the Windows API but using the WriteFile function on the drive…
Dword
  • 61
  • 1
6
votes
3 answers

How to follow a shortcut in powershell

In powershell, you use cd dir to go into the directory dir. But if dir is a shortcut to a directory, cd dir and cd dir.lnk both give an error, saying that the directory doesn't exist. So how do I follow that shortcut? (In Linux cd dir just works. In…
falsePockets
  • 3,826
  • 4
  • 18
  • 37
6
votes
1 answer

VSTS build failed with Git fetch failed with exit code: 128

I setup a build agent and build process on VSTS. All configuration is ok but build is failed at getting source step. Here is what I have tried: Check permission: Since my profile is owner of this project so I do not specify permission in Roles I…
6
votes
3 answers

How do I cd to the closest parent folder that has a .git folder with bash?

When working on projects that are version controlled I often end up in a nested folder. Using cd ../../ gets a bit cumbersome, so I was wondering if there is a way to define an alias in bash that cd's to the parent until it reaches a folder with a…
user5918874
6
votes
2 answers

knitr with bash: change working directory

I am using knitr for making a markdown report for some bash commands. However, my operations include changing a directory and creating a file there, so it would be ideal if I could use cd in my .Rmd file: make a directory ```{r mkdir,…
user1981275
  • 13,002
  • 8
  • 72
  • 101
6
votes
2 answers

change directory from string

Here is the problem. I have a bash script which getting the path from php script. But it can't change directory to returning path; function go_to_path { path=$(php myscript) echo $path; # is totally okay, printing expected value cd $path; #…
remtsoy
  • 465
  • 1
  • 3
  • 15
6
votes
3 answers

Autorunning program from CD or USB on Win7/8

I work for an IT shop that sees some computers come in with rather nasty viruses. We are working an autorun script that will run a malware killing tool (RKill) when we insert a USB or CD (preferably USB.) We want to run the tool as soon as the USB…
AWarnock
  • 69
  • 2
  • 7
6
votes
1 answer

Cygwin 'cd' command always tells me "No such file or directory"

When i login to the cygwin terminal and type: cd "cygdrive/c/existing/path" it tells me, "no such file or directory". i am sure the path exists... do i miss a special cygwin package, or do i have a false configuration? i am puzzled... It behaves…
thalm
  • 2,738
  • 2
  • 35
  • 49
5
votes
1 answer

how to redraw the zsh prompt after widget action

Using zsh, i would like to add a shortcut to go in parent directory. Easy peasy to do that cdup() { builtin cd .. } zle -N cdup bindkey "your_favorite_key_code" cdup But this does not redraw the prompt, anybody knows how to do it? Binding…
lolesque
  • 10,693
  • 5
  • 42
  • 42
5
votes
1 answer

Write to a CD from Delphi

Possible Duplicate: How can I burn CD/DVD from delphi2007 win32 I am looking for a free and open source component or source code to write to a CD from Delphi 2007. Do you know any?
mtoloo
  • 1,795
  • 3
  • 22
  • 28
5
votes
3 answers

Will jQuery work on a CD distribuited "website"?

Sadly I have to make a website (so to speak website) that can be placed on a CD. My question is, can I use JavaScript and jQuery? Some of the people who get the CD might have IE6 on Win XP installed. Thank you.
Francisc
  • 77,430
  • 63
  • 180
  • 276