Skip to main content

All Questions

Tagged with
0 votes
5 answers
2k views

Little clarity needed about: PC and Mac and Unix

I've always thought that a PC and A Mac were two different computing platforms, not just with in their operating systems (Windows & Mac OS) but different from hardware to thier respective internal ...
Bimlik's user avatar
  • 87
0 votes
2 answers
731 views

Start tmux session with only one window but several panes

I'm trying to configure tmux so it starts creating a new session with three panes. One big pane on the left und two small panes on the right side. I set set -g default-terminal "screen-256color" ...
fooness's user avatar
  • 51
0 votes
2 answers
494 views

Connect to the right serial port in Unix

Background I'm trying to connect to a device using UART though a micro-USB cable and GNU screen from Ubuntu and OSX. On both Ubuntu and OSX I can get the most recent serial connection with the ...
Atcold's user avatar
  • 317
0 votes
4 answers
2k views

bash - directories ending in . and whitespace cannot be removed

On my external hard drive are two directories, Fun. and Complex_, where that _ is a whitespace. I cannot empty from my trash or remove them with rm -rf and I want to. Neither show up in Finder on OSX,...
cheezsteak's user avatar
3 votes
1 answer
417 views

Setting the $SHELL environment variable

For some reason, when I run chsh -s /bin/zsh, my $SHELL environment variable isn't getting set. When I run: echo $SHELL It outputs: /bin/bash
LandonSchropp's user avatar
0 votes
2 answers
242 views

Can I use `which` command for partial match?

I want to find all programs with name like "gcc", "gcc-4.2", "gcc-4.9" and so on. To find all binaries I tried with which -a gcc*. But "*" is not recognized as 'any' with which command. Is there ...
ironsand's user avatar
  • 2,339
0 votes
1 answer
337 views

Are SSH remote connection passwords encrypted?

When I try to connect to my SSH remotely, will the password I send to authenticate my user account be encrypted when it's transferred over the internet?
user's user avatar
  • 223
0 votes
1 answer
2k views

How to have a complicated two way sync using rsync preserving deletions

I have gone thorough similar questions on stackoverflow but they dont cover the situation that I would like to ask here. I have all my music files on my remote machine. I would like to sync them to ...
Goje87's user avatar
  • 131
1 vote
1 answer
3k views

Map `php` at the command line to point to `/usr/bin/php`?

For some reason using php at the command line references /usr/local/bin/php instead of /usr/bin/php. How can I make $ php script.php the equivalent of running $ /usr/bin/php script.php? Current ...
Ryan's user avatar
  • 425
4 votes
1 answer
4k views

OSX / Unix: move odd or even numbered files

I have a folder with a range of numbered files (camera images) and I'd like to move every other image into a different folder, so either all the odd numbered images, or all the even ones. How can I do ...
Jamie's user avatar
  • 143
0 votes
2 answers
4k views

Pass arguments to Unix executable in Mac terminal

I'm pretty new to Unix coding and would like to work on a few simple networking projects. I found a few tutorials that are exactly what I am looking for - this one in particular: http://www....
Cbas's user avatar
  • 105
0 votes
2 answers
581 views

can a .screenrc key binding contain variables?

I'm working on a customer .screenrc for Screen and I can't seem to find a way for it to support variables. Here's what I'm trying to accomplish: I want to press ^l, then specify a name, and that ...
Tyler Christiansen's user avatar
4 votes
1 answer
7k views

What does this line do? [export DYLD_LIBRARY_PATH=”$DYLD_LIBRARY_PATH:/usr/local/mysql/lib/]

I'm trying to get MySQL-python working on my mac. I have to put this line in the terminal to fix an error, specifically "_mysql.so image not found". The source of this line tells me I should put it in ...
Wesley's user avatar
  • 151
0 votes
2 answers
629 views

i want alice to run any command as root, but can not run commands as any other user

Say I have 2 users - 'alice' and 'bob' and want to allow 'alice' to run any command as root, but not run commands as 'bob' or any other user, am I able to do this, and if so how ? consider this ...
whatsup1234's user avatar
1 vote
1 answer
640 views

Unable to launch app from /usr/bin

OK, this question may sound too basic, but this doesn't mean I'm not still a bit confused : I'm running OS X 10.6.8 (shouldn't make much difference though, the issue is more like *nix-specific) I had ...
Dr.Kameleon's user avatar

15 30 50 per page