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

learn more… | top users | synonyms

1
vote
4answers
6k views

Reporting memory usage per process/program

How can I get the current memory usage for all running processes individually? Preferably in bytes so they can be added up accurately. Can I roll up the summaries for child processes into the ...
3
votes
4answers
135 views

Is there a way to prevent output from backgrounded tasks from covering the command line in a shell?

I would like to be able to run task(s) in the background of a shell and not have their output to stdout or stderr cover the command line at the bottom. Frequently I need to run other commands to ...
1
vote
2answers
626 views

Setting request-user on IPP printer in CUPS

I need to send a request to CUPS server with the specific request-user parameter - remote_user instead of local_user. How should I set the local CUPS server?
1
vote
4answers
210 views

Is there a way to determine what time a process was started on a Linux server? [duplicate]

Possible Duplicate: Linux - How do I see when a process started? ps -ef shows the date that the process started. I'd like to see the date and the time if possible.
1
vote
3answers
266 views

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

cPanel equivalent- free please [closed]

I have a shared hosting where I got used to using cPanel for managing my domains and stuff Now I am moving to a (unix based) VPS hosting, and the plan that I have chosen comes without cPanel. Since ...
1
vote
1answer
2k views

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 ...
1
vote
2answers
29 views

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 ...
0
votes
3answers
624 views

how can i increase cpu utilization on a aix unix p5 server

i need to make cpu utilization increase to about 90%
1
vote
2answers
70 views

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!! ...
2
votes
2answers
462 views

In Rackspace cloud, it is true that a 2GB server is faster than the default 256MB server?

For example...when I do string.find("..."), will it be faster because the CPU is allocated more?
3
votes
3answers
9k views

How do I turn on gzip in Apache2?

I simply did : sudo aptitude install apache2 And that's how my server is set up. No extra modules, no nothing. I'm on ubuntu jaunty.
0
votes
1answer
246 views

How to find out what is installed on a server [on hold]

I'm an undergrad student and we have special access to a server. The server is a unix server (don't know the OS or anything.. is there a way to find out? ). we also get a website associated with the ...
2
votes
3answers
196 views

How do I set it so that everyone uses the /bin/bash shell?

It doesn't seem to work for some reason if I do this in /etc/profile: export SHELL="/bin/bash/"
1
vote
1answer
1k views

LPR Printing InputSlot Issues

I am printing from a Unix system to a Xerox Phaser 4510 (altho I have also had issues printing to a Xerox WorkCentre 7765). I am using LPR and trying to choose the InputSlot The lpoptions show the ...
2
votes
2answers
984 views

L character in Cron Expression for “Last Day of the Month”

I'm currently writing an article on cron aimed at people who are familiar with the tool, but don't necessarily use it often. I want the examples to be compatible with most common Unix desktops in use ...
2
votes
3answers
3k views

Unix Snoop Command

Doing testing on a server right now. Both the client and server are on my machine. I am trying to snoop the packets between them but am not having any luck. These are some variations I have tried: ...
1
vote
1answer
179 views

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.
0
votes
2answers
3k views

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

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 ...
0
votes
2answers
1k views

Memcached server won't connect

I'm rather new to Unix and am trying to set up a memcached server on Rackspace Cloud Servers with CentOS 5.4. I've been following the guide below. ...
1
vote
4answers
2k views

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?
2
votes
13answers
5k views

How do you copy a file from one unix server to another?

I can think of ftp nfs ssh rcp any other ways? Comments? NOTE: these two servers are inside LAN, the copying is not over the Internet
75
votes
14answers
68k views

In my /etc/hosts/ file on Linux/OSX how do I do a wildcard subdomain?

I need to test sub-domains on my localhost. How can I effectively have this result of adding *.localhost.com to m /etc/hosts/ file? If it's not possible, how do I work around this problem? I need ...
5
votes
3answers
166 views

Sort Active Processes in Unix

How can i sort active processes by total process time in unix?
6
votes
6answers
585 views

Source vs Package Managers on the job

I am a bit confused, as there are two ways to install applications. One being to configure and make from source and the other from a package manager. If one were a UNIX/Linux administrator, is it ...
0
votes
1answer
431 views

Troubles installing KDE with pkgsrc

Im in school right now and I have taken two classes, Networking and Unix Development, that focus on C programming in Unix. Specifically we have been using NetBSD for our machines that we develop on ...
1
vote
2answers
154 views

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 ...
0
votes
1answer
50 views

In Linux/ubuntu hardy Apache2, how do I find where my default access logs and error logs are being kept?

I just installed Apache2 on my unix via aptitude. Where are the default logs kept?
2
votes
4answers
579 views

Cron not running my Python statement

I have the following entry in crontab: * * * * * python -c "import datetime; datetime.datetime.now()" >> /home/myname/pythoncron1.log The pythoncron1.log file is being created but has nothing ...
6
votes
6answers
18k views

How to check what port mysql is running on

On my windows dev box mysql is running on port 3306 How can I check what port it is running on the unix server that I have to upload the app to.
4
votes
2answers
109 views

ampersand at beginning of a line in csh

What does an ampersand at the beginning of a line do in csh? It seems to be ignored (with no error message), but why? Example: & echo 'hi there' performs the expected echo with no error ...
5
votes
1answer
5k views

How do I set 'max threads per process' ulimit for non-root user?

Ulimit man page suggests -r option will set this but it only appears to be valid for the root user and there is no equivalent for setting it via /etc/security/limits? Any ideas?
4
votes
3answers
151 views

Where can I find the source for the unix app 'free'?

Free is a rather hard word to Google for, all my variations failed to bring up anything related to the unix app free (it's for viewing memory usage - free -m etc.). If anyone has a link to the source ...
2
votes
1answer
8k views

What is the rootvg in AIX?

What is the rootvg in AIX? Is it something that is unique to AIX?
0
votes
2answers
87 views

Unix / Linux: backing up an app installation

I was having a discussion recently regarding the fact that *nix doesn't use things like a registry (in the Windows sense) and how this means that everything related to an application (or anything for ...
1
vote
2answers
292 views

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 ...
2
votes
2answers
1k views

How to change VGA mode after boot and login with ubuntu?

Is there a way to change the screen resolution of the console after the system has been booted? I've seen plenty on setting the vga= line in the boot and in the grub config but I'd like to be able to ...
3
votes
1answer
1k views

cp -R source_dir/* dest_dir/ does overwrite files?

I am trying to copy, recursively, the content of a directory to another using: cp -Rv source_dir/* dest_dir/ It seems that everything work ok but when I list that directory with ls -l the change ...
2
votes
2answers
3k views

What day/time does a weekly cron start on?

I had a look though the cron man but didn't find anything that helped :( Anyone know?
4
votes
4answers
2k views

Block access to a website in Linux

Hey guys, I was trying on blocking some of the websites that I usually use even I need to work hard, e.g facebook. I am using Ubuntu 9.10 and I tried to change the /etc/hosts file by adding ...
5
votes
1answer
934 views

Acessing a mercurial repository on a shared host over SSH

I have a shared hosting account with SSH access. I have set up a virtual Python installation and have copies of the system folders in $HOME: ~/bin, ~/lib ... I have installed mercurial through ...
1
vote
2answers
208 views

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. ...
1
vote
1answer
1k views

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 ...
0
votes
2answers
165 views

diff script command to mail

Is there a way to add a command to mail this if it finds any changes in the /newchanes.list. mail with an attachment(/changes) saying it found changes and if not then the subject line would say: no ...
1
vote
5answers
207 views

Best way to manage $PATH varibles?

I looking for a way to easier manage my $PATH variables. executing $PATH returns me: ...
1
vote
1answer
647 views

Cannot SVN checkout when anon-access = none

When I have anon-access = write Everything works fine. When I change svnserve.conf to: anon-access = none auth-access = write And uncomment password-db and authz-db AND add user in authz with rw ...
1
vote
2answers
767 views

how to recover a .c file in AIX unix which has removed (rm -f) by accidentally

how to recover a .c file in AIX unix which has removed (rm -f) by accidentally
2
votes
4answers
341 views

How to figure out what Linux/Unix distro you are on

Is there a way to tell which Linux flavor and version on the machine I am on running? This may be a strange question, but if I'm given a machine and connect to the monitor and the keyboard and if the ...
1
vote
1answer
600 views

number of characters per line printed by lpr

How do I set the number of characters per line when printing a file using lp or lpr? It seems like it's fixed at 80.