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

3
votes
2answers
3k views

Is it possible to find all files with a given inode? Efficiently?

It is possible to find all the paths to a file with a given inode, in general, using find's -inum option. But this has awful performance for typical filesystems. What options are there to improve ...
2
votes
1answer
675 views

Long directory listing

How do you perform a long directory listing of all files in the /bin directory that have exactly three characters in their name?
8
votes
8answers
4k views

Ending a process in unix instead of interrupting it

At the unix command line if i press Ctrl-C,that does not end a process but rather interrupts it and i return to the shell prompt. So,i have the following two questions: 1.Is there a way i can see the ...
3
votes
1answer
263 views

Good sshd + unix environment for Windows needed [closed]

My job is 95% Unix administration, but sometimes I manage Windows machines remotely. While I'm familiar enough with VNC and RDP solutions, there are times when I'd like something a little more ...
1
vote
5answers
1k views

Is there a POSIX pathname that can't name a file?

Are there any legal paths in POSIX that cannot be associated with a file, regular or irregular? That is, for which test -e "$LEGITIMATEPOSIXPATHNAME" cannot succeed? Clarification #1: pathnames By ...
3
votes
7answers
1k views

Control-Backspace (unix-kill-rubout) for readline?

In readline(3) I should be able to map Control-Backspace to the same function as Control-W (unix-kill-rubout). Regardless of what I put in ~/.inputrc I'm unable to get this to be recognized. \C-\b: ...
0
votes
0answers
53 views

Second posting of: scp error: “Permission denied (publickey). lost connection” [duplicate]

Possible Duplicate: scp error: “Permission denied (publickey). lost connection” This posting is a reposting of: scp error: "Permission denied (publickey). lost ...
4
votes
3answers
686 views

add myself back to sudo'ers list

i've got a computer running Ubuntu 9.10 Server, and i added myself to a new group using the following command: sudo usermod -G my_group me i learned that command removes me from all the groups i ...
1
vote
1answer
265 views

What text editor (for windows or linux) can display the byte order mark in text files?

What text editor (for windows or linux) can display the byte order mark in text files?
1
vote
3answers
14k views

scp error: “Permission denied (publickey). lost connection”

I tried to scp an svn dump to savannah, but I got the following error at the end. Permission denied (publickey). lost connection The scp command and verbose output are below. Any ideas? ...
11
votes
7answers
13k views

Is it better to always copy and delete, rather than move?

Generally speaking, I find myself panicking when I realise that if I cancel a file move, it could cause the target or source to be incomplete. This question applies to Windows and Unix-based ...
6
votes
1answer
765 views

Why is “less” much slower than “grep”?

I sometimes have to look through files that are several gigs and have noticed that finding what I am looking for with grep is much faster than with less. Why could that be? I am talking about looking ...
4
votes
3answers
908 views

Most Windows-like text editor that can be used through PuTTY in NetBSD?

Please help me find an editor that behaves more like the modern Windows editors do, that I could use on a NetBSD box through PuTTY. This includes the absense of the distinction between ...
3
votes
2answers
2k views

Command to List *nix Group Members?

What's the command to figure out who the members are of a *nix group?
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
397 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
698 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
702 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
436 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
761 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
500 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
9k 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
784 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
394 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
742 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
3k 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
10k 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 ...