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

0
votes
0answers
57 views

Idle timeout Bourne-style shell

Is there any way to timeout idle users in Bourne-style shell (/bin/sh). man sh does not talk about it. http://www.freebsd.org/cgi/man.cgi?sh TIMEOUT or TMOUT shell env variables in /etc/profile ...
0
votes
0answers
40 views

set/modify environment variable for gnome/kde at runtime

Is there a way to modify or set environment variables in gnome or kde at runtime, ie. after logging in? I specifically need this for gnome, but knowing the kde method would be really useful too. If ...
0
votes
0answers
105 views

copy-paste in VNC (unix)

I have a copy-paste issue when connected to the VNC client. I am running the "vncconfig &" as requested and copy-paste works as expected. After few hours/day, the copy-paste function stop working ...
0
votes
0answers
30 views

How can I use zgrep to take a file with IPs and recursively search another path, then take matching lines and correlate them into a single txt file?

How can I use zgrep to take a file with IPs and recursively search another path, then take matching lines and correlate them into a single text file? The command I have been using to find a single IP ...
0
votes
0answers
131 views

unix process showing unusual cpu usage and timing in ps aux

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 684 186912060 0.0 17140 988 ? Ss Feb24 54195432:44 root 7319 288895842 0.0 4096 668 ? S 04:30 ...
0
votes
0answers
51 views

Homebrew and RVM bickering

Homebrew requires /usr/local/bin to appear before other binary directories in PATH RVM wants to be sourced last The bottom part of my .zshrc: Alternative 1: export PATH=/usr/local/bin:$PATH [[ -s ...
0
votes
0answers
203 views

Kali Linux: Renaming files in bin

I'm just curious. I want to rename files in /bin such as - ls --> als //after I change it, the ls command no longer works and I have to use als instead - adduser --> aadduser - chmod --> achmod so I ...
0
votes
0answers
94 views

OpenBSD Change tty background color

Is it possible to change the background color of one or all ttys without installing any additional packages? Using a config file, or environment variable? I tried changing the text mode resolution, ...
0
votes
0answers
16 views

Default location for public keys of remote machines on windows?

I want to move the files between a windows and Linux machine. Because I want to transfer without prompting for credentials I need to distribute the Linux's public key to the Windows machine. I am ...
0
votes
0answers
45 views

What is the meaning of double hyphen in reboot command

What is the meaning of the double hyphen in the following command: reboot -- -rx
0
votes
0answers
51 views

Windows client that can SSH into a tablet running Unix via the USB cable?

Seems like there should be a solution to this : I run a Unix on my Android tablet. I take tablet to any old PC, and connect via USB. I open some kind of terminal program on the PC (eg. PuTTY, ...
0
votes
0answers
48 views

SIGCONT definition, continue or restart?

According to the definition from wikipedia SIGCONT The SIGCONT signal instructs the operating system to **continue** (**restart**) a process previously paused by the SIGSTOP or SIGTSTP signal. One ...
0
votes
0answers
293 views

nginx, node.js unix socket access denied

I don't understand why it refuses to connect. ls -l to /tmp srw-rw-rw- 1 root root 0 mars 4 06:26 php5-fpm.sock= srw-rw-rw- 1 root root 0 mars 4 13:30 sgtu3.kernel.sock= ...
0
votes
0answers
88 views

Motion - How to create a timelapse of motion detected images only

I'm using motion software on debian and it's creating regular snapshots and updating the timelapse video as it goes along. Is there anyway to just have a timelapse video which contains the images ...
0
votes
0answers
31 views

Why am I not receiving any system e-mails?

In my crontab, I have the following: * * * * * sh /home/rimmer/test.sh In /home/rimmer/test.sh I have the following: #!/bin/bash echo 'test'; I have also set chmod +x /home/rimmer/test.sh, of ...
0
votes
0answers
33 views

stop user from being runing any commands, should able to run only granted with sudo

Is there any single command or script which gives result, the list of how many commands a linux user is able to execute? And how to stop user from executing even a linux basic commands and should not ...
0
votes
0answers
47 views

Exporting Variables – Reading Them Returns Blank?

Hi – I'm using Mac OS X (Mavericks), which should be UNIX compliant. In my .bash_login, I'm exporting variables for Cocos2D-X. I know this is executing, as I have a 'echo Test' line that executes ...
0
votes
0answers
180 views

how to send encrypted mail using mailx command in unix

I want to make my email encrypted as email is confidential. Can anyone please tell me how to encrypt the email using the mailx command. In my shell script I have already used mailx to send the emails, ...
0
votes
0answers
89 views

Starting a Script with Nohup inside another Script

I have a server that runs several scripts, and every once in a while we receive an autogenerated alert mail saying that some are stopped. (It doesn't matter the reason.) Then we manually start all ...
0
votes
0answers
48 views

Zsh prompt produces an error

I have the default prompt for oh-my-zsh, which is great when I have a git repo, but if there is no git repo its actually failing instead of putting nothing. I trapped an ascii image to err just for ...
0
votes
0answers
198 views

How to access different tty session

I wanted to know if there is any possibility of login to other tty sessions. Someone has mistakenly changed the root su password. One of the session is already logged in as root. So any possibility ...
0
votes
0answers
445 views

Meaning of sshd's disconnection log messages

I got a series of messages like below in /var/log/secure and I'm curious about the numbers and the messages. Received disconnect from xxx.xxx.xxx.xxx: 11: Bye Bye Received disconnect from ...
0
votes
0answers
305 views

Cannot connect to local ip address OSX (Mavericks)

Here is the situation: I can ping and connect to localhost / 127.0.0.1 I can resolve hostname (dig / nslookup) I can ping my ip local ip address (10.63.66.185) and hostname from another machine I ...
0
votes
0answers
31 views

What permissions should I have on a file to make it available via owncloud and readable to my local user?

Files stored in .../owncloud/data seem to be owned by www-data and in a group of the same name.
0
votes
0answers
61 views

Exposing one network interface through another on Mac OS X

I have a network interface, as specified by ifconfig inet0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1400 ether 44:44:44:44:44:44 inet 20.23.10.51 netmask ...
0
votes
0answers
95 views

Find files based on content and sender, receiver and based on date range provided

I would like to find files based on content and sender, receiver based date range provided More details below: Find files between date range (where folder names are the dates in the format yyyyMMdd) ...
0
votes
0answers
67 views

How to redirect all traffic from one port to another host and port?

I have a socat running as redirector of traffic to another host, but it always hangs up and freeze. Maybe there is better options to do such a thing? My current command is: socat ...
0
votes
0answers
832 views

Copy files between servers using jsch

I have a java program using jsch which will connect to one unix server and display the number of files in it. Now I need to connect to another unix server and copy one file from it to first server. ...
0
votes
0answers
239 views

Failed to set permissions of path: ..\taskTracker\cyg_server to 0700

While running a job in Cygwin in Hadoop cluster, the permission failed. $ bin/hadoop jar hadoop-examples-*.jar wordcount inputwords outputwords2 Patch for HADOOP-7682: Instantiating workaround file ...
0
votes
0answers
107 views

Create FTP account under standard user

I run multiple client websites on a VPS purchased from Dreamhost. When I initially set up this VPS, I only required one user. I created a user called "thoughtspace" with the home directory at ...
0
votes
0answers
88 views

Installing php mail() function

I have recently set up a CentOS 6.4 server using the minimalistic installation. I have a working version of PHP up and running, but I want to be able to use the mail() function in PHP. What do I ...
0
votes
0answers
49 views

Can I highlight the line at which a command was issued in zshell?

I am using zsh and oh-my-zsh and would like to easily find the start of a i.e. ack or find by changing the color of the line the command started. Is it possible to change the line color as soon as the ...
0
votes
0answers
168 views

Install a VPN Server on Ubuntu or CentOS which is router compatible

I am new to this networking stuff and for the last three days I have been trying to install PPTP VPN Server on my Ubuntu. Computers running XP can connect to it without a single problem, but when I ...
0
votes
0answers
360 views

How to unwrap 80 character text

Many text filess around Internet are word split before line reaches 80th character. I understand it is desirable by those using 80 character terminals. However I like sending longer articles to my ...
0
votes
0answers
58 views

OS X — Set `Internal` flag on disk drive

I have an internal drive that OS X picks up as external? How do I tell the system that its actually internal? $diskutil info disk0 Device Identifier: disk0 Device Node: ...
0
votes
0answers
89 views

Setting mutt mimetype to handle multiple options

I've configured .mailcap for mutt to handle mimetypes of attachments individually, with different 'viewers' over the years which works well, however mailcap can handle only one application per type. ...
0
votes
0answers
85 views

How to edit a remote file with implicit su-ing to another user on remote host

I want to edit files on Unix/Linux servers from my PC (running Linux and/or Windows). However due to security, I cannot log into the remote server as the file owner, but as my named user, then sudo su ...
0
votes
0answers
47 views

Get rid of “seen” messages at GMail

The following is written by fetchmail in its log file: fetchmail: 96 messages (96 seen) for my@email at pop.gmail.com (638442 octets). From time to time this number of "seen" messages increases. It ...
0
votes
0answers
809 views

How does iptables masquerading allow to access a different local subnet?

My Linksys router (IP 192.168.1.1 inside a /24 subnet) is connected to my ADSL modem (IP 10.0.0.138 inside a /24 subnet) to establish an internet connection via PPPoE. To be able to access the modem's ...
0
votes
0answers
204 views

Cron job not working due to wget error

I'm setting up a CRON job on my MediaTemple DV4 to generate a sitemap. To test I ran the command via the command line: wget ...
0
votes
0answers
51 views

Recovering a striped volume

Is it possible to recover a striped volume (6 TB from two 3 TB disks) that has had all it's data removed with sudo rm -rf? Assuming no overwrites. As a last resort (I'm a student with very few ...
0
votes
0answers
25 views

Different behavior from ubuntu server and ubuntu client on windows

#!/bin/bash # Reading cat /home/radiare/Desktop/first.txt | while read LINE do echo $LINE if [ "$LINE" == "false" ]; then echo "Inside first loop" break fi done echo "second file read started" cat ...
0
votes
0answers
83 views

Merge command history between the Python shell and the Unix terminal

A convenient feature of most Unix terminals is the fact that you can hit the up and down arrow keys to scroll through your command history to repeat old commands. This feature also exists in the ...
0
votes
0answers
72 views

LZMA Based Archiving on Linux

I am trying to build an archiving system. I have tested out LZMA compression algorithm, and it provides very good results. However, I need the ability to add and retrieve(will remain in the archive) ...
0
votes
0answers
33 views

Is it possible to run a server on a mounted file system?

I have two machines testserver and dev. I have the /opt directry on testserver mounted on my dev machine. Both machines are unix. I need to create and run an OpenDJ ldap server in the mounted ...
0
votes
0answers
904 views

ssh key permission denied failure

I have done so much of googling on this but just couldn't find the exact answer,there are many threads on this, all of them point to check for file permissions or $HOME directory which are right in my ...
0
votes
0answers
141 views

SSH To My Home Server From Another Location

I am at a location away from home and behind a firewall that does not allow any connections and any ports other than specific port to a specific ssh server. I am using Windows 7 and putty. Trying to ...
0
votes
0answers
361 views

Automation script to SCP from UNIX to Window Server

I'm new to server/Unix trying to transfer file between AIX to Windows I'm trying to create SCP or SFTP script that will run on cron and transfer text file on /usr/apps/11.111.1.11.log file to window ...
0
votes
0answers
158 views

Superimpose videos with FFmpeg

We’re trying to edit a video with FFmpeg. One of our videos has an alpha channel and we want to superimpose this above another video. example: Video 01: Start frame 1 end frame 200 Video 02: ...
0
votes
0answers
120 views

Why is process not being displayed by TOP

I am running a Mathematica script (this question probably doesn't fit in Mathematica.SE however) and I know that it generally takes up a lot of RAM and loads up my cores. However, althought pgrep ...