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
3k views

Mac OS X = UNIX? [duplicate]

Possible Duplicate: How Unix is Mac OS X? People always said ubuntu, linux is UNIX based OS, then how about mac os x? from mac os x terminal i can see most of the unix command are available ...
0
votes
1answer
122 views

Memory consumption when running multiple copies of a process on a UNIX AIX server

On a UNIX AIX server if I start multiple copies of the same process will memory be allocated for the code, data and stack for each copy of the process ?
5
votes
4answers
2k views

How do I build a great home router?

My trusty old WRT54G seems to have stopped working and I have an old Dell around, so I thought "why not use the old computer as a router?" Where can I find good information on setting up this machine ...
2
votes
6answers
396 views

Command Line replacements for Windows Vista

The command line program included in Windows (Vista) isn't always up to snuff. Are there any good program I can download that I can use as a replacement?
3
votes
4answers
2k views

GNU find with -exec rm removes matches, then complains they don't exist

I have a /domains directory in which I have entries such as theawesomesite.com 0.2.v.theawesomesite.com 0.3.v.theawesomesite.com And after testing 0.3, I'll set the main domain to alias the new ...
15
votes
1answer
695 views

Make Firefox use the favicon as window icon under Linux

Is there a Firefox feature, setting, or add-on that arranges it so that the favicon of the currently open web page becomes the icon of the browser window in Linux/X11? In particular, it ought to show ...
0
votes
1answer
259 views

linux crontab issue

I got this funny problem. I have an entry in the in cron like this 50 15 * * * /pmecs/log/lsmon/techsupportscript.sh 2>/pmecs/log/lsmon/cronerror.log Now, from what i know, this is correct ...
0
votes
1answer
97 views

Is there any way to turn off the white bars in GNU Screen?

I am using the screen curses window manager and I want to know if it is possible to change the color of, or disable the white bars that appear between splits?
4
votes
2answers
693 views

How do I get bash to respect my physical directory structure? (And likewise for Emacs?)

If in bash, I do "set -P" then bash follows the "physical directory structure" when doing "pwd" and "cd .." etc, rather than the "logical one" that might be defined via symlinks. Unfortunately, bash ...
2
votes
9answers
432 views

Why not ~/dls instead of ~/Downloads?

Most folder names in the *nix world are lower case. It makes them easier to type in my opinion. However, everything in my home-dir is capitalized! Why is this? Is it possible to change them? The ...
8
votes
4answers
2k views

How long is long for the Unix 'file' command?

When you pass a text file to the Unix file command, it might tell you something like: input.txt: UTF-8 Unicode English text, with very long lines Can somebody tell me the minimum number of ...
3
votes
3answers
3k views

What is the intended purpose of top-level linux/unix directories and what should they contain? [duplicate]

Possible Duplicate: Linux file system As the title says, what is the intended purpose of top-level linux/unix directories and what should they contain? What is the meaning of their names? ...
9
votes
2answers
7k views

Finding all symbolic and hard links to a file on UNIX

If I have a specific file in a UNIX filesystem, is there a way to use bash to find all links to that file, both symbolic and hard? If I need different commands for each, what are they?
7
votes
2answers
744 views

What is the difference between the X clipboards?

Primary Secondary Clipboard Cut buffers What is the difference between these? Experimenting with xclip and gedit: Setting primary Nothing happens, as far as I can tell Setting secondary Again, ...
0
votes
3answers
3k views

Rename files and extensions in one command in Mac OS X

Is there a way to rename multiple files in one command. In Windows, I am aware of the command ren *.* *.jpg Is there a similar command in Mac OS X that i could run, instead of hitting enter on each ...
1
vote
3answers
2k views

Why can't Unix users renice downwards?

I know that non-root users can renice a process up, but not renice a process priority down. $ nice yes >/dev/null & p=$! $ renice 15 -p $p 8414: old priority 10, new priority 15 $ renice 12 ...
2
votes
4answers
3k views

Windows analog to unix time command

What is the windows analog to unix time command?
0
votes
2answers
499 views

Find Files With Similar Name to Folder

I'm on OS X, and I have a folder that contains a number of subfolders. There are two things I want to do. The first is to ensure that each subfolder has a file in it of the form ...
15
votes
2answers
8k views

What does the @ in ls -al mean? [duplicate]

Possible Duplicate: ls -la symbolics… what does that last symbol mean? What does the @ in the below execution of ls -al mean? atom:Lib fak$ ls -al total 1056 drwxr-xr-x 5 fak staff ...
3
votes
3answers
776 views

Verifying successful file transfer after moving lots of large files

I'm working on transferring a lot of files (>100GB, several thousands of files) over my network to a new Mac. Once the transfers are done I'd like to be able to verify that all of the files were ...
4
votes
2answers
2k views

Tar: How to ignore the archive itself

I was planning to do a quick backup of my website. So I tried to run the following command in my webroot: tar cvfz backup.tar.gz . That seemed to be working nicely for a while. Until I discovered ...
2
votes
3answers
3k views

How can I suppress /etc/issue without losing error messages?

Is it possible to tell the ssh client to not print the connects of /etc/issue to stdout when connecting to a remote host, but to print out any other diagnostic (e.g. error) messages? Either using ssh ...
2
votes
1answer
381 views

Options of the ‘ps’ utility [closed]

Can someone please enlighten on what the difference is when passing the 'j' and '-l -y' options to the 'ps' utility. An other good 'ps' resource is welcome too.
2
votes
7answers
1k views

grepping large amounts of text

I have a few gigabytes of source code. using recursive grep for a term can take a while. I am using ext3. Is there a faster way? Would using find be faster and if so why? Would using a filesystem ...
1
vote
1answer
236 views

Having trouble running a cron job in Unix which generates a dynamic filename for an output data dump

I am trying to schedule a MySQL database dump by using cron but I get an error for some code that I know works when I call directly in Shell. Here is the code that works perfectly well in Shell: ...
1
vote
9answers
217 views

Find files in a path

I want to search for a specific file type(.jpeg) in a given path very efficient manner. I am presently having 2 options ls- R | grep .jpeg use 'find' which one is better one? is there any better ...
2
votes
1answer
736 views

How do I compress a directory on a Unix web server and email it on a sheduled basis?

After hearing about various high profile website creators getting stiffed recently after hardware failures on their servers I would like to implement a backup strategy on my websites. I have cPanel ...
2
votes
3answers
4k views

How to load system-wide daemon on Mac OS X

I'm trying to load my daemon-app with this command launchctl load /Library/LaunchDaemons/myPlistFileName It works fine, but only while my user is logged in on system. How can I load my deamon-app, ...
1
vote
3answers
2k views

How to decompress the *.TGZ file without changing the orginal file? [duplicate]

Possible Duplicate: How do you gunzip a file and keep the .gz file ? I decompress the file using following command: gunzip -f test.TGZ This gave me test.tar file but I lost the test.TGZ ...
0
votes
1answer
94 views

*nix window manager that places window list on window title bar?

Like this... looks really kind of cool, so I'm wondering what it might be.
4
votes
3answers
2k views

How to tar.gz everything but .jpg/gif/png/wmv/flv/tar.gz/zip?

how do I tar.gz everything apart from jpg/gif/png/wmv/flv/zips, recursively, via the Unix shell?
-1
votes
2answers
159 views

Sorting a comma separated file

How to sort a comma separated file (with following details) based on salary (ascending or descending) a.Ename,firstname,lastname,salary
2
votes
3answers
9k views

How to install libevent via aptitude?

It doesn't seem to work. aptitude install libevent1 locate libevent /usr/share/doc/libevent1 /usr/share/doc/libevent1/changelog.Debian.gz /usr/share/doc/libevent1/copyright ...
0
votes
3answers
88 views

finding files with most links

how can i find top 10 files in unix with most links to it?
2
votes
7answers
3k views

Building Unix/Linux programming environment for a Windows developer

I have been a Windows C++/.NET developer for a few years, and would like to start C++ programming in Unix environment. What I think I have to do is to create Virtual Machine, install the version of ...
2
votes
1answer
408 views

How to find out if Unicode works correctly on unix/linux CLI

Still some apps seem to have problems with unicode terminals/output. I am looking for a app (or script) which prints out some unicode formated text and line drawing (like ncurses). Thus help to figure ...
1
vote
2answers
2k views

Can a port be bound when the process has terminated?

Given: a process binds to a port on Linux, and that process is then terminated with either TERM or KILL signals. Is there anyway that the port could still be bound, or will the kernel clean up and ...
0
votes
3answers
495 views

Installing ethernet device under LynxOS

I changed my hard drive which was running LynxOS to another computer with diferent processor/mother board but same periphericals configuration. Everything is working except the network ethernet card. ...
1
vote
3answers
216 views

My server has an IP. And I use this IP for everything. What IP is my laptop?

I usually do this: scp something user@ip But, that's because my other server has an IP. What is the IP of my laptop? (What if I am behind a wireless router?) How do I scp into my laptop?
14
votes
5answers
372 views
2
votes
3answers
2k views

How to access Stdout / Stderr of a detached process?

I'm having a php-cli script that is running (detached) in the background. Is there a way to attach to it's Stdout/Stderr in order to see the output of the application?
11
votes
5answers
5k views

awk, mawk, nawk, gawk… WHAT?

I've just started learning awk and I'm a little confused about all those versions around. Is there any "version" which is found on all Unix-like systems? Like, you know, plain vi? Does the standard ...
9
votes
2answers
5k views

Printing pages from 7 to 17 by lpr

How can you print pages from 7 to 17 by lpr?
2
votes
1answer
1k views

Basic *nix Question (Mac OS X): Where is my path being set?

I have a path that starts like this PATH=/opt/subversion:/usr/bin:/bin:/usr/sbin:/sbin [etc] and this is wrong (at least opt/subversion needs to be opt/subversion/bin). Where is this being set? I ...
20
votes
6answers
21k views

tar – extract discarding directory structure

unzip has a nifty option -j, whereby the directory structure of the archive is discarded, and all files are extracted into the same directory. Is there a way of making tar work in the same way? ...
4
votes
1answer
464 views

file permissions in Unix

I am working on Solaris Unix. I have a file with permissions: -rw-r----x+ What does the + at the end mean?
99
votes
3answers
26k views

less command with multiple files: How to navigate to next/previous

I just found out I can use less with multiple files. less status line tells me (END) - Next: file2.txt But how do I navigate previous/next from less?
5
votes
8answers
22k views

How to check the current disk space used by my linux?

The entire box. How many gigs is everything using? And how do I check total?
1
vote
2answers
1k views

In unices, do new folders/files inherit parent permissions?

In unices, do new folders/files inherit parent permissions? What about groups and owners? (maybe those don't qualify as permissions...?)
6
votes
2answers
2k views

What does the command CD do?

Not realising I had caps-lock on, I typed CD into the command prompt on my mac. Surprisingly, it didn't error. which CD shows me /usr/bin/CD. And if I examine that file, it looks like this: ...