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
1 answer

mysql & maatkit: What kind of blocking will mk-table-checksum do?

We have two MySQL servers set up with simple master-slave replication. We currently use all MyISAM tables, but may move to InnoDB in the future. Our largest tables are more then 2GB. I would like to use the mk-table-checksum tools to run checksums…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
1
vote
4 answers

Solaris/Unix equivalent of Event Log

What is the unix equivalent of the Windows Event Log - the tool that logs all processes that start and stop. Need not be exact - with the whole GUI and everything. Anything close would do.
Raj
1
vote
3 answers

uname standard installation path

Just wanted to know - is there a standard path where uname is installed? e.g. /usr/bin/uname or /bin/uname I'm asking with regards to HP-UX, AIX, SunOS and RedHat Linux Is there a common path in which all of the above contain uname? If not, how can…
RonK
  • 241
  • 1
  • 5
  • 13
1
vote
2 answers

Visudo All Password Less Access to Script (Visudo + Cron)

I want my user 'dave' to be able to run a bash script without entering a password, so the script can run with crontab? For all other activities I'd like this user to be required to enter a password (as default). I know this can be accomplished via…
Ross
  • 153
  • 1
  • 1
  • 7
1
vote
5 answers

file permission is not correct while copying files with SCP

we are trying to copy files from one server to another but the permissions of copied files are not correct. I have tried following solution but its not…
Hemant
1
vote
1 answer

Multiple directories update with changing user permissons

I have multiple users on one machine with FreeBSD7.3. Each user has his own site (only one). Each site is a copy of master-site with slight differences (ie. database configuration, template files). It's like many Wordpresses with different users on…
kirillorloff
  • 47
  • 2
  • 7
1
vote
2 answers

Getting Long-term load statistics from RHEL Cluster?

Is there any straightforward record/poll of long term load record instead of the usual 1,5,15 minute load values? Background: Trying to convince faculty that current cluster solution is underutilized XX% of the time and could be used for BOINC / etc…
Andrew Bolster
  • 326
  • 2
  • 11
1
vote
6 answers

Using unix 'mail' command from CGI - dangerous?

I am adding a feedback form to a web page and would like to know if it is safe to simply filter the contents of the TEXTAREA element (after decoding) through the 'mail' command to send an e-mail to the page's maintainer. I have looked at the man…
finnw
  • 115
  • 1
  • 5
1
vote
3 answers

Where do I put the Alias?

alias py='python' Do I put that in my .bashrc?
Alex
  • 8,471
  • 26
  • 75
  • 99
1
vote
3 answers

What's the shortest command to find a volume's BSD device name ( /dev/disk*s* )?

What's the easiest way to find out that, for example, /Volumes/Foo lives in /dev/disk0s2 ? EDIT: mount is probably a more semantically satisfying answer, but it doesn't get much shorter than df
username
  • 4,755
  • 19
  • 55
  • 78
1
vote
4 answers

How to kill processes on a remote *nix machine

I would like to issue a kill command across many *nix machines. I'm attempting to do something like this: rsh ps -ef | grep | awk '{print $2}' | xargs n1 -t -i kill {} But that issues the kill command on the local…
JamesG
  • 113
  • 1
  • 4
1
vote
2 answers

Top like viewer eating tail -f stream

I'm searching for a command line tool working with a stream of lines (tail -f typically) and counting them like : tail -f /var/log/apache2/access.log | cut -d' ' -f1 | SOME_COMMAND and displaying a top-like view as : 52 xxx.xxx.xxx.xxx 12…
Mandark
  • 251
  • 1
  • 2
  • 8
1
vote
2 answers

crontab: special case of the dash character in the time field spec

In the SuSE /etc/crontab the entry to run the cron.{hourly,daily,monthly,weekly} scripts is coded as: -*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1 Notice that the very first character of the…
mdpc
  • 11,856
  • 28
  • 53
  • 67
1
vote
1 answer

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)

Can someone please help as i've spent all day trying to fix this. I installed the latest XAMPP and now i can't connect to mysql from terminal.I checked my .profile file and the PATH seems ok. Does anyone know whats happened and what's the…
Imran
  • 111
  • 1
  • 4
1
vote
1 answer

Can't read directory owned by my group

I moved the postgres data directory to a separate partition and it works great. The directory is owned by postgres user and postgres group. d-wx------ 11 postgres postgres 4.0K 2010-06-11 08:28 data/ I added myself to the group > sudo addgroup me…
Jonathan
  • 23
  • 2