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
1answer
11 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
25 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
39 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
53 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
49 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
21 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
24 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
0answers
9 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
10 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
247 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
25 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
23 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
6 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
21 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
22 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
44 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
24 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
53 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
53 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
30 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
19 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
48 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
65 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
12 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
41 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
22 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 ...
0
votes
1answer
28 views

Accepted publickey for userx from y.y.y.y (ssh authentication)

Server A and B is setup for autoSSH I am on ServerA (y.y.y.y) and is accessing ServerB. I understand that A's public key is store in B and is use by B to encrypt the challenge to A when A connect. ...
0
votes
1answer
42 views

Multiple Conditions in shell script

Im stuck in giving two conditions in my script. I can read two things - What is the NEAREST SERVER If it is MacBook or Anything Else and then use defaults write command to modify the plist file. ...
1
vote
1answer
35 views

OS X - ln -s on a directory in ~ shows strange behaviour

I'm currently setting up my new system (OS X) and trying to link ~/Git/ to /Library/WebServer/Documents/, so that I can access all my git repositories via 127.0.0.1. However, that doesn't work as ...
0
votes
2answers
21 views

Trunc xml file using unix shell script

I need to select particular set of tags which contains a particular value inside the tag. For example, below is the source.XML file <main tag> <subTag1>1298</subTag1> ...
0
votes
3answers
73 views

What is the config file for the sh shell on OS X? (i.e., ~/.bash_profile for bash shell, etc)

R uses the /bin/sh shell environment and I'm running scripts (that cannot be modified) that call gfortran-4.8 instead of gfortran so I'm creating an alias. I have added the following line to my ...
2
votes
1answer
48 views

tar performance writing to disk

When writing to disk (SATA) I've noticed tar seems to have a large performance hit. I'm trying to copy a, relatively, large .dmg file (556MB) from my client (OSX) across my local network as part of a ...
0
votes
1answer
59 views

Batch converting files using ffmpeg

Can anyone tell me where I'm going wrong doing this. The idea is to find and convert all files in a directory to m4v's. Regardless of the extension. Then once it has been converted, to generate a ...
0
votes
0answers
5 views

Oracle external authentication from application server via sqlplus client [migrated]

can we perform the external authentication (sqlplus / ) via sqlplus client from unix application server in oracle 10g or we must login to oracle database server to perform this ?
-1
votes
0answers
10 views

current disk space status from multiple unix server [migrated]

I am trying to get the details of disk space from around 100 unix server. All servers required different credential to access. This is the script I have found. for i in <server list> do echo ...
0
votes
0answers
16 views

What is the difference between monitoring only one host and cloud?

With the cloud computingtechnology is used very extensively, I am very curious about what is is the difference between monitoring only one host and cloud. For example, I can use top or ps command in ...
0
votes
2answers
63 views

Best looking unix distros available freely [closed]

I wanted to install a new unix based OS on my old machine Pentium 4 processor I was trying to find a better looking distros other than ubuntu. Any recommendations?
0
votes
1answer
23 views

Python sources on an http site, or in ISO image?

I installed SCO UnixWare 7.1.4 on VirtualBox. This installation does not include Python. I want to download the Python 2.7/2.6 source tar-ball from ftp.python.org. however: Anonymous FTP is not ...
1
vote
0answers
25 views

How to extract the Subject Alternative Name from a CSR by just using the openssl command?

I would need to extract the Subject Alternative Name from a CSR. Is there any way I can extract this other than using the "-text" in openssl req -in test.csr -text -noout? (Maybe similar with the ...
-1
votes
0answers
40 views

shell script finish but doesn't exit

I have 2 shell script a.sh and b.sh which is running under ksh. a.sh does the following action #!/bin/ksh some action check condition and send email if fail or success call b.sh b.sh does the ...
0
votes
1answer
21 views

What is .funcrc?

I have not been able to find any information on why this file exists or what should go inside it through the usual channels of investigation. This is why I am asking here in the hopes of eliciting an ...
1
vote
1answer
134 views

How can I open a port in my Mac OS X yosemite(firewall)?

I have a java-based server(jar file) and it is running on port 8080. It is running well on my localhost, but I can't access it through other networks I think it's a firewall issue. so, First, I ...
0
votes
2answers
38 views

Auto execute program when usb is plugged in

As in the title I need to execute a program inside a USB when it is plugged in a PC. I don't refer to autorun. Example: I plug in my PC an USB which contains runme.exe (or .bat), a program that writes ...
3
votes
4answers
62 views

fdisk - do i need it or can i make a filesystem directly?

i read about fdisk being able to creation partition / which is to break down a physical disk into several logical partitions. If i intend to utilize the whole disk as a whole, is it still necessary ...
1
vote
3answers
82 views

Why is router IP not listed in ifconfig?

I am looking for the address that I type into my browser to get to the router configuration file. It ended up being 192.168.1.1, as usual. But when I enter ifconfig into the command line, this IP ...
0
votes
1answer
33 views

Understanding fdisk -l output and calculating storage

I have basic understanding of disk. (Please correct me if i am wrong) I understand on 1 platter, there are 2 heads, 1 on top, and 1 on bottom. Both side of the platter is able to provide storage ? On ...
0
votes
1answer
27 views

Bash - enable execution only if script is run from a specific directory

I need to write a shell script that can only be executed if it is run from the home directory of the currently signed-in user, and I have no idea how to check that from the script itself. Any help ...
0
votes
2answers
24 views

How to reflect changes in PATH as done by a user script

I have a script which does some basic root PATH integrity check and inputs a line in ~/.bash_profile to source my script, so that changes my script made in root's PATH is permanent across restarts: ...
0
votes
0answers
11 views

Proxy to network interface based on port

I'm looking for http proxy, which will forward traffic to the specific network interface. Example: Client connect on port 5000 - forward to eth0 on port 80 Client connect on port 5001 - forward to ...