Ubuntu not connect to internet untill i login on my ssh-server
So right now I'm having it auto log me in so that it will connect to the internet and then I can connect using an ssh-server client so I can do some work on it. So is there a way around this so i can …
Error installing any ruby version with RVM on OSX
Guys I'm about to kill myself with this one! I had some problems with RVM installing multiple versions of Ruby, and following a thread on Stackoverflow I decided to remove it completely. After ...
brew reinstall autoconf returns an Error
after sudo brew cleanup Password: Removing: /Library/Caches/Homebrew/automake-1.13.1.tar.gz… Removing: /Library/Caches/Homebrew/libxml2-2.9.0.tar.gz… I try to brew reinstall autoconf …
Java: Read data from the terminal using Process()
I'm trying to read the response from the terminal while using a command in with the Process()function. I have looked on other examples but I can't get it to work. I wan't to be able to process the ...
Android : Read-only file system.
I'm using a terminal emulator on Anrdroid 4.1.1 device. When I run cat > sample, it says: Can't create sample: Read-only file system. I don't want to root my device. Any workarounds?
Finding the ip address of another computer on the network?
Is there a program which can tell me the ip address of a computer when is connected to my network? A list of names or ip addresses. For example when my wife is on my main desktop computer I can ...
How to run 32-bit programs on a 64-bit system, Ubuntu 13.04
Recently I upgraded my netbook to Ubuntu 13.04 64-bit from Ubuntu 13.04 beta 2 32-bit. I want to be able to run 32-bit programs (such as WPS, which is a clone of MS Office 2012) on my PC. How do I …
Exit LXDE session to login shell using LX terminal (raspbian)
For the record, I am running the latest version of Raspbian on a Model B raspberry pi. I don't know if I am asking this correctly, but I would like to know if it is possible to use the LX terminal to …
Sending audio to multiple airplay speakers from terminal
I want to be able to select all airplay outputs for audio, and send all system audio through all of the airplay speakers, like how iTunes can send to multiple speakers. I know there are GUI utilities …
Why some gnome-terminal tabs look depressed
On my Ubuntu 12.04 Linux 3.2.0-43-generic system with AMD Athlon 64 X2 5000+ cpu, with Unity desktop, ubuntu-2d desktop-session, and Metacity window manager, some of the tabs on a GNOME Terminal ...
How to add commands to terminal
how do I teach a new command to the terminal? I'm a long time Windows user and how I usually do this in Windows is to edit the environment path and add the file path to the command that I want to use. …
Find b'' in command output?
I'm trying to find a specific string from a command output in terminal. It doesn't work however. Here is the command I'm running: check = subprocess.check_output("netctl list | sed -n 's/^\* //p'", …
Default sort order for (P)SCP
Is there a default sort for the order in which PSCP downloads files from a remote server and if so, what is it? I can't get an accurate read on how far along my download is, so I'd like to compare the …
nmon and netstat
I'm currently using netstat -patc or even netstat -vpatc. However, watch is also useful to monitor which programs are using which bandwidth. I like the output of nmon as well, but wasn't able to get …
How to add folder to Spotlight “do not index”?
Is there any way to programmatically add a folder to Spotlight's "Privacy" tab? Either through Terminal or Applescript? Often I want to click on an item in Spotlight results in Finder, and have that …
copy a script on server: permission denied
I wanna install google TTS(an agi script)in a root directory: apt-get -y install libwww-perl wget http://github.com/zaf/asterisk-googletts/tarball/master tar xzf master cd ...
How to run a command with one click, preferably from unity's launcher
I'd like to run this command without having to open up terminal every time. sudo openvpn --config /home/ubuntu/Documents/vpnbook/vpnbook-euro2-udp25000.ovpn --auth-user-pass ...
When I open Terminal, I get an “I have no name!” prompt
Suddenly, this morning, I open a Terminal window and I get this: I have no name!@macbook:~$ whoami 502 ** I am not a number! I am a human being! ** What gives? Anyone know what I need to do to …
Is it possible to check which application has accessed a file last?
I can check when a file was accessed last with ls -lu path/to/file | awk '{print $6,$7,$8}' but can I also see what application accessed it?
make terminal show up when called in a shell script
I am writing a shell script that will execute some application for a specific mime type, and it does it correctly, but when I have echo in my shell script, I dont see any terminal with the echoes ...
Emacs C-. not working in terminal
I use GNU Emacs, usually like emacs -nw which launches the terminal version (as opposed to the windowed GUI version). I write school papers in LaTeX so I use flyspell-mode for spell-checking within …
How to disable EMACS - Prelude colors? (terminal)
I've used PRELUDE to work better in terminal, but I'd love to work with my default Terminal theme(colors). Zenburn-theme comes default with Prelude but It just work great the first time i run emacs …
connect to internet through 3g dongle without network manager
As the title says, can i connect to internet through 3g dongle without network manager? Any terminal / manual way? My purpose is to get connection using dongle in ubuntu server minimal install. Any …
'root' user does not exist?
When I run the su command, the terminal returns: user 'su' does not exist.How do I add the root user? Can anyone answer this? I tried sudo adduser su, but after this, I get the same problem.
Bash is printing (only) one of my aliases before every prompt
I think this is the relevant bit of my ~/.bashrc file: # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors …
LXTerminal and XTerm Resize Command
I want to execute a command in a bash script that will resize the terminal window. In xterm xterm -geometry=30x30 will create a new xterm window, and lxterminal --geometry=30x30 will create a new …
How to find device node on Mac OS X
I'm trying to get a Roland iModela to work on my Mac. Even if stated otherwise by the manufacturer this machine is able to be run by other OS than Windows. I already got it working on a Linux with cat …
Making Hidden Apps Appear Faded Whilst Sitting On The Dock?
Sometimes it can be quite difficult for me to tell which of my apps are hidden on the dock and which are not. Is it possible to make those Apps which I have hidden (either by terminal command or ...
Is there a Mac OS X Terminal version of the “free” command in Linux systems?
On Linux, I often use the free command to see the current amount of free and used memory in the system. For example: $ free total used free shared buffers cached …
How can I open an application using the command line and then close the terminal without closing the opened application?
If I open an application from the command line, say Firefox, the application runs as long as the terminal stays open. Closing the terminal's tab will close the application. Is there a way to open an …