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

-2
votes
0answers
25 views

What's the difference between effective user id and real user id? [closed]

I am a Ruby developer, and in the Ruby File API, I read the doc: readable?(file_name) Returns true if the named file is readable by the effective user id of this process. readable_real?(file_name) ...
0
votes
1answer
28 views

Unix box blocking an IP?

I have inherited a Unix box that is now running in AWS in an EC2 instance. Everything has been working fine until the other day we were doing some performance testing on the web application that is ...
0
votes
1answer
79 views

Linux- Permission denied?

I'm installing Neo4j server as a linux service, but when I install it, I get the following message: /sbin/insserv: Permission denied What is this? What should I do? I'm running everything with ...
-2
votes
1answer
30 views

find maximum of My list [closed]

I have List like this Apple 1.09 Orange 20.01 Banana 2.34 Use cut, sort, head, and tail to determine the maximum and minimum particle momenta. Which particles are they?... this is my code: cat fn ...
-1
votes
1answer
44 views

Is there a standard place to install software that doesn't follow the Filesystem Hierarchy Standard?

Let's say I'm building and installing some third-party software called foo. I want headers in /usr/local/include/foo, shareable read-only data in /usr/local/share/foo, and so on. But let's say foo ...
-2
votes
0answers
31 views

Perl script for syncing files between servers [closed]

I need structure how to prepare a perl script which will sync the file from one server to another without logging to 2nd server
-1
votes
0answers
21 views

SSH File Transfer: Unix Client, Windows Server. HEADACHE [closed]

So I'm on my mac, and have ssh access to a Windows Server, which I can view and cd around etc. But I'm unable to transfer files using scp or anything. It just times out. I think the version of SSH the ...
0
votes
2answers
44 views

Move files to another directory which are older than a date

I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came ...
1
vote
1answer
30 views

Using pv with a Python script: monitoring progress when uploading to AWS Glacier using the boto glacier utility

I am looking to use boto's glacier command line tool to upload data to AWS Glacier. I'd like to monitor the progress of my upload. Normally I use pv to monitor progress. I've perused the code of the ...
-5
votes
0answers
19 views

Requirements for 24x7 Support Center [closed]

We are having team of 6 Unix and 2 Backup Engineers providing 9x5 support.In the future we will providing 24x7 support. I would like to ask people here what is required to setup 24x7 operations to ...
-2
votes
1answer
15 views

Zip with a parent folder [closed]

I am currently in a folder /tmp/foo, e.g. /tmp/foo /tmp/foo/a /tmp/foo/b and I want to zip all the files/directories under this folder with a virtual folder bar, so that when un-zipped, it will be ...
1
vote
1answer
32 views

schedule a job to run only “once” after 50 seconds

I have a process which is designed to do a specific task in case of events. Requirement is to run a specific command 50 seconds after an event occurs. Cannot modify the code to put sleep there as it ...
-3
votes
0answers
42 views

How to setup production server? [closed]

We have developed a java ee application and now we want to host it onproduction server. can anyone guide us what all we should take care while setting up production server in java ee
0
votes
1answer
38 views

What do these kernel errors in my logwatch mean?

I was reading my logwatch this morning and I've noticed that there are a lot of kernel errors. I'm on CentOS 6 and the machine acts as a web server. Can anyone help me understand what these mean and ...
1
vote
4answers
85 views

How to recover free space on deleted files without restarting the referencing processes?

When big files are deleted on a server, the files might still be referenced by processes, so the file system doesn't have more free space. I tried to use lsof, but it seems it didn't list the deleted ...
1
vote
2answers
60 views

What is this specific shell script statement validating?

I'm not a good Shell Script expert. Can somebody help me to understand and explain the statement [ ! -z ${TRUE:-} ] && [ ${TRUE:-} == 'true' ] &&from the following snippet. What is ...
1
vote
1answer
32 views

SSH on FreeBSD 8.1 sshd is not running

After reading many pages of documentation and articles on how to telnet or SSH into FreeBSD as root, none have given me a solution that actually works. I am looking for a how-to-remote-into this ...
0
votes
0answers
29 views

How can I use the home, end, page-up, page-down keys on Solaris via PuTTY?

I love the shortcuts home, end, page-up, page-down, but I am unable to use them via PuTTY on Solaris servers. Windows PuTTY => Linux desktop via SSH, works fine. Windows PuTTY => Solaris ...
0
votes
1answer
45 views

Automate git-pull, stuck with keychain

I'd like to create a cronjob to automatically run a git-pull every minute. The problem is that my repo is private, I had to create keys on my system (Ubuntu Server 12.04). I installed keychain and ...
0
votes
1answer
13 views

How I can Monitor other application and resources from IBM WebSphere Application Server 7.0

I have IBM WebSphere Application Server+ 7.0 , and I deploy many java application on this server , from other hand I have stand alone java application ( this application is financial application and ...
1
vote
1answer
43 views

bash_history file and history command showing different entries

I am using the Terminal app on OS X to try and clear my command history. The entries within my $HOME/.bash_history file do not match what is returned by the history command. The echo $0 command tells ...
0
votes
0answers
41 views

Does Samba (latest) support NTLMv2 & 128-bit encryption?

I am having trouble finding any 'current' information on this. I have found little documentation and old references seem to say it should be supported in a new release. Does Samba support NTLMv2 & ...
-3
votes
1answer
31 views

Two servers mails [closed]

is that it is possible to have two mail servers in parallel, ie a primary through which mails are routed to the outside and a secondary for the exchange of mails locally. and the two servers are ...
0
votes
0answers
36 views

Centralized authentication for a mixed system (Linux, Windows) with existing OpendLdap,Active Directory and Keberos

I have a mixed system. The linux users are authenticated using existing Active kerberos installed on a linux server and querying data in openldap. On the other hand,Windows users are authenticated ...
0
votes
2answers
74 views

Why need to use exec in upstart script?

I often see some upstart script has the to use exec, what is the point? Seems removing the exec the script also work? e.g. start on runlevel [2345] stop on runlevel [06] exec /path/to/program
0
votes
0answers
29 views

Should restarting a daemontools job create a new process?

I have daemontools set-up to run a "worker.php" file. Looking at the output of ps aux I can see one instance of my php /path/to/worker/worker.php running. When I do an svc -d /etc/service/worker ...
0
votes
0answers
24 views

List environment variables of a running process on AIX without character limit

Today I was trying to debug an issue where a process was not picking up the correct environmental variable. It took us hours before we realized that it wasn't picking up the correct variable. I tried ...
0
votes
0answers
15 views

find loadbalancer is hit - by ping

Can I ping a hostname and find out if the request is taking through the loadbalancer? Will I be able to see an IP address of loadbalancer and figure out? Where exactly will my loadbalancer config be? ...
0
votes
1answer
49 views

OSX terminal bash permission denied after GIT changed file permissions while cloning repo

I am a beginner at OSX/Unix command line. I have a GIT repository that was created on my OSX computer. Recently I cloned the repo and went to run a bash script within the repo via ./BashFile.sh. This ...
0
votes
1answer
41 views

Count how many rsync process are running on unix machine

I am using Unix machine $ uname -a SunOS machine-name 5.10 Generic_127112-11 i86pc i386 i86pc How would I get the number of rsync process running on my unix box. I tried $ ps -ef | grep rsync ...
10
votes
1answer
221 views

Can you help me with my software dependency issue?

This is (an attempt at) a Canonical Question about Compile Dependencies and Package Management. I have a question regarding compiling ports/software or installing RPMs on my *nix server. When I ...
0
votes
1answer
26 views

Table Locking - Large number of inserts - How do I identify the source of the inserts?

I usually post on Stack Overflow, but I think this may be the more appropriate forum for this question.... I have a dedicated server that servers several million pages monthly. We use LAMP. We're ...
0
votes
1answer
38 views

Changing symlink when a program is running, any side effect?

We have a custom program (test) to use the following structure, e.g. myapp myapp\version1\ myapp\version1\test myapp\version1\logs\.. myapp\version2\test myapp\version2\logs\.. myapp\running ...
11
votes
6answers
450 views

What is a good solution to encrypt some files in unix?

I am looking for a utility to encrypt certain directories in Linux. I am not looking for any full disk encryption services, but simply to encrypt a few directories for the purposes of storing files in ...
-1
votes
2answers
41 views

Running multiple cron jobs from single script

I have three different jobs that I want to run from the FreeBSD shell. I would like to consolidate them into a single script, if possible, but I can not find any syntax to do that. Is there someway I ...
0
votes
0answers
19 views

Apache Ant setup in Aix

I want to install Apache Ant on my AIX 6.1 Server and I'm facing some issues. When I visit the link http://ant.apache.org/manual/install.html I did not understand the installation step for the files ...
1
vote
1answer
89 views

What is the kerberos keytab file used for in UNIX/AD kerberos authentication?

I have proved that UNIX/AD Kerberos authentication works without the presence of a keytab file so I'd like to know whether I should worry about it (given I'll need an individual keytab for each server ...
0
votes
0answers
42 views

UNIX bash patch [closed]

Could anyone help me with this code diff -u /home/mint/projekt/exp/.le/f1.txt /home/mint/projekt/proj/f1.txt > /home/mint/projekt/exp/patch.patch patch /home/mint/projekt/exp/f1.txt ...
0
votes
1answer
104 views

Cron permissions?

I have a bash script which if I run manually (as root) performs all of its tasks without issue. The tasks are just a few php scripts and then a "mv" to move the process file to a temporary folder. ...
4
votes
2answers
169 views

How to find all ways in which a Unix user account is locked

I occasionally find myself in a situation where an undermaintained system has an account that's been locked out. The problem is that there are a variety of ways in which an account can be locked out, ...
0
votes
1answer
46 views

How to create new logical volume by taking the space from an existing one

I am new to the world of logical volumes. I have installed a Linux (CentOS), and the installer created an 50 GB root logical volume (mounted at /), and a 475 GB home logical volume (mounted under ...
0
votes
2answers
33 views

Create a process whose ruser and user are different

Could anyone please help to find a way to create a process whose ruser and user are different? Currently, I used the line sudo su david -c ./test.pl, Then when I type the following line to get the ...
-2
votes
1answer
43 views

Read a file created by root user on unix system [closed]

I have a file created by root user on unix system and the file is assigned to a particular group.All I want to do is read that file by logging in as user which is not root and not a part that ...
1
vote
1answer
86 views

IPTables preventing remote connection to MySQL

My table rules: sudo iptables -L --line-numbers Chain INPUT (policy ACCEPT) num target prot opt source destination 1 ACCEPT tcp -- anywhere anywhere ...
1
vote
1answer
77 views

What's the best way to enforce a maximum size on a file directory?

I'd like to create directory with a maximum size of, let's say 500MB. The directory may contain any number and depth of subdirectories. When the maximum size limit of the directory is surpassed, I ...
0
votes
0answers
44 views

RDP forwarding on HP/UX machine

I have a setup that consists of a HPUX machine that acts as a router and has a set of windows machines sitting behind it. I have given the HPUX box 3 external IP address on our main network so we can ...
0
votes
1answer
45 views

find and delete files of a certain type inside a tar.gz file

Is there a way to not only find but also delete any .gz files inside a .tar.gz file? I found this link but I wouldn't know how to modify it to make it able to delete found files.
2
votes
3answers
66 views

Detect file update from modification time

Is there a way to see how often a file is being updated? I mean I need to see if the modification time of a file is updated in a dynamic way (same as tail shows if the file is updated in a dynamic ...
0
votes
1answer
51 views

dsh (dancer's shell): is it possible to specify ports in config file?

Using dsh you can define the list of machines in ~/.dsh/machines.list in the form: <user>@<host> I'd like to have multiple hosts with different ssh ports, like this (I tried): ...
0
votes
0answers
70 views

Custom certificate/key pair does not work on OpenVPN clients

I have setup very basic OpenVPN network on Windows Server 2008. My clients are IP Cameras having Unix OS and built-in feature of openVPN connectivity. Initially I used a common client certificate/key ...

1 2 3 4 5 28