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
53 views

Get growl notifications from within a unix screen which is not in focus from a remote SSH session

Using iTerm2 I have growl notifications working within a (unix) screen session on remote servers when that window has screen's focus: My server's ~/.bashrc has: growl() { local ...
0
votes
0answers
8 views

Unix environment variables for Unix-derived apps in Windows

My problem is that cross-platform apps initially written for Unix/GNU+Linux trash my Windows filesystem by placing files wherever they can. In most cases this can be solved by setting environment ...
0
votes
0answers
60 views

Installing APK's through mobile terminal ide?

I was wondering if you could manually install apks that are downloaded onto the SD card of my android tablet. I'm looking for something similar to the sideload command when connected to a computer. I ...
0
votes
0answers
89 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 ...
0
votes
0answers
108 views

Unix Multi-Group Permissions

I am trying to do permissions to a folder for multiple groups, each will have different permissions to the directory. Can you let me know how to do this without editing the ACL's? Group 1 RW Group 2 ...
0
votes
0answers
38 views

Message queue doesn't exists any more after reboot/shutdown of the virtual machine (Ubuntu)

I'm working on a simple multithread client/server program in C using native message queue of unix to send messages from one client to another. It works fine, but my problem is that after a reboot or ...
0
votes
0answers
17 views

UNIX command tcpdump for certain filetypes like xml

I use the unix command tcpdump with these extensions -A -s0 -ien0 port 80 I know how to add, for example a new host, that would be and \ host random.com Can i sniff for certain filetypes? I have ...
0
votes
0answers
72 views

Why isn't the loop back interface replying to injected ICMP echo request?

I want to be able to send IP packets from a userspace program and receive responses on a TUN interface. To test, I'm injecting ICMP icho requests to the loopback interface from a user space ...
0
votes
0answers
106 views

Using Tap/Tun to intercept packets at IP level

I am working on a research project involving ARP poisoning. I would like to intercept packets on the IP level. If my machine receives a packet with an IP address not destined to it's own IP ...
0
votes
0answers
69 views

0711-317 ERROR: Undefined symbol

I am installing a C package named expat-2.1.0 in AIX 6.1 machine. While performing a gmake it popping the below output. /bin/sh ./libtool --silent --mode=compile gcc -std=gnu99 -I./lib -I. -g -O2 ...
0
votes
0answers
28 views

How to get the status of VGA device

Currently I am using vga2usb device for capturing output from the virtually any VGA source such as tab or any another monitor. If I connect this vga2usb device to my Ubuntu machine then we are ...
0
votes
0answers
167 views

Configuring Apache with PHP-FPM, Apache failed to start

I followed this guide to configure PHP-FPM with Apache on my server but after I restart Apache successfully: [root@localhost vhost]# service httpd restart Stopping httpd: ...
0
votes
0answers
54 views

-t, -T and/or -t -t options for ssh are not stopping stty errors

I've googled this error (which is a pretty common error) ad nauseam, but none of the solutions are working. Disabling pseudo-tty allocation nor forcing pseudo-tty allocation work for me. I always ...
0
votes
0answers
108 views

Can't build using MacPorts in OS X

I've submitted a ticket here, but I am pretty pessimistic it'll be addressed. As I say, there, I'm running MacPorts 2.3.1 on OS X 10.9.3. In trying to install llvm-3.2, I get the following error: ...
0
votes
0answers
133 views

How to query mssql db from bash on subsystem for unix

I have a script that is used to query a database and use the result set for further processing. This is a shell script that runs on bash. But the bash used is the one shipped in subsystem for Unix for ...
0
votes
0answers
21 views

How can I activate the Front Panel in CDE?

We installed a new Solaris work station at work and most of them come with the Front Panel, however the latest did not. How can I activate it?
0
votes
0answers
41 views

Solaris - Inheriting by files the user's ownership of directory

I have a directory with ownersip like user:group. I want to make on it something like suid on group, but for user - all of new created files have a directory ownership. For example: drwxrwx--- 2 user ...
0
votes
0answers
970 views

FTP: Connection Refused

I am trying to transfer files between a Linux PC to a Windows PC. I can ftp the Linux PC with localhost ftp localhost prompts for the username and password and the login is successful. But when ...
0
votes
0answers
43 views

How to temporarily disable rsh between machines for user only

First, please note that I am just a regular user. I cannot do anything as a super user. Our sysadmin has enabled rsh between machines in our local network. That is, I can do this: [user@machineA] ...
0
votes
0answers
78 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
51 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
185 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
33 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
264 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
50 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
38 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
258 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
57 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
221 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
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
63 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
137 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
84 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
997 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
270 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
112 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
98 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
56 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
189 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
439 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
61 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
112 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
89 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
53 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
897 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
247 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
52 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
90 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
76 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) ...