Questions tagged [unix]

Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs.

Excerpt from the Wikipedia page

Unix was originally written in assembly but has since been rewritten in C. It has been branched many times both commercially and open source. One popular variant is the BSD variant which originated from the University of California, Berkeley. It also gave rise to Linux.

Notable variants

  • Silicon Graphics - Irix
  • IBM - AIX
  • Sun Microsystems - Solaris
  • Hewlett Packard - HP-UX

Unix is officially trademarked as UNIX.

Unix on Wikipedia

1949 questions
0
votes
1 answer

Why does switching to secure folder (httpsdocs) break the PHP file upload function

Server version: Apache/2.4.34 (Unix) I'm trying to utilize an existing SSL certificate for several sub-directories of a domain, but the architecture for the domain separates out two directories for non-secure/secure: httpdocs httpsdocs I copied…
Mitch Moccia
  • 103
  • 3
0
votes
2 answers

How to password protect the domain with htaccess?

This is not the usual request. I need to protect a domain while keeping the inner files accessible. So my HTACCESS file at the domain's root FTP folder is as follows: AuthType basic AuthName "Secure" AuthUserFile …
Robin Rodricks
  • 560
  • 2
  • 12
  • 27
0
votes
0 answers

Editing /boot/grub/grub.conf not recommended - yet how do you then change entries?

For example, our /boot/grub/grub.conf looks like this: ## ## End Default Options ## title Debian GNU/Linux, kernel 3.2.0-4-amd64 root (hd0,0) kernel /boot/vmlinuz-3.2.0-4-amd64 root=/dev/vda1 ro initrd …
Gary Green
  • 101
  • 1
  • 3
0
votes
1 answer

Copying files between servers

Here is the situation there are 2 servers: SRV1 (IP:1.2.3.4) & SRV2 (IP:9.8.7.6) you can connect to SRV1 from your local computerwith the private-key : test-user-private.pem with the username test.user SRV2 however is only accessible from SRV1…
Booth
  • 488
  • 2
  • 4
  • 11
0
votes
1 answer

Adding a persistant static route to a hardened embedded QNX Unix device

I'll start by saying forgive my ignorance if this is a simple task. I have enough knowledge of *nix to set it up and get around but this embedded version is a little different (missing 90%+ of standard commands) and I've hit a roadblock. I have a…
ADY
  • 93
  • 1
  • 12
0
votes
0 answers

Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN

I am trying to configure nginx as a reverse proxy for multiple servers on my LAN. They should go out on my WAN with different subdomains. Unlike the approach described in Use Nginx as Reverse Proxy for multiple servers I want to use UNIX socket for…
Stefan
  • 131
  • 5
0
votes
1 answer

How do I add a persistent static ARP entry to an AIX server?

How do I add a persistent static ARP entry to an AIX server? /> uname -a AIX CBDIS 3 5 000B8886D700 /> uname -v 5 /> uname -r 3 />
Corey
  • 2,031
  • 12
  • 39
  • 54
0
votes
1 answer

How to replace some character from a string in UNIX?

I have two string like this... a=[2018:08:22-15:26:18:26182619] b=[2018:08:22-15:26:18:26182619] And I want to convert a= 20180911183706376476 b= 2018082215261826182619 Can anyone please help me out?
0
votes
2 answers

How to print true if condition in shell script

I'm writing a script to change few setting according to location and to do this i selected hostname as a benchmark. My aim is, if my hostname condition comes true then do this. For this i'm writing a shell script which is comparing few thing in …
root
  • 39
  • 2
  • 8
0
votes
2 answers

Any way to avoid using `grep -v`

When performing a grep filtering across pipes, as in the following example, $ ps -ef | grep 24604 username 18660 24604 0 16:38 pts/3 00:00:00 ps -ef username 18661 24604 0 16:38 pts/3 00:00:00 grep --color=auto 24604 username 24604…
boardrider
  • 949
  • 2
  • 18
  • 29
0
votes
4 answers

What is the best way to set up a master-master rig?

Because everyone says master-master is not recommended. But if you think about it...1 write server is hardly enough! So, how would you set it up (high-level, not tutorial-level) so that it works out well?
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
3 answers

Cannot install MYSQL using aptitude...can anyone tell me why?

It just stops and freezes after this. The following packages will be upgraded: libmysqlclient15off mysql-client mysql-client-5.0 mysql-common 4 packages upgraded, 4 newly installed, 0 to remove and 49 not upgraded. Need to get 38.0MB…
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
0 answers

Cannot connect to EC2 instance in one line of command

I am trying one line setup command. ssh -i "$(cat kushal.pub)" kushal@ec2-18-216-221-164.us-east-2.compute.amazonaws.com "mkdir -p ~/.ssh && chmod 700 && touch ~/.ssh/authorized_keys && chmod 600 cat >> ~/.ssh/authorized_keys" Just to break this…
HalfWebDev
  • 99
  • 4
0
votes
1 answer

How do I uninstall MySQL completely?

remove ALL settings. remove ALL databases. remove ALL replication settings. WHat command do I run to remove that?
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
1 answer

NFS "-mapall" doesn't include anonymous clients?

I am accessing Unix-like NFS servers using Client for NFS in Windows Server 2008 R2. Since the server is not part of AD, and there is no "User Mapping server" active, the documentation states that the client uses anonymous UIDs and GIDs of -2,…
Ate Somebits
  • 157
  • 9