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

4
votes
0answers
241 views

Connection timing out when connecting to Milter service

I'm using a VPS with CentOS 5, containing Postfix and OpenDKIM. I have set up OpenDKIM using this guide. Everything seems to work properly as the log in /var/log/maillog does not report anything other ...
2
votes
0answers
83 views

Why does the root directory / has a reference to its “parent”?

I'm currently developing a fake filesystem for a browsergame. I recently implemented ".." and "." folders so every folder has a reference to its parent. Then I checked in my terminal if "/" also has ...
2
votes
0answers
18 views

How can I browse through Homebrew's formulae according to popularity (# downloads all time)?

Though I can easily find an alphabetical list of all available formulae, there seems to be no resource online, including at Brew's Github, or seemingly anywhere where I'm able to browse through ...
2
votes
0answers
75 views

ag (the_silver_searcher) not searching entire file - does it have an implicit maximum input size?

I have a very large plain text file (multiple gigabytes in size) which I need to search for certain strings. When using grep, I get over 11,000 matches of a string but with ag I get roughly 1,500. The ...
2
votes
0answers
89 views

Is it possible to check which stream is used by the command? (bash)

I have an irritating problem: redirecting stderr does not work. I get: iptables: Chain already exists I can't be bothered to check if a chain exists already (pointless, iptables just throws an ...
2
votes
0answers
88 views

Unable to enter data into cells in sc

I'm trying to use sc, the classic Unix spreadsheet calculator, mainly because I want to be able to look at some csv files nicely formatted in my terminal. I installed sc 7.16 but am seeing some ...
2
votes
0answers
144 views

Recover FreeNAS network volume affected by rm -rf

I'm on OS X 10.8.2 and have FreeNAS 8.0 running with a 6 TB volume connected through AFP. 5 TB were recently deleted with rm -rf by a malicious script. The FreeNAS volume has no ZFS snapshots, ...
2
votes
0answers
932 views

LSOpenURLsWithRole() failed with error -128

I' opening an ML file from the terminal using an open command is OS X. Currently, the bindings are such that it opened the file through Sublime Text 2. I get the following error whenever I first open ...
2
votes
0answers
132 views

Clarification on signals (sighup), jobs, and the controlling terminal

So I've read two different perspectives and I'm trying to figure out which one is right. 1) Some sources online say that signals sent from the controlling terminal are ONLY sent to the foreground ...
2
votes
0answers
446 views

MySQL crashes when connecting from localhost with tcp (UNIX sockets work)

I have Ubuntu 12.04 running MySQL server 5.5.24. I can connect with mysql --user root -p. status shows me : ... Connection: Localhost via UNIX socket ... When I try to connect with mysql --host ...
2
votes
0answers
164 views

read unix config file from CLI

I need to access a configuration file from a Makefile, and thus seek for a short-readable-maintanable way of doing. The file is a python ConfigParser compliant file. #foo.cfg [foo] bar = baz I use ...
2
votes
0answers
39 views

Is there a way to specify the number of CPUs which NetBSD may use throughout its uptime?

I am try to solve a very weird X problem, and I have noticed that changing number of CPU cores of the machine that NetBSD runs on may help me to solve it. What I wish to do is to give NetBSD 8 cores ...
2
votes
0answers
437 views

Postfix: change sender address of bounce (mails from fetchmail)

I am running a Postfix MTA. Fetchmail is used to get mails from several POP3 accounts. The problem is: If a mail cannot be delivered, e.g. because it exceeds the size limit of the mailbox, a bounce ...
2
votes
0answers
538 views

How do I install LLVM 2.9 on Mac OS X Lion?

I need LLVM (2.9 specifically), but I can't figure out how to follow the installation instructions. Could someone kindly provide the step by step console commands for building/installing LLVM in the ...
1
vote
0answers
29 views

Difference between Virtual Console and Workspace?

Please explain all differences between Virtual console and Workspace in Linux. If possible also kindly requested to specify definition and/or example. Many thanks.
1
vote
0answers
33 views

How can I create a CD or USB key that fully restores a Linux install? (a la the CDs that come with Windows boxen)

Whenever I assemble and configure a Linux PC for someone, I always run into the problem of what happens if they want to restore their system back to the way it was when they got it. Either they ...
1
vote
0answers
17 views

Difference between ntsysv and system-config-services

Please someone can guide the difference between: # ntsysv # system-config-services ntsysv - tune services should be automatically started, is it similar to chkconfig?
1
vote
0answers
63 views

Directory and segments in Multics operating system

In Multics OS there are different access rights in the access control list for segments (execute, read and write) and directories (status, append and modify)(book). How do segments correspond to ...
1
vote
0answers
79 views

Are there any OpenGL implementations which can use a server to do the rendering?

Assume I have 2 independent machines, one running Debian sid, and the other running Windows 7. The one running Debian sid has a decent graphics card, the Windows 7 machine has no graphics card and a ...
1
vote
0answers
35 views

Retaining creation date with unison

Is there a way to retain creation dates using unison? I can preserve the modification times, but I also need creation dates. Edit: OS in use are BusyBox (EXT4) and OS X (Extended Journal)
1
vote
0answers
235 views

Enable ssh service from command line (single user mode)

How can i enable the ssh service in the single user mode? I know how to do it in Terminal: systemsetup -setremotelogin on How can i do it in the single user mode? And if i reboot the system that ...
1
vote
0answers
49 views

shell script for finding the unix noun phrase

one entry in the on database is: LPE-1*story#1/1 of pearl#1/2*historia de la perla*storia della perla* histoire de la perle* história da pérola*istoria perlei*TOPIC The fields are separated by ...
1
vote
0answers
79 views

How to create Unix tarball with various file permissions inside on a Windows box?

Could anyone enlighten me on how can I create a regular Unix tarball archive (e.g., tar.gz or tar.bz2) on a Windows box in a way that will mark some files in that archive as "executable" (e.g., with ...
1
vote
0answers
439 views

chroot under Mac OS X

So I have googled a lot with different search terms, but didn't find anything usable, only that intead of ldd I have to use otool -L to see the used libraries of a programm. I tried to copy bash into ...
1
vote
0answers
34 views

Reordering file lines like other file (Unix)

Is there a tool (or option for sort) which will re-order lines of a file so that they are ordered like a key in another file? For example, I have a data file: T01F01475558 30 T01F022B3A17 31 ...
1
vote
0answers
102 views

OpenDKIM Signing return fail when spaces in mail

Few days ago I install OpenDKIM Signing using on my CentOs 6 server by manual - http://stevejenkins.com/blog/2011/08/installing-opendkim-rpm-via-yum-with-postfix-or-sendmail-for-rhel-centos-fedora/. ...
1
vote
0answers
115 views

Linux Kernel-Module loading with modprobe - needs reboot

I was just playing around with the bios beep and therefore I had to load the module pcspkr. But the beep would only work when I rebooted the system. The module is definitely loaded, but the speaker ...
1
vote
0answers
381 views

File shows different size after copying to another directory

I used cp -rP <dir name> <new dir name> to copy the contents of a directory, including permissions etc from one dir to another. The odd thing is, either du is giving me some strange ...
1
vote
0answers
95 views

repeat command until process start or timeout unix

Is there anyway to check the number of file in a directory, if the number of files is correct, say 5 files, zip the files with zip -r total.zip. If the number of files is wrong, wait 3 seconds, and ...
1
vote
0answers
183 views

Retaining usable permissions and ownership copying unix files to NTFS

I have an old solaris system with terabytes of data on it. Recently we got a new server and I went along with the recommendation of a windows server "because it was easy to manage". Someone copied ...
1
vote
0answers
234 views

Unix set path not working

I installed a package s2cmd on my unix machine. It works fine when I run it from the folder it resides in, but it did not run from other locations so I set the PATH using the command export ...
1
vote
0answers
220 views

Did I kill windows boot manager? I can't boot after installing FreeBSD

I installed freebsd with dual-booting. I specified an empty partition for freebsd auto-configuring. After it was installed, windows boot manager disappeared. What's going on? Should I recover it, or ...
1
vote
0answers
527 views

How can I copy files recursively without overwriting the directories

On linux, let's say I have some files like this: dir1/file1 dir2/file2 and I want to copy them to a destination that already have dir1 and dir2 and looks like: dir1/file1 dir1/file1a dir2/file2 ...
1
vote
0answers
45 views

Supervisord 3.0a8 on debian ignores child logging options

I tried tried to configure the logging for supervisor child processes (http://supervisord.org/logging.html). Here's my config: [program:Test_Prog] command= /usr/bin/php TestProg.php ...
1
vote
0answers
187 views

Trouble installing `wmctrl`

It seems that wmctrl is not installed on my system (Mac OS 10.8), but when I try to install it by cloning a git repo and following the instructions (./configure, make, make install), running make ...
1
vote
0answers
99 views

Software to proxy socket connections across a TTY-like link

I'm looking for some software that can perform remote forwarding of socket connections across a TTY-style link. I have two machines, A and B. I have admin privileges on A, but not B, but on machine ...
1
vote
0answers
159 views

How do I search/replace symbolic links?

I've been having this issue for a long time, and I don't want to reinstall the whole system, yet. Now there's an app that runs on Java, and it doesn't even open. The logs says some cocoa files were ...
1
vote
0answers
135 views

what happens when moving hard linked file across filesystems using mv?

I have a collection of folders on one file system which have been hard linked together (the contents are identical). What happens when I move one of the folders to another filesystem on another ...
1
vote
0answers
96 views

Samba jobs disappear from Windows spooler

I searched for similar issues to no avail, yet I have multiple systems exhibiting the same bizarre behavior. Samba jobs printed to Windows printer shares arrive at the Windows workstation, but then ...
1
vote
0answers
133 views

What is the best tool to perform an automated/unattended virtual guest os install?

I would like to be able to add (and remove) virtual machines from my Ubuntu (12.04) host OS using 'unattended guest os installation' method. What I mean here is to pass a command to the software via ...
1
vote
0answers
82 views

ZIP and copy backup from Windows server to Unix

I have a Windows application server which is working on weblogic. Everyday backup is happening for the server itself – it is increasing the load on the server. I have an HP Unix server for backup ...
1
vote
0answers
28 views

LESSOPEN equivalent for lv

Is there any LESSOPEN equivalent, which is an environment variable used by less, for lv?
1
vote
0answers
158 views

tcpdump loses connection

I'm on Ubuntu – but it's the same on Debian. I'm using tcpdump in order to track the connection of computers on my private network. At some point, the internet connection of the computers launching ...
1
vote
0answers
1k views

Create a “postgres” user account on OSX?

I just made a mistake: I installed PostgreSQL on Mac OSX 10.6.7 and when I wanted to connect to it I did su postgres, then it asked me for a password and I did sudo passwd postgres to change the ...
1
vote
0answers
271 views

Getting complement of two text files on the Unix command line

Is there a fast Unix-based utility (ideally written in C) for getting efficient, streaming intersection/union of tab-delimited text files? For example, allow queries such as "give me the all the ...
1
vote
0answers
299 views

Converting csh or tsh scripts to Bash

I am looking for a tool that can convert scripts written in csh or tcsh to a bash scripts. At least on the basic stuff so that I don't have to go through the process of translating everything from ...
1
vote
0answers
6k views

How to set permission to ftp-user so that has FTP access to /home/another-user/www/public_html folder?

I'm a novice with Linux/Unix. Basically I'm attempting to setup a Web server, and FTP server on a Linux box via SSH. My plan is to have Apache's root folder inside the main user account like ...
1
vote
0answers
3k views

remove dir with files not working

I'm trying to remove this directory pear from my tmp folder, but it's not letting me. I tried sudo rm -r pear But then it asks me to override, and I put y and it says Permission denied. Any ideas ...
1
vote
0answers
107 views

Soft link to a Excel sheet created in Unix is displayed as a Folder in Window

Created a Softlink for a Excel sheet using the following command, in Unix shared file system. temp$ ln -s temp1/Main.xlsm Link.xlsm But when I view the temp directory in Windows, Link.xlsm appears ...
0
votes
0answers
29 views

ksh script using if break statements

I have a script file that has the server details like set -A SERVERGRPS SERVERS_CA SERVERS_NY set -A CA ca126 ca546 ca 642 set -A NY ny112 ny113 ny114 now I have to write a another script which ...