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

Which version of Zorion OS? [on hold]

First, Thanks for your earlier responses. :) Now, I have finally decided to go for Zorion OS on my old PC but I am too amazed by the number of different OSes present underneath the Zorion title. ...
0
votes
0answers
25 views

sshd error - what could be wrong?

I am getting the error below from my /var/adm/messages (or syslog) Aug 28 19:11:21 myhost sshd[25570]: [ID 800047 auth.info] Keyboard-interactive (PAM) userauth failed[9] while authenticating: ...
0
votes
0answers
7 views

Running SGE array job

I am working on SGE and I want to submit an array job for 10 files. For the time being to keep it simple I want to use only 2 commands in the script for each input files So let's say I have 10 input ...
1
vote
1answer
15 views

How do I create a shortcut on Windows to launch Urxvt w/ Cygwin bash but also with certain options beforehand?

Confusing title, I know. Here's the problem: To launch Urxvt in such a way that my extensions work, I'd open up Cygwin and use export DISPLAY=:0 and then urxvt. If I launch urxvt just with urxvt then ...
0
votes
0answers
12 views

Ampersand usage for naming a file in unix

What does an ampersand before a variable name mean? I have a file which uses a variable for naming the file. Eg var1=2015 Then the file is named as Xyz&var1 Can anyone please help me in ...
-1
votes
0answers
18 views

Talk command only shows “Checking for invitation on caller's machine”

The talk command on Yosemite doesn't work and the /etc/inetd.conf file is nowhere to be found. Why is this file no longer included with OS X and why doesn't talk work anymore? Running talk just says: ...
0
votes
0answers
10 views

inconsistencies between df and du solaris 10

I have a problem with the /var having only 800MB left. yet du -sh /var show only 91MB used while df shows it is 5.4GB used.. I cannot find any symbolic links that will cause this.. so I cannot clean ...
2
votes
1answer
32 views

/etc/shadow - how could it be edited when it is read only

I am trying to change the content of /etc/shadow file but realize it is read only sghk1> ls -l /etc/shadow -r-------- 1 root sys 4045 Aug 19 16:13 /etc/shadow the /etc/shadow file ...
0
votes
2answers
36 views

FFmpeg : mp4 and multiple srt into mkv

I have a couple of srt subtitle tracks for an mp4 video. How do I make them into mkv using ffmpeg/avconv? I would like to use space efficiently. Performing conversion on Darwin v13. I will be ...
-1
votes
0answers
15 views

How to align output from unix command in one row

I am running df command for space utilization of a number of space together and outputting it to a sheet but the output of one row gets split into two rows with misalignment in column. Ex: My command ...
2
votes
1answer
20 views

Does a Unix process automatically get supplemental-groups permissions?

User spock belongs to groups human and vulcan. File holo is owned by user root and by group vulcan. Its permissions are rwxrwx--- (770). Process tractor is started by user spock, and has uid spock ...
1
vote
1answer
30 views

ls: cannot access file: No such file or directory

I fundamentally do not understand the issues I am having, but will update this post when I do. Let me just show you. Context: I added a drive to my machine, and for whatever reason, I am unable to ...
0
votes
1answer
83 views

How to free a port on OS X when lsof(1) reports that it is not in use

I am a developer working in OS X on Eclipse. A bug I have been working to fix in a web application results in some very strange behavior when resetting an instance of Tomcat, resulting in the ...
0
votes
1answer
26 views

Why awk printing wrong string into the output file?

I'm trying to read file with awk and write the output in a new file. Content file sample: DATE_Login|09:01:20.507|2015-08-13|TIME_Session|00:32:32|MX|w32 ...
0
votes
0answers
13 views

TCPDUMP Rotating Capture File using -G not working

I'm attempting to run a tcpdump for packet capture for the headers of encrypted traffic. I'm trying to do it with the rotating capture based off time. This is the command I'm running. sudo tcpdump ...
0
votes
1answer
22 views

Cannot Suspend vi with Ctrl-Z

It's on an AIX 6.1 connected via PuTTY 0.65. If I open a file and hit Ctrl-Z then. It works 1st. But when I switch back and hit Ctrl-Z again. A square cursor jumps to the bottom. I can type something ...
0
votes
0answers
13 views

Getting an error while trying to save a cat output using read command

I am new in UNIX and need some support, What my script is expected to do is changing an entry in an existing file by input from the the User: echo 1 | read LINE_START echo finish line ...
0
votes
0answers
11 views

How to wrap search when using less +F

I found the less +F is pretty useful for me to quickly switch to search mode to search the file being tailed. Is there any way I could wrap my search to the top of the file? I also tried to use ...
0
votes
0answers
26 views

How to communicate with a LaunchAgent via Unix Sockets?

I'm trying to setup a LaunchAgent (running in the current user's UI context) that can receive "commands" like a server. The "commands" are sent by a LaunchDaemon running as "root" user, or some other ...
2
votes
1answer
22 views

Auto source a script after sudo su

I am working on a machine that has some user accounts that are dynamically generated, and therefore I can not user customize the .bashrc or .profile. I frequently need to use these accounts to change ...
3
votes
1answer
22 views

Unix tool to print directory (recursively, with ASCII art)?

Is there a command-line utility that can be run in a directory and output something like this, a pretty-printed directory structure? myproject └─ src ├─ master.scss ├─ my-module.scss └─ ...
2
votes
1answer
60 views

Bash History Not Preserved Between Terminal Sessions on Mac

My bash history mysteriously stopped working, and I have no idea how to fix it. This is what my .bashrc looks like: HISTSIZE=500 HISTFILESIZE=500 HISTFILE=$HOME/.bash_history However, when i ...
0
votes
0answers
52 views

Linux/Unix authentication via Active Directory across Networks?

I have two networks, one contains the Windows AD the other contains Unix/Linux clients of all kind. There is a Linux machine which has a NIC in both networks. I'd like to authenticate the unixoid ...
0
votes
1answer
17 views

A Linux Distribution w/ Version which contains Sendmail version 8.6.9

I'm looking for Sendmail version 8.6.9. What distribution (I don't think that matters) or version of said distribution contains the old 8.6.9 version of sendmail. If I'm going about getting that ...
0
votes
0answers
41 views

Cannot access server via SSH in terminal

When I try logging in via ssh root@server.org I am asked for my password, however when I enter it, it doesn't work. I can access the server by a different user then run su root and the password works ...
0
votes
2answers
55 views

date. hwclock keep showing wrongly everytime after reboot

Edited question to better reflect situation. (My hwclock and date is not showing correctly) I am on +GMT 8 and i have set my hwclock to localtimezone by doing the following rm /etc/adjtime ...
2
votes
3answers
62 views

What's the fatest way to calculate in command line?

Is there a faster way to calculate in command line the following: echo "4 * 5" | bc
1
vote
0answers
87 views

Arch Linux Boot Halts on “Started Authorization Manager.”

I was using Arch Linux on my laptop, and during the shutdown procedures there was something making it wait and during that time my laptop ran out of batteries. Now when I try to boot it halts. This ...
0
votes
0answers
22 views

How can I put a subdirectory of /home in a different partition?

If I have /home in one partition, is it possible to put /home/username onto a different partition, or do they have to be on the same partition?
0
votes
1answer
34 views

bash - processing output one line at a time

I read that xargs was good for processing the output of a command one line at a time (and it is). I have the following line in my script. ./gen-data | awk '{printf $2 " "; printf $1=$2=$3=""; gsub (" ...
0
votes
1answer
14 views

set fileformat=unix permanantly

When I built WSO2 product pack from terminal using maven clean install and going to run from terminal by issuing below command at product home directory ./bin/wso2server.sh I got below error ...
0
votes
0answers
12 views

How can login to other TRU64 from Linux?

i want to connect to a TRU64 machine from Linux system same as: "login a client to a windows network how can login from all machine from on that network" now i can connect to a TRU64 machine ...
3
votes
1answer
254 views

When piped with ls, grep in solaris is not working

I am using the below command in solaris ls -l | grep '*PROC*' But it is not working. I have many files that contain "PROC" in their name like "XREF_PROC.complete" but when I use the above command ...
0
votes
0answers
31 views

Using homebrew how can I install multiple versions of the same software?

I'm using OSX and homebrew. I need two versions of the same software. In my case I'd like to install vim that's built with the flag --without-python --with-python3, and vim built without those flags. ...
0
votes
0answers
25 views

Remotely shutdown Windows machine from Unix?

I have a Windows 8.1 machine in LAN. I discovered winexe package through my research but no attempts have been successful yet. I tried: winexe -U [windows-live-email-adress]%[pass] //[local-ip] ...
1
vote
1answer
7 views

Linux unattached chroot or directory?

Would it be possible to chroot or otherwise create an unlinked(in the main root file system) directory? From what I understand, the kernel automatically deletes any file/folder that has no link in the ...
1
vote
1answer
22 views

Why does sl have different speed in different environments?

Perhaps this may seem a silly question, because the utility sl is a rightful member of each page containing the words Linux and fun. I was wondering why does sl on my Debian in ssh session work two ...
2
votes
1answer
26 views

What does this vim cmd mean? :%y+

I found a command to select all text in Vi/Vim file. :%y+ Could someone explain the line, please?
0
votes
2answers
46 views

How to tell what are my startup files for sh or bash?

From this question I understand that depending on the operating system sh and bash behave differently. Doing env and alias I can tell that: Every time I open a OSX Terminal or run bash the variable ...
-2
votes
1answer
26 views

Concerning terminal pagers

more < doc.txt I understand that the above command will display the contents of the doc.txt file until it fills up the screen. I can, then, go down one line at a time with the arrow keys or keep ...
0
votes
1answer
55 views

Running script according to Terminal Context

Is is possible to get the current context, or front-most user-facing process, to trigger a script when it changes? For instance, the user starts with the command prompt, then goes into Emacs ...
1
vote
2answers
63 views

Concatenate multiple tar files in one command

I receive anywhere from 4 to 100 very large tar (~20GB) archive files everyday. I have been concatenating them in the past by looping through each of the archives I see on the file system and doing ...
0
votes
1answer
33 views

How to upload all the files from local to host using Curl?

i have written a shell script to upload all files with different names in the specific path from local to host, but i have facing some issue and the files are not getting uploaded #!/bin/sh for file ...
0
votes
0answers
10 views

I have to choose between 2 ADSLs. Any OSX or unix script to massive compare and average ping, bandwidth, accross countries?

My landlord gave me 2 wifi networks to choose from. I have 3 days to decide. I would like to identify the best of the 2 provider. I already noticed 1 has 8Mb bandwidth while the other has about 28Mb. ...
0
votes
1answer
24 views

Find all '.c' and '.h' file in directory except in 'test' directories in Linux

I want to find all the .c and .h files in my directory, excluding the ones in the 'test' folders (there are multiple). The directory I'm searching has test directories such as: ...
0
votes
1answer
62 views

How To Make A Sparse File On Android With Terminal

I'm trying to make a sparse file on android. For this I'm using Android Terminal Emulator. I have installed Busybox so I can use the dd command. Other commands like truncate aren't installed. My ...
0
votes
1answer
80 views

Is the need for a text editor in an OS for humans or the system? [closed]

From Wikipedia: Text editors are provided with operating systems and software development packages, and can be used to change configuration files, documentation files and programming language ...
1
vote
1answer
18 views

Empty swapfile after using dd

According to many tutorials available on the internet (like for example this one https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 ), to generate a swapfile, i need to ...
0
votes
1answer
42 views

Change line endings and encoding of file at the same time

I have some files with Windows line endings and latin-1 encoding that I need to convert to unix line endings and utf-8. Of course I can for file in ./*.csv; do sed s'/^M//' "$file" > ...
0
votes
3answers
26 views

How to extract file contents and pass in as command line parameters in Linux?

I need to run a command: python test.py command --option 1 value1 value2 value3 value4 value5 (upto value100) I have a text file with space separated values, like: value1 value2 value3 value4 ...