Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nix]

*nix is shorthand for UNIX-like.

2
votes
1answer
445 views

NixOps deployment on x86_64-darwin (vs. x86_64-linux)

We are having problems using NixOps from Mac OS X due to the different arch: x86_64-darwin (vs.) x86_64-linux We have a built-host setup according to this manual(s): Nix installation https://nixos....
0
votes
1answer
1k views

how to execute a bash script in nixos

I am trying to create a .nix file that installs nvm First I tried to add inside configuration.nix : system.activationScripts = { dotfiles = pkgs.lib.stringAfters [ "users" ] '' curl ...
0
votes
1answer
255 views

How to install Postgis with Osm2pgsql on NixOS

When installing PostGIS on NixOS with an expression like services.postgresql.extraPlugins = [ (pkgs.postgis.override { postgresql = pkgs.postgresql94; }).v_2_1_4 ]; How to add other extensions ...
2
votes
1answer
2k views

Windows Server 2012 DHCP and OSX Devices

I've recently put together a small office network (around 20 devices) with an attached machine running Windows Server 2012. Our gateway router provided by our ISP was pretty useless and started ...
3
votes
2answers
1k views

Enable coloured PHP CLI messages on console [closed]

How to enable coloured messages for PHP CLI on console (Mac OS X, latest PHP/Apache from MacPorts)? export CLICOLOR=1 export LSCOLORS=gxfxcxdxbxegedabagacad doesn't seem to be enough, all PHP CLI ...
0
votes
1answer
223 views

Invalid domains in DNS don't work on mac/*nix like systems

At work we use domains like abc-01, which work fine on windows. Whilst developing mobile applications we already saw that this doesn't work on both iOS and android which we fixed for a few specific ...
2
votes
2answers
82 views

*nix behavor, when overwriting a file that's open by another process using mv

Will the other process be able to finish reading the old file even though it's been replaced?
0
votes
6answers
184 views

Well supported *nix with auto update

We're going to migrate some of our applications to linode.com and I would like to install a self-updating operating system. We have pro sysadmins on call to if the sh*t his the fan but we would like ...
1
vote
2answers
129 views

same shell environment in all accounts

What would be the best way to get the same shell environment (paths excluded) on all my accounts automatically? What I want is something that transfers the aliases, coloring, and other cool shiznit I ...
14
votes
6answers
32k views

How to recursively move all files (including hidden) in a subfolder into a parent folder in *nix?

This is a bit of an embarrassing question, but I have to admit that this late in my career I still have questions about the mv command. I frequently have this problem: I need to move all files ...
2
votes
3answers
815 views

*nix shell with IOS style completion?

Is there a Linux shell that will let you type less than full commands as you can with Cisco IOS, at least for the first command (and not its arguments)? I haven't really thought enough if this is ...
4
votes
4answers
48k views

How can I determine how much memory a process is using in AIX?

How can I determine how much memory a process is using in AIX?
3
votes
6answers
3k views

TCP Sessions and IP Changes

What happens to a TCP session when the IP of a client changes? I did a simple test of having netcat listen on a port, and connecting to that port from a client machine. I then changed the IP of ...
2
votes
2answers
732 views

Copy File to Clipboard

Simple Question that I just realized would be very useful. Under Linux (or really any 'nix environment) is it possible from the command line (or by other fashions, but primarily command line) to copy ...
1
vote
1answer
173 views

Directory alias vs variable in profile

What are the advantages of aliasing a directory (in my .profile) as opposed to setting a shell variable to it (and exporting of course). alias MY_DIR=/usr/local/data/test/ vs MY_DIR=/usr/local/data/...
4
votes
3answers
6k views

How to install Java JRE on FreeBSD with as few dependencies as possible

I've been trying to get Java working on my FreeBSD 7.1 server. I just want the runtime, since the JDK drags all kinds of unnecessary dependencies with it, and I just need it to run a jar file ...