Skip to main content

All Questions

Tagged with
0 votes
1 answer
149 views

Is the cd command temporary?

Attempting to change my working directory... In the command prompt, my input was: cd F: Command prompt returned: F:\ Then another line appeared, reverting my working directory back to: C:\Users\caden ...
cadenpolen's user avatar
1 vote
4 answers
2k 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....
Daniil Palii's user avatar
1 vote
2 answers
184 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 ...
Mathias Maes's user avatar
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 ...
TomLisankie's user avatar
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: ...
Joe Pena's user avatar
2 votes
1 answer
2k 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 &, ...
MetaStack's user avatar
  • 135
2 votes
1 answer
148 views

Make and open linux directory with one commmand

Instead of doing: mkdir build cd build or: mv build build_2017_03_03 cd build_2017_03_03 What is one command that does both?
user1271772's user avatar
0 votes
1 answer
1k views

Change Directory (cd) shortcuts

This has to have a simple answer, but when I try search for "cd", all the search results relate to compact disc instead of the linux command. cd .. takes me to the parent of the current directory I'...
Luis Negrete's user avatar
2 votes
1 answer
4k views

How does `pushd` exactly behave regarding path with slashes `/`?

Consider the following commands given from a cmd prompt: D:\test>cd D:/ D:\>cd /test D:\test>pushd D:/ The syntax of the command is incorrect. D:\test>pushd "D:/" D:\>popd D:\test&...
Antonio's user avatar
  • 407
1 vote
2 answers
616 views

How do I list files when changing directories using tab completion in Windows?

With UNIX command cd, when you press tab to complete a file/dir name and there are multiple options, it does an ls. How can I get this behavior in command prompt with cd? When you tab complete with ...
travis1097's user avatar
0 votes
3 answers
283 views

Cannot change directory with cd in DOS using Win7

I would like to change my Present Working Directory in DOS (I am running Win7 professionnal). When I perform a cd D:\, nothing happens: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 ...
jlandercy's user avatar
  • 125
1 vote
3 answers
676 views

Good way to bookmark/navigate relative directory paths?

I work on a linux system with bash 4.x where I frequently find myself navigating different copies of very deep (and large) file directory structures. However, in reality I only need to access a ...
Setjmp's user avatar
  • 357
24 votes
3 answers
118k views

Why doesn't "cd D:" change the command context to D:? [duplicate]

Possible Duplicate: Using cd Command in Windows Command Line, Can't Navigate to D:\ Every time I want to change directory context to another drive (D, E, F, or whatever..) on a Windows ...
Diogo's user avatar
  • 30.5k
5 votes
0 answers
783 views

Why wouldn't cd <drive letter>: work? [duplicate]

Possible Duplicate: Using cd Command in Windows Command Line, Can't Navigate to D:\ I am in the C partition and I type at the prompt: c:\> cd d: ... and it echoes: d:\ c:\> ...so ...
Andrew-George Hondrari's user avatar
5 votes
11 answers
2k views

How to minimize typing when frequently changing directories?

What are some good Linux commands to make switching between different directories on the command line easier? I often have to switch between different directories with long names, e.g. cd foo/20100801-...
dehmann's user avatar
  • 2,323

15 30 50 per page