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
1
vote
3 answers

How to output the real time a command takes (and nothing else)?

How can I output the real time a command takes (and nothing else)? Example: This won't work: $ time -p sleep 2 | grep real real 2.00 user 0.00 sys 0.00 I want something like: $ print-real-time sleep 2 2.00
user9474
  • 2,448
  • 2
  • 25
  • 26
1
vote
1 answer

Tar: create new archive from filtered archive

I need to create a new tar archive from the filtered output of the original. I thought something like this might work: tar xvpf myarchive.tar --exclude=foo* | tar cvpf mynewarchive.tar but that doesn't. Any ideas? Thanks!
Frank Brenner
  • 321
  • 1
  • 4
  • 9
1
vote
3 answers

booting problem on Solaris

I am not able to connect to my server via network and plug console cable via A Lom port and keep getting this message and can't do anything. since I am not able to go ok> prompt. I am logged thorough terminal windows. I an't find a way to go ok>…
paul
  • 13
  • 4
1
vote
2 answers

[unix server]I want to check the specific directory size including its all children

This is the server info(uname -a) SunOS Tiger2 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-Enterprise And I want to check some directory size including its all children directories. I fount du -sh /some command, but it doesn't work. My server…
Deckard
  • 111
  • 4
1
vote
1 answer

Is it normal to collapse VPS CPU with this script?

This is the script, it comes with mod_evasive: #!/usr/bin/perl #test.pl: small script to test mod_dosevasive's effectiveness use IO::Socket; use strict; for(0..100) { my($response); my($SOCKET) = new IO::Socket::INET( Proto => "tcp", …
TheBronx
1
vote
2 answers

svn authentication fails for everyone except wildcard-user

I have been using svn for past few months (with default authentication rules) and only recently decided I wanted to add a bit more control over the repository authentication. I have been looking through this book…
1
vote
2 answers

Running OpenFire as a different user

I have a Ubuntu 10.4 system on which I'm running OpenFire but it currently runs as root. How can I make Openfire run as a different user? Thanks
Mridang Agarwalla
  • 317
  • 2
  • 7
  • 15
1
vote
2 answers

Quick and Easy Backup of Remote Server?

I'm switching from a slower remote server to a faster one. (In a nutshell.) Everything seems to have been migrated properly, but just incase some things didn't get transferred properly, I'd like to make a complete filesystem backup of the older…
Craig Otis
  • 287
  • 1
  • 3
  • 11
1
vote
3 answers

-bash: apt-get: command not found

Over the course of uninstalling the HP/palm enyo SDK and installing node JS I somehow goofed up something (I think my path). Now when I try use apt-get I get the following: -bash: apt-get: command not found I'm not really sure how to fix this. Here…
wesbos
  • 113
  • 1
  • 1
  • 4
1
vote
1 answer

How can we solve these errors for Nginx + PHP + FastCGI?

We're using Nginx + PHP + FastCGI for our web server and we just saw a bunch of timeout errors (see below) in the error log. We quickly restarted nginx and that fixed the problem - for now. However, we're trying to find the root-cause and fix the…
ronik
1
vote
2 answers

php not working on local machine

OK, so I'v installed php5 and apache2 on my OS X using macports. php is running fine from the terminal, as is apache. I've edited my httpd.conf file to add the following: LoadModule php5_module modules/libphp5.so AddType …
Leon Aves
  • 171
  • 7
1
vote
4 answers

Unix command to download a file off my server?

I have a few php files on my server that I created and I'd like to download them to this computer for backup purposes. Is there an easy way to do this? (I'm connected to my server via SSH). Also, are there any programs out there that can…
Vadoff
  • 133
  • 4
1
vote
1 answer

Ip and Port Forward

We have three computers in our scenario. Lets name them A, B and C. There is no direct connection between A and C, you must follow A-->B-->C. I want to send soap request A to C. There can be a ssh connection between A and B. But no ssh server at C…
Mert Meral
  • 125
  • 4
1
vote
2 answers

Passing scripts to ssh and invoking the shebang

I have scripts in several languages which I pipe to ssh to have them invoked on other hosts. For shell scripts I'm able to do this: ssh < /path/to/script.sh For scripts in other languages however, I find myself having to do this: ssh python - <…
Matt Joiner
  • 191
  • 1
  • 8
1
vote
1 answer

modification time of file in future, but timezone is set correctly

Files that I am creating at a Unix server are created with a modification time that lies 5 days in future. But when I check with the date command, it seems, that timezone and date are set correctly. : # uname -a SunOS tmxd050a 5.10 Generic_118833-33…
Bertolt
  • 297
  • 3
  • 10