tagged [terminal]
How to move the cursor word by word in the OS X Terminal
How to move the cursor word by word in the OS X Terminal I know the combination + to jump to the beginning of the current command, and + to jump to the end. But is there any way to jump word by word, ...
- Modified
- 1 Jan at 07:57
Can't access mysql from command line mac
Can't access mysql from command line mac MySQL on OS x 10.6 is located in `/usr/local/mysql/bin/mysql`. I get command not found when I type `mysql --version` in the terminal. Is this because the socke...
How to edit a text file in my terminal
How to edit a text file in my terminal I'm using Linux mint and using the vi command to create text files, now that I created a text file and saved it. How do I get back into to edit the text file aga...
- Modified
- 29 Feb at 08:46
How can I increase the cursor speed in terminal?
How can I increase the cursor speed in terminal? How can I increase the cursor speed in terminal? I have Mac OS X by the way. It would also be interesting to know it for Linux. I don't know what I sho...
- Modified
- 22 Dec at 19:24
How to get Linux console window width in Python
How to get Linux console window width in Python Is there a way in python to programmatically determine the width of the console? I mean the number of characters that fits in one line without wrapping,...
How can I set my default shell on a Mac, e.g. to Fish?
How can I set my default shell on a Mac, e.g. to Fish? I do not like to retype `fish` every time I start terminal. I want [Fish](https://en.wikipedia.org/wiki/Fish_(Unix_shell)) on by default. How can...
How to navigate to to different directories in the terminal (mac)?
How to navigate to to different directories in the terminal (mac)? I have just installed sass and I am now tryring to access the sass file. For example: and the error is "no such file or directory" - ...
How can I get the current date and time in the terminal and set a custom command in the terminal for it?
How can I get the current date and time in the terminal and set a custom command in the terminal for it? I have to check the time in a Linux terminal. What is the command for getting date and time in ...
- Modified
- 29 Dec at 00:3
How to run ~/.bash_profile in mac terminal
How to run ~/.bash_profile in mac terminal So I'm installing some things for coding and personal usage, and I need to run this in the terminal (I'm on Mac if you didn't read the title). `~/.bash_profi...
Add pygame module in PyCharm IDE
Add pygame module in PyCharm IDE I've downloaded `pygame-1.9.1release.tar.gz` from the Pygame website. I extracted and installed it and it's working fine in the command line Python interpreter in Term...
- Modified
- 11 Feb at 12:7
List of ANSI color escape sequences
List of ANSI color escape sequences On most terminals it is possible to colorize output using the `\033` ANSI escape sequence. I'm looking for a list of all supported colors and options (like bright a...
- Modified
- 22 May at 20:16
How to call VS Code Editor from terminal / command line
How to call VS Code Editor from terminal / command line The question says it all. How can I open VS Code editor from - - e.g. for notepad++ I write `> start notepad++ test.txt` By the way, the editor ...
- Modified
- 17 Feb at 19:51
How do I invoke a text editor from the terminal?
How do I invoke a text editor from the terminal? In the Windows command prompt, I can type `notepad helloworld.cpp` which will then create a file with the name and open up Notepad for me. Is there a s...
- Modified
- 9 Apr at 09:58
Open new Terminal Tab from command line (Mac OS X)
Open new Terminal Tab from command line (Mac OS X) Is it possible to open a new tab in Mac OS X's terminal from the command line in a currently opened tab? I know that the keyboard shortcut to open a ...
Git says "Warning: Permanently added to the list of known hosts"
Git says "Warning: Permanently added to the list of known hosts" Every time I use git to interact with a remote, such as when pulling or pushing, I am shown the following message: > Warning: Permanent...
- Modified
- 9 Sep at 15:15
How do I find the width & height of a terminal window?
How do I find the width & height of a terminal window? As a simple example, I want to write a CLI script which can print `=` across the entire width of the terminal window. ``` #!/usr/bin/env php
- Modified
- 7 Sep at 17:22
How to examine processes in OS X's Terminal?
How to examine processes in OS X's Terminal? I’d like to view information for processes running in OS X. Running `ps` in the terminal just lists the open Terminal windows. How can I see all processes ...
count number of lines in terminal output
count number of lines in terminal output couldn't find this on SO. I ran the following command in the terminal: and this displays the list of files where the keyword curl occurs. I want to count the n...
How to make the tab character 4 spaces instead of 8 spaces in nano?
How to make the tab character 4 spaces instead of 8 spaces in nano? When I press TAB in `nano` editor, the cursor will jump with 8 spaces like this: how can I set the tab stop width to 4 spaces to dis...
- Modified
- 25 Jun at 05:52
How to run a specific Android app using Terminal?
How to run a specific Android app using Terminal? I installed Eclipse and Android SDK already. Everything is running fine. I want to install an .apk file so I follow the instruction already. But the p...
- Modified
- 3 Dec at 18:38
Show colored compilation errors in C++ on Terminal
Show colored compilation errors in C++ on Terminal Is there any way to show compilation errors in colors on the terminal? I mean when we do "g++ filename.cpp", is there a way to show the compiler mess...
How to use terminal services programmatically
How to use terminal services programmatically I want to access remote server using my program (C# .NET) and execute there a program in the context of connected user, just like using Remote Desktop. I ...
- Modified
- 13 Nov at 23:47
How to execute a Ruby script in Terminal?
How to execute a Ruby script in Terminal? I've set everything up that I need on my Mac (Ruby, Rails, Homebrew, Git, etc), and I've even written a small program. Now, how do I execute it in Terminal? I...