About 27,100 results
Open links in new tab
  1. change of directory is very slow - Unix & Linux Stack Exchange

    Oct 10, 2017 · from time to time changing to a directory (through terminal) launches git process which takes 100% of CPU time and up to 5-6 seconds during which my console is absolutely unresponsive. …

  2. bash - Script to change current directory (cd, pwd) - Unix & Linux ...

    I want to run a script to simply change the current working directory: #!/bin/bash cd web/www/project But, after I run it, the current pwd remains unchanged! How can I do that?

  3. How can I change my bash prompt to show my working directory?

    I can print my current working dir like this myPrompt$ pwd /Users/me/myDir I want my shell to look like this /Users/me/myDir$ pwd /Users/me/myDir Is that possible? How can I do it?

  4. bash - How do I change the extension of multiple files? - Unix & Linux ...

    To change extensions of files in directories recursively, replace the second line (for...) with two lines: shopt -s globstar and for f in **/*.$1. Requires Bash 4+.

  5. bash - How do I start all shell sessions in a directory other than ...

    Jul 4, 2014 · This works well in git bash as well. Just remember to restart the bash shell or use (I think) "source ~/.bash_profile" after changing the file.

  6. How to cd automatically after git clone? - Unix & Linux Stack Exchange

    I want to automatically cd to the directory created by the clone command after I git cloned something. Important: I don't want to alter the syntax for the command (e.g. use an alias/function) beca...

  7. How to change directory in shell script running in zsh shell

    Jan 19, 2024 · I am working on a shell script (shell used, its version and OS are below). The script runs commands in a local git repository/directory with has several tags. The script outputs some string …

  8. "bash: warning: setlocale: LC_ALL: cannot change locale" - misleading ...

    Dec 21, 2022 · Why write "cannot change locale"? I did LC_NAME=qq_QQ.UTF-8 (non-existent? locale) and the result is same - warning, locale output updated. I've noted there is no warning only in case …

  9. bash - Creating an alias to Change Directory and have that directory be ...

    I'm trying to create a convenience alias that will change directories and then start a node server in that directory. I have it working for the most part, there's just one little issue that I can't

  10. How to apply dos2unix recursively to all the contents of a folder?

    Using bash: shopt -s globstar dos2unix ** The globstar shell option in bash enables the use of the ** glob. This works just like * but matches across / in pathnames (hence matching names in …