tagged [terminal]
Setting the correct encoding when piping stdout in Python
Setting the correct encoding when piping stdout in Python When piping the output of a Python program, the Python interpreter gets confused about encoding and sets it to None. This means a program like...
- Modified
- 11 Nov at 18:28
Change all files and folders permissions of a directory to 644/755
Change all files and folders permissions of a directory to 644/755 How would I change all files to 644 and all folders to 755 using `chmod` from the `linux` command prompt? (Terminal)
- Modified
- 2 Feb at 19:5
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
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
SVN Commit specific files
SVN Commit specific files Is there any way to commit only a list of specific files (e.q. just one of the list of files that SVN wants to commit). I'm working on MAC OS X under Terminal, without any UI...
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 ...
Fastest way(s) to move the cursor on a terminal command line?
Fastest way(s) to move the cursor on a terminal command line? What is the best way to move around on a given very long command line in the terminal? Say I used the arrow key or - to get this long comm...
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 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
How to view unallocated free space on a hard disk through terminal
How to view unallocated free space on a hard disk through terminal I want to view the unallocated free space on my hard disk through terminal. I've burned my brains searching the internet for a possib...
- Modified
- 6 Jan at 22:23
How to open the command prompt and insert commands using Java?
How to open the command prompt and insert commands using Java? Is it possible to open the command prompt (and I guess any other terminal for other systems), and execute commands in the newly opened wi...
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 do I clear/delete the current line in terminal?
How do I clear/delete the current line in terminal? If I'm using terminal and typing in a line of text for a command, is there a hotkey or any way to clear/delete that line? For example, if my current...
How to run Ruby code from terminal?
How to run Ruby code from terminal? I need to run a few lines of Ruby code from terminal, but I can't find the needed parameter for it. Can you explain how to do this?
Color text in terminal applications in UNIX
Color text in terminal applications in UNIX I started to write a terminal text editor, something like the first text editors for UNIX, such as vi. My only goal is to have a good time, but I want to be...
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...
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,...
VSCode Change Default Terminal
VSCode Change Default Terminal I am using Visual Studio Code on my Windows 10 PC. I want to change my default terminal from Windows PowerShell to Bash on Ubuntu (on Windows). How can I do that?
- Modified
- 8 Jun at 12:23
Launch Minecraft from command line - username and password as prefix
Launch Minecraft from command line - username and password as prefix I'm trying to make a simple custom Minecraft launcher thing. According to [the Minecraft Wiki page for the Launcher](http://www.min...
Change the default editor for files opened in the terminal? (e.g. set it to TextEdit/Coda/Textmate)
Change the default editor for files opened in the terminal? (e.g. set it to TextEdit/Coda/Textmate) Is there a way to make files opened for editing in the terminal open in Textedit instead? For exampl...
- Modified
- 23 Jul at 14:39
Docker-Compose can't connect to Docker Daemon
Docker-Compose can't connect to Docker Daemon I am getting an error message saying I can't connect to the docker daemon. I have looked into other people's answers who have had similar issues but it ha...
- Modified
- 8 Aug at 15:8
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 to change the output color of echo in Linux
How to change the output color of echo in Linux I am trying to print a text in the terminal using echo command. I want to print the text in a red color. How can I do that?
- Modified
- 13 Dec at 04:12