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
10
votes
5 answers

OSX + Terminal.app + Emacs + make command key operate as meta

I'm on OSX Lion I running emacs inside of Terminal.app I want command-x to result in M-x (and in general, command -> M) I have tried the following solution and they're not what I want: mapping command to Meta globally in system preferences mapping…
user1311390
9
votes
5 answers

OS X Find in bash with regex digits \d not producing expected results

I'm using the following regex find command in OS X terminal to find a whole load of files that have 8 digit file names followed by either a .jpg, .gif, .png or .eps extension. The following produces no results even though I've told OS X/BSD find to…
juliushibert
  • 404
  • 1
  • 5
  • 14
9
votes
5 answers

beginner installing nosetests package

I'm trying to install the following as per the learnpythonthehardway tutorial: pip from http://pypi.python.org/pypi/pip distribute from http://pypi.python.org/pypi/distribute nose from http://pypi.python.org/pypi/nose/ virtualenv from…
ZCJ
  • 499
  • 2
  • 9
  • 17
9
votes
1 answer

Difference between Bash shell and Bash terminal?

Ok, I hope this question makes some sense but what is the difference between a bash shell and a bash terminal? Example. When I first open up terminal I have a prompt with my current dir and my user name. In the terminal window header it says -bash-…
Gmenfan83
  • 2,487
  • 5
  • 30
  • 34
9
votes
2 answers

Change file extensions of multiple files in a directory with terminal/bash?

I'm developing a simple launchdaemon that copies files from one directory to another. I've gotten the files to transfer over fine. I just want the files in the directory to be .mp3's instead of .dat's Some of the files look like this:…
CokePokes
  • 941
  • 3
  • 12
  • 25
9
votes
1 answer

Getting line count of all files in project in sorted order.(Bash terminal)

I have this folder contiaining a lot of *.cpp and *.h files. I want to get a line count of all the files and display them to the screen in sorted order of line count. I know wc -l *.h *.cpp will display all the file names with line count, but not…
smilingbuddha
  • 14,334
  • 33
  • 112
  • 189
9
votes
2 answers

Remove Glyph at End of Truncated Lines

When using Emacs 23 in a terminal with truncate-lines enabled Emacs adds a dollar sign to the end of each line, indicating the text continues past the edge of the screen. This bothers me and I would like to disable this feature or somehow hide the…
joshwbrick
  • 5,882
  • 9
  • 48
  • 72
9
votes
4 answers

How to call method in jar file with terminal?

I have a compiled project in a jar file and I need to call a method from it.How can I do that in ubuntu terminal?
shift66
  • 11,760
  • 13
  • 50
  • 83
9
votes
9 answers

Redraw screen in terminal

How do some programs edit whats being displayed on the terminal (to pick a random example, the program 'sl')? I'm thinking of the Linux terminal here, it may happen in other OS's too, I don't know. I've always thought once some text was displayed,…
Jarek
  • 1,320
  • 3
  • 11
  • 19
9
votes
4 answers

Stop emacs from wrapping 80 column lines in an 80 column terminal?

In an 80 column wide terminal emacs wraps 80 column lines, putting a backslash in the 80th column. Is there a way to tell emacs to use all 80 columns of my terminal and not wrap lines until they reach 81 characters?
James Darpinian
  • 103
  • 1
  • 5
9
votes
1 answer

How to change default integreated terminal in VS Code to kitty, on Linux?

I'm using kitty (it's a terminal) on Linux, and I want it to be used in VS Code as default terminal (which appears when I click Ctrl+`). Right now VS Code uses its own terminal with name "vscode". I tried modifying settings by adding…
Chaz Ashley
  • 389
  • 1
  • 15
9
votes
1 answer

module 'collections' has no attribute 'Mapping', issue on MACOS for SDK installation

I tried to install Google Cloud SDK, on macOS, but it shows following error. Can anyone help please? "Welcome to the Google Cloud SDK! Traceback (most recent call last): File "/Users/kaab/google-cloud-sdk/bin/bootstrapping/install.py", line 12, in…
Khan
  • 121
  • 1
  • 1
  • 4
9
votes
5 answers

I have encounter an error "Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)"

when i run sudo apt update It shows :- E: Failed to fetch http://packages.microsoft.com/repos/code/dists/stable/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository…
Scorpio
  • 111
  • 1
  • 1
  • 5
9
votes
1 answer

Is there a way to configure PuTTY or other terminal to flash the taskbar on next output to stdout?

I'm specifically looking for a solution for PuTTY but also interested for other terminal emulators, like Gnome Terminal. My thought is it would be useful if I start a tar zxvf to be able to set a trigger on the terminal emulator, minimize it, and…
er1234
  • 257
  • 1
  • 3
  • 12
9
votes
2 answers

Python Upgrading leads to terminal... not opening

I just upgraded python in ubuntu to python 3.10 to use the match/case statements, but now, my terminal won't open. Anywhere. I tired opening it on Visual Studio Code, but it says the path does not exist. Gnome terminal and terminator won't even give…
Rafael Monteiro
  • 307
  • 3
  • 5