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
220 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
26 views

find using regexp and echo matches

I have about 50 users in /home/ directory and I have cloned a git repository to everyone: Executed at /home/ as root user: find . -maxdepth 1 -type d ! -name . -prune -exec git clone ...
2
votes
0answers
61 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
82 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
82 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
140 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
847 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
145 views

How to configure tripwire to ignore certain files?

I run tripwire daily, I wish to make tripwire --check ignore certain files and directories. How can I do it?
2
votes
0answers
123 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
386 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
160 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
421 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
524 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
15 views

sed, insert file before last line

The following inserting file method for sed used to be working, even before last line, but not any more. Is it a bug in the current sed? Demo of inserting file method with sed: mkdir /tmp/test ...
1
vote
0answers
26 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
56 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
74 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
29 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
217 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
46 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
74 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
413 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
33 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
100 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
103 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
147 views

iotop complains “CONFIG_TASK_DELAY_ACCT not enabled in kernal” only for specific process

I'm trying to use iotop to determine whether the CPUs are waiting on I/O at any point for a specific program called bwa (it's a next-generation sequence alignment program). If I start iotop without ...
1
vote
0answers
341 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
94 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
172 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
220 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
208 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
468 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
40 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
167 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
96 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
156 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
132 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
93 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
130 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
81 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
26 views

LESSOPEN equivalent for lv

Is there any LESSOPEN equivalent, which is an environment variable used by less, for lv?
1
vote
0answers
156 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
267 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
294 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 ...