Questions tagged [terminal]

A terminal or command-line interface is a text-only interface for interacting with an operating system or a piece of software. A user typically types commands into the terminal to perform specific tasks.

A terminal or command-line interface is a text-only interface for interacting with an operating system or a piece of software. A user typically types commands into the Terminal to perform specific tasks.

Programming standards

Wikipedia articles

See also:

24127 questions
8
votes
2 answers

How to only show current folder and git branch and ~ for home in zsh

Apple changed shell from bash to zsh in its latest OS, so I'm trying to fix my Terminal prompt now :(. I would like my prompt to only contain: current directory I'm in (without the full path) NO username and computer name current git branch…
Sergey Zakharov
  • 1,493
  • 3
  • 21
  • 40
8
votes
4 answers

Command "make:auth" is not defined laravel 6

I am using Laravel 6.2.0 and command make:auth is not defined in my terminal. Is there any solution to that? Noted that Composer has already been updated.
Mostafabd
  • 79
  • 2
  • 4
8
votes
1 answer

How to pass current datetime in npm script for git commit message in Windows and cross platform?

I am working in Windows 10 and trying to use npm script for git commit with message that includes date and time of the commit: "deploy": "cd dist && git add . && git commit -m \"Release at $(date)\" && git push" Resulting git commit message is…
ChrisK
  • 141
  • 2
  • 6
8
votes
1 answer

Perl6 Terminal::Print how to prompt the user for input text?

I'm using the Perl6 Terminal::Print module for a console based application. It's working well - however, now I need to prompt the user for a string of text. What's a good way to do this?
user2145475
  • 657
  • 3
  • 11
8
votes
1 answer

How to Convert .USDz formats to .OBJ or .ABC files?

I have been trying to build a solution to converting from .USDZ to other [3D formats]. Using online options you may convert [3D formats] to .USDz…
Declan Clarke
  • 81
  • 1
  • 1
  • 3
8
votes
5 answers

Mac - Can't Install HomeBrew because Curl is Missing

I tried to install homebrew onto my mac, but I couldn't because curl wasn't found. I typed: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" This returned this error: -bash: curl: command not found So, I…
Omaro_IB
  • 379
  • 1
  • 3
  • 13
8
votes
5 answers

On macOS, how can I find the app's path which opens with “open” command?

In macOS, one of the options to open an application via "open" command would be like so: $ open -a "Google Chrome" $ open -a "GIMP" But I realized that the command above works even if the apps weren't in /Applications nor ~/Applications…
KEINOS
  • 1,050
  • 2
  • 13
  • 32
8
votes
2 answers

Select text using keyboard in linux shell

It is common to not use the mouse at all in a terminal, but it is not easy to find how to select text in a terminal just with the keyboard. Once selected CTRL+SHIFT+C and CTRL+SHIFT+V can be used to copy and paste, but how to select text?
Delirium tremens
  • 4,623
  • 9
  • 46
  • 59
8
votes
4 answers

How to edit a py file from terminal?

I am working in a VM via PuTTY. Via terminal, I want to open, edit, and save a .py file. How can I do it? Thank you for your help.
Ninja Bug
  • 275
  • 1
  • 2
  • 8
8
votes
1 answer

Send buffer to a running terminal window in vim 8

Is it possible to send the contents of a buffer to a running terminal window. That window can be running e.g a REPL for python code. I mean the new terminal feature of VIM rather than external plugins or previous versions.
Stagrovin
  • 177
  • 1
  • 5
8
votes
5 answers

Makefile for dummies? Mac OS X

I am having trouble understanding an answer to a previous question I asked here on stackoverflow located at: More efficient R / Sweave / TeXShop work-flow? The answer in particular is from user: las3rjock who suggests creating a "makefile" and…
baha-kev
  • 3,029
  • 9
  • 33
  • 31
8
votes
4 answers

Xcode and Curses.h with Error opening terminal

I am trying to compile a simple curse project with Xcode. The program compiles fine with g++ in terminal with the flag -lcurses, and runs fine. Started of by creating a Command Line Tool with type c++. imported curses.h into my main. In the…
archieoi
  • 429
  • 1
  • 6
  • 9
8
votes
2 answers

Getting the amount of available lines in a terminal

How can the amount of available lines in a terminal be found? Preferably in a cross-platform manner but any suggestions (even OS-specific) are welcome. The height and length of a terminal can be found using the os module however this does not take…
Xantium
  • 11,201
  • 10
  • 62
  • 89
8
votes
2 answers

How to merge multiple CSV files into one using terminal on MAC OS?

I have the directory with 20 csv files. They all have same headers. I want to merge these csv files into one file. When I'm working on windows, I just open cmd, go to the right directory and use this command: copy *.csv combined-files.csv It does…
Lina Linutina
  • 363
  • 1
  • 2
  • 17
8
votes
1 answer

Simple if statement on python interpreter

Environment: Fedora 27 (GNU/Linux) terminal python3.6.3 I am having problems running this simple lines of code in the python interpreter, this is an only if statement or alone if statement. n = 5 if n == 4: print('n=4') print('done') This…
1 2 3
99
100