how do i redirect a USB tty (arduino) to a file in Macos X 10.6 in Terminal ?
"screen /dev/tty.usbserial... 9600"
works, but
"cat /dev/tty.usbserial..."
does not, but blocks.
I'd like to take an IP address from my Terminal, right click, select Services Whois and get the results back somehow.
This doesn't exist so I'm wanting to create a simple Automator script to do that. But, I'm running into a few problems.
This is what I've done - Automator Actions:
Get Specified Text
xxx.xxx.xxx.xxx
Run Shell Script
for x in "$@";
do whois $x;
done
View Results
But all I get in View Results is this:
(
""
)
Any suggestions?
When I run something like:
$ konsole -e "sleep 30"
I get this message
Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices.
But if I try to run this:
$ gnome-terminal -e "sleep 30"
Then it is fine, and it does not throw any error.
How can I change the read/write access of the Konsole to the PTY devices?
Do you know any way to introduce a notification feature to putty client? I would like to setup some regular expressions or simply text strings and be notified (by sound or some tooltip) when this content appears in stdout.
If not specific in putty, how can I get it done?
There used to be a similar feature in older version of KDE's konsole terminal, but even now I can't see it.
I am unable to run psql with my normal Mac user account in Terminal session, although I can do it using the postgres service account). When I enter the command psql mydb and type my password, I get the following message:
WARNING: password file "/Users/beh/.pgpass" has group or world access; permissions should be u=rw (0600) or less
But I cannot find .pgpass.
How do I set up and add users to my PostgreSQL 9.1 database on Mac OS X 10.6.8?
Hi,
Is it possible for me to ssh to another server in linux (ubuntu), run a program there but display it locally?
And is it possible for me to ssh to another server in my terminal,
and configure it so that all graphical program (Firefox, emacs) run in that SSH session will be display locally?
Thank you.
I tried following the example from here (http://catcode.com/teachmod/chmod_cmd2.html):
Open up publicity.html for reading and writing by anyone.
Before: -rw-r--r-- publicity.html
Command: chmod og=rw publicity.html
After: -rw-rw-rw- publicity.html
Here's my terminal session:
username@ubuntu:/etc$ -rw-r--r-- bash.bashrc
-rw-r--r--: command not found
username@ubuntu:/etc$ chmod og=rw bash.bashrc
chmod: changing permissions of `bash.bashrc': Operation not permitted
username@ubuntu:/etc$ -rw-rw-rw- bash.bashrc
-rw-rw-rw-: command not found
I have installed MAMP on OS X Snow Leopard (10.6.8) and I want to change the default path for PHP.
I tried both of the answers on this question, and on this question, and in this thread but when I'm trying which php in Terminal I still get /usr/bin/php.
I'm starting to get the impression that I'm doing something profoundly wrong, so any idea about what that might be, will be greatly appreciated.
Thanks in advance.
I have computer with installed Ubuntu. By default hard disc name consist of sequence numbers and letters, which not easy to remember and input in terminal. How to change hard disk name in Ubuntu? Which file to change? Thanks in advance.
I am trying to get a simple script to run automatically at startup. A friend told me to do this but it did not work. Could someone take a look to see what it is missing?
*(Also I am brand new to linux, so this is pretty foreign to me)
Here is what I was told to do:
In terminal
sudo nano /etc/init.d/obabp.sh
Then enter this text:
#!/bin/bash
sudo python /home/pi/gits/RPi-OBABP/src/obabp.py
save file and then
$ sudo chmod +x /etc/init.d/obabp.sh
$ sudo shutdown -r now
That's my problem: I've added a new user in our NBX v3001 3com (now hp) and all the incoming calls are diverted, without ringing, to the voicemail.
The phone is a Sip Endpoint Terminal and I really don't have a clue why this is happening since I've installed other identical phones without troubles.
I've also tried deleting and re-adding the user and changing the extension: nothing.
Any hints to solve?
I'm trying to create a scheduled task that runs a shell script recurrently, and I'm having some trouble getting it to work. I give it the following command to run every minute:
~/Desktop/foo/my_script
But it doesn't ever run. (This command runs the shell script through the terminal no problem.) Any ideas what I'm doing wrong? Thanks!
Is it possible to turn off anti-aliasing for the text editor in Flash Builder on the Mac?
For Flex Builder I was able to do this via the terminal using the following
defaults write com.adobe.flexbuilder AppleAntiAliasingThreshold 20
defaults write com.adobe.flexbuilder AppleSmoothFixedFontsSizeThreshold 20
I am a little frustrated having to use to separate USBs for booting on mac and windows. Is there a way that I can have the version for mac and the version for windows on one USB? or even better, one version that can be booted on both? I have heard of multibootiso, but I'm not entirely sure that it will work on imac.
If needed, I am willing to use terminal to make this happen, even if its a long complicated process.
I am using Mac OS X Snow Leopard and when I type
ls c *
this is what I get in my terminal:
clock:
PSD demo.html jquery.tzineClock script.js styles.css
clock2:
clojure-presentations:
Clojure-1up.pdf ClojureInTheField-1up.pdf license.html
Clojure-4up.pdf README
ClojureForRubyists-1up.pdf keynote
coffee-script:
Cakefile README bin examples index.html package.json test
LICENSE Rakefile documentation extras lib src vendor
By default I am using Bash.
I've just begun to use the Terminal in Mac OS X and I've found the man command very useful, although very often the explanations are too compact or complicated for me. I am looking for a very basic reference guide – like O'Reilly makes, for example. But in there I didn't find an entry for basic commands like ls or ln and a layman's explanation of all the flags and options.
Could anybody recommend me something?
I have a fresh install of Windows and a Linux OS that I can't access, how do I fix this? I do not have the .iso/disk for Linux anymore.
So I figured, I can install Cygwin and through that install Grub, but I am used to Linux Mint, which uses apt-get. I have used CentOS before which uses rpm, but how do I install and use packages in the Cygwin terminal, and is it possible to install Grub through Cygwin?
I mounted a remote samba with Nautilus (sftp://). Is there a way to see where is it mounted on the local file system ? I want to be able to browse it from terminal too.
Hi;
as far i know the rdp session is 2 session maximum in win 2003, is there any way i can connect 3 remote session concurrently ?
also i tried many times to connect using the console mode, but it seem like i have only 2 session 1 console and 1 using the regular terminal services rdp session ?
hI,
I am trying to install the terminal multiplexer tmux on my Debian Lenny server so that I can have multiple terminals through ssh.
However I have had a lot of difficulty installing it from the debian package, and by compiling it. When I try the package it says something about the wrong version of libc6, and when I compile it I get the following error:
server.o: In function `server_start':
server.c:(.text+0x273): undefined reference to `event_reinit'
collect2: ld returned 1 exit status
make: *** [tmux] Error 1
Help would be very much appreciated,
RayQuang
Several days ago Google Chrome stoped working after an update.
If I start it in the terminal I can see the following output:
[6:6:4528137750:FATAL:sandbox_init_linux.cc(378)] prctl(PR_SET_NO_NEW_PRIVS) failed: Invalid argument
Any idea how to solve this?
Chrome version: 20.0.1132.47
Ubuntu: 12.04 x64
Kernel: 3.2.0-21-generic #34-Ubuntu
EDIT:
It is possible to start chrome with --no-sandbox switch.
Hey
I been bugging with this problem for some hours now. And I couldn't find the answer on google so I try it here.
The problem is that when I run emacs in cygwin in -nw mode characters like åäö doesn't come out normally. However it is perfectly normal when I type those character in mintty terminal. The answer that I found on google is that I should type M-x standard-display-european however emacs doesn't have that option. It only found standard-display-cyrillic-translit
I'm using Arch Linux + xmonad + urxvt bundle and trying to resolve the conflict between xmonad and urxvt. Better to explain with shots:
Firstly, open the terminal and get some full-length output.
Secondly, create another window, which squeezes the first.
And, finally, close it to find out that half of the output disappeared.
Sometimes it behaves correctly, sometimes not. Tried to find out why, but failed.
Many thx in advance!
I have mounted a Windows share using the GUI in Ubuntu. Now I would like to access it using the Terminal application. However, I don't know its path. I thought it should be in /mnt, but it isn't there.