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

UNIX User Account to Restricted SysAdmin (User/Printer Admin only)

I'd like to know if there is a way for a user account to be enabled or elevated to carry out system admin tasks WITHOUT having to use the root account or sudo. Goal here is to allow a user account to Add/Delete users/printers without giving them the…
Mark
  • 113
  • 3
1
vote
2 answers

zipping a file used by a process

i accidently zipped a log file of process (the process wasnt writing in it though, it writes it only during weekends when the process get killed).I unzipped the file immediately back. will it affect the process when it is trying to write in the log…
jaganath
1
vote
1 answer

lsof not showing what port a proc is listening on

I have many processes on a box listening on several ports. I am trying to map ports to pids. The problem is that lsof is not telling me what ports belong to which process. Given an apache listening on port 80, I can see it listening via…
ericslaw
  • 1,572
  • 2
  • 13
  • 15
1
vote
2 answers

If I run this command, will my Apache2 still work?

sudo ln -s /etc/apache2/mods-available/deflate.load /etc/apache2/mods-enabled/ sudo service apache2 restart Basically I just want to turn on gzip for Apache2. I don't want to break anything!! Please, tell me that nothing will break when I run these…
Alex
  • 8,471
  • 26
  • 75
  • 99
1
vote
2 answers

How do I find and delete a cron job?

I created a cron job for a wordpress plugin that i no longer want running. I am not very good at navigating around in unix. The cron job was the following: */10 * * * * /usr/bin/wget -O /dev/null http://ADDRESS_OF_THE_FILE >/dev/null 2>&1 Does…
hollyb
1
vote
1 answer

I bought a domain name. Now, how do I set up a mail server? (IMAP)

Please, give me the best, easiest-to-understand tutorial for a beginner setting up a mail server.
Alex
  • 8,471
  • 26
  • 75
  • 99
1
vote
3 answers

Opening an existing process

I am using Eclipse in Linux through a remote connection (xrdp). My internet got disconnected, so I got disconnected from the server while eclipse was running. Now I logged in again, and I do the "top" command I can see that eclipse is running and…
user688
1
vote
4 answers

What actual or de-facto alternatives to WMI exist for Linux and Unix?

I've recently been introduced to WMI, and find it really cool. Maybe my brain's just not in gear, but what similar tools exist for *nix like WMI?
warren
  • 18,369
  • 23
  • 84
  • 135
1
vote
2 answers

How do I make it so that I can run this program anywhere?

java -jar yuicompressor-2.4.2.jar ~/src/yuicompressor-2.4.2/build$ ls yuicompressor-2.4.2.jar Usually, I have to be in that directory to run this command. Is there any way I can set it so that I can run this command anywhere in my box?
Alex
  • 8,471
  • 26
  • 75
  • 99
1
vote
2 answers

How to have an environment variable with quotes in crontab?

I have a minimum example of my problem, which is trying to install a crontab that looks like this: FOO="foo\"bar\"bin" 0 0 1 * * ls by running crontab crontab (I have it in a file name crontab). It fails with this error: % crontab…
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83
1
vote
2 answers

Automating a multi-tape cpio backup

Currently, I have a simple backup process in which a script is run daily via cron. If there's a tape in the drive, it will use cpio to backup critical files, with a full system backup done once a week. For the most part, this works fine. However,…
goldPseudo
  • 1,106
  • 1
  • 9
  • 15
1
vote
1 answer

'mail' not working in Script same way it is working from command line

The below line of code/command is working as expected if I run it from Unix terminal, but not if I include it in a script and run the script - exact same. I am expecting the X-Priority to show the mail as high priority in Outlook. If I run it from…
akpuvvada
  • 11
  • 4
1
vote
2 answers

Unicode versions of common UNIX text tools to run on Windows

I can't afford the MKS toolkit (also think its a bit overkill for my needs). So I was wondering is anyone knew of the standard set of unix text tools but that can handle unicode files under Windows. Examples are wc, awk, diff, sort etc.
kingchris
  • 244
  • 4
  • 13
1
vote
2 answers

shell / ssh / tty session logger

Good day to you. I know there's some variations of my question here, but they are a bit different I assure you. We use terminal servers that our admins connect to and then establish ssh connections to other servers. We needed to audit their…
Dima Medvedev
  • 346
  • 1
  • 7
1
vote
1 answer

Does information piped through a Unix socket touch disk?

I'm trying to understand how fast different IPC mechanisms are, and I know it's possible to create a Unix Socket as a "file" in a directory on a filesystem, but what I don't understand is whether data piped through that socket actually touches disk,…