Unable to connect to Github for the first time
Question This is my first time with Git and I’m trying to set it up on my box. I added my key to my profile in the Github web interface. When I try to connect… : max@linux-vwzy:~> ssh git@github.com...
View ArticleHow to configure the ANSI colors of the command line terminal
Question I specifically use bash on Mac OS X, but I think the answer would be Unix-generic. I’m already using ANSI colors, but I’d like to reassign different colors to folders, hidden files, etc....
View ArticleWhat does an arrow (“->”) symbol mean on the command line?
Question I’m working with Terminal (Mac OS X), but I think this is a built-in part of Linux. Sometimes, when I execute a command, Terminal returns a new, indented line with just -> on the line. It...
View ArticleQuit an application in OS X Terminal
Question I’m fairly new to OS X. I am testing a PHP application that runs continuously in a loop. When I run this application from the terminal, the machine name disappears and the application proceeds...
View ArticleHow to spawn a terminal when executing a compiled C program?
Question I’ve overwritten the gnome-screenshot program to suit my needs in getting a screenshot from a secondary home-made graphics card output and now when I press the PrintScreen button it executes...
View ArticleGrep in Mac OS X’s terminal — only displaying one color
Question I am used to grep being able to color the filename, the line number, and the match itself. These three ought to be different colors. This works flawlessly on a Linux terminal and even MinGW on...
View ArticleUsing SCP or SFTP with my ssh config file?
Question Perhaps my google-foo is failing me here… I’d like to connect and upload a mysql dump file via terminal using SFTP or SCP to my remote server using my ssh config file. According to...
View ArticleHow do I fork a process that doesn’t die when shell exits?
Question If I run emacs from the shell: $ emacs foo & and then kill that shell, emacs dies. How can I run a command so that it will not die when the shell dies? I found references to nohup, but...
View ArticleBinding a command in tmux without using the prefix key
Question Is it possible to bind a tmux command to a key combination and use it directly without first pressing the prefix? I find C-b + n too cumbersome to switch panes, so I was wondering whether I...
View ArticleCan I remove the ctrl-z key binding in my shell?
Question The background for this question: I currently have to do a lot of my work in terminal over ssh, and I use screen quite a bit. Because I found the ctrl-a key binding for screen commands so...
View Article