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

Fullscreen TMUX sessions selection

I've found TMUX's choose-tree command to be quite useful when navigating between sessions, but I dislike it only displaying inside of the current pane. I'd prefer it to overtake my entire screen. ...
0
votes
0answers
81 views

ignoring No data available (61) errors with rsync

Is there a way to supress a warning where the prigin changes during the rsync? $ rsync --archive server::somemodule/ /dest/dir rsync: read errors mapping "/somefile" (in somemodule): No data ...
0
votes
0answers
16 views

Increase size of /var /usr /etc

df -h Filesystem Size Used Avail Use % Mounted on /dev/root 20G 788M 18G 5% / devtmpfs 16G 4.0K 16G 1% /dev none 4.0K 0 4.0K 0% /sys/fs/cgroup none 3.2G 532K 3.2G 1% /run none 5.0M 0 5.0M 0% /...
0
votes
0answers
61 views

How to install new DB2 Express-C interface (CLI/CLP) language / NLPACK

I'm using IBM DB2 Express-C Docker image on (RHEL 7) https://hub.docker.com/r/ibmcom/db2express-c/ In my dockerfile I'm creating my locale and calling a shell script: ... localedef -i fi_FI -c -f UTF-...
0
votes
0answers
29 views

Modify “save history when conversations are closed” to not restore history

I want to save my messages on my Macbook, but I like to delete the history from my Messages app. I don't want my messages gone forever, but just cleared off the app. Is there a way to save the ...
0
votes
0answers
25 views

Process running in SSH-allocated TTY not terminating once stdin is consumed

I can perform file-transfer via SSH* like this: ssh -T ${HOST} eval "cat > remote.txt" < local.txt However, if I instead allocate a TTY, it hangs until I press Ctrl+C: ssh -tt ${HOST} eval "...
0
votes
0answers
23 views

How to remove group message in Pure-ftpd

I have two servers with identical pure-ftpd configs. But, whenever client logs in to the second pure-ftp server, they keep getting the following message: 230-User xxxxx has group access to: 49 20 28 ...
0
votes
0answers
9 views

SAS files getting created in Unix

Is there any process by which SAS creates data sets(.sas7bdat extension) in the /home directory? we have both 9.3 and 9.4 installed on the unix server. The programmers do not have access to the /home ...
0
votes
0answers
12 views

iscsi storage ( target per lun )

the question is straight forward, i have 2 servers clustered and need to share the same LUN (LUN1). I have mapped the LUN1 to TargetA. The question now is should I a) connect the 2 servers to the ...
0
votes
0answers
66 views

Tmux ssh to current server

I use tmux to keep multiple connections to different servers separate and organized. I find I often split windows if I need to keep an eye on more than one thing, but I always close the split, because ...
0
votes
0answers
30 views

Different sized data blocks in a single file system

In Unix, each file uses one inode and each inode, in turn, may use a variety of number of blocks to store data. The size of the blocks in a file system may be configured or chosen but it must be ...
0
votes
0answers
92 views

Simple UNIX commands assistance

" Your current directory is stenton. Display phone_directory one screen at a time, until you find the record for 'Bruce Byce'. " phone_directory is a file inside my current directory. Ive been stuck ...
0
votes
0answers
49 views

Where are digital certificates physically stored on Unix / Linux

Can someone tell me and maybe link to literature which describes it, where are the digital certificates storage location on a Unix / Linux machine? I only know that they are stored under /etc/ssl/...
0
votes
0answers
132 views

replacing special characters without using escape sequence in unix file

I am trying to replace a string with special characters like " &,*,@" etc. This should be done without using escape sequence. I am using sed but it is not working without escape sequence. I am in ...
0
votes
0answers
123 views

How to capture packets of rysnc using tcpdump

I am trying to do rysnc a 4G file to another directory and want to capture rsync packets using tcpdump. I tried listning to port 873 which is used for rsync but did not find anything captured. I ...
0
votes
0answers
37 views

subshell variables not getting exported to parent shell

As part of porting scripts from HP-UNIX to RedHat Linux, I'm trying to set up config files accordingly. There is a scenario where the .profiles sources oracle env with SID as option to it, that in ...
0
votes
0answers
188 views

why does the scp command timeout when moving data from Unix to Windows 2008 R2

I am on UNIX environment using secure copy command to move files from one Unix box to another. No issues all is good. Now I have a need to move data from Unix to Windows Server 2008 R2 platform. Can ...
0
votes
0answers
33 views

kvm crash when running with default clock option

I am running kvm on an embedded linux platform. The OS running is a custom built Linux using kernel 3.18.21; packages are being pulled in as needed. The architecture is intel x86 64bit. When I run ...
0
votes
0answers
60 views

AIX - Memory space error when running script

I run the following: for i in `ls -ld /u03/sss/| awk '{print $9}'` do echo $i for j in `find $i -name "*.gz" | grep $send_sysdate` do count=`gunzip -c $j | wc -l` sum5=`expr $sum5 + $count` done ...
0
votes
0answers
40 views

Tmux reset scrollback on keypress

When you've scrolled back within tmux (using the mouse via mode-mouse), is there a way to make tmux reset the scroll when you press a key (unless that key is a tmux command)? This seems to be ...
0
votes
0answers
84 views

SFTP Unix Script with pub/priv keys

I have written a script that uses sftp to get files. The issue I am having is that it is still prompting me for a password. Before you say my ssh pub/priv key is set up wrong, when I sftp from console ...
0
votes
0answers
22 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 ...
0
votes
0answers
23 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 ...
0
votes
0answers
23 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 ...
0
votes
0answers
40 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
49 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
125 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 ...
0
votes
0answers
77 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
0answers
108 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
0answers
23 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
0answers
25 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 ...
0
votes
0answers
62 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] `...
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
0answers
19 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
0answers
26 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 ...
0
votes
0answers
49 views

In Unix, delete a file listed in the directory but missing from the filesystem

I, like an idiot, killed my rm -rf command in the middle of it, and now there's one file remaining, but it keeps saying access is denied. I assumed it was because a process was accessing it, but when ...
0
votes
0answers
220 views

Linux - how to force the operating system doesnt go into maintenance mode

Is there any way to prevent or force a Linux System doesnt go into into maintenance mode when there is a system problem?. Example: In this case was for file integrity. Another opcion is if exist any ...
0
votes
0answers
122 views

UNIX case statement multiple parameters

I execute a script like ./script.sh with one parameter: ./script.sh on. This tells a script to turn my light off or on depending on the value of the parameter. I use this case statement for this: #!...
0
votes
0answers
264 views

Windows 10 Technical Preview: running custom commands

I have recently installed the Windows 10 Technical Preview and like using unix in my terminal. When I had Windows 8 I used a very lightweight application called gow that installed a few unix commands ...
0
votes
0answers
20 views

Why do UIDs start at 0 but PIDs start at 1 in Unix?

During a discussion of Unix operating system concepts, the question was raised, and no one really seemed to be sure. It seems against "the Unix Way" for things to be inconsistent that way, yet it ...
0
votes
0answers
18 views

System Partitions Over Two Drives

I have a machine with two drives a Compact Flash card (CF) and a Solid State Drive (SSD). Recently I have been experiencing failures of both the SSD and the CF. When I sent these back to the ...
0
votes
0answers
55 views

Is it possible to modify .bash_logout?

I am trying to modify .bash_logout to append the shell history to a txt file. I am also trying to figure to make some restrictions on that file. I have tried a bunch of commands while searching about ...
0
votes
0answers
530 views

Batch file unable to run commands after launching putty

I am writing a batch file abc.bat which is used to launch putty. I want the .bat file to go to a particular folder (in PuTTY), source it in csh and go to a particular path on that server. I wrote the ...
0
votes
0answers
38 views

/usr/local and /usr/share detailed explanation

I am afraid this is another of FHS questions but I was not able to find more detailed explanation which I feel I need. Yeah, I know about Uni FHS and etc, but what still feels like lacking ...
0
votes
0answers
58 views

Why creating a process is a two-step process (fork-exec)?

I'm studying Tanenbaum's "Modern Operating Systems" book and he's explaining that: The reason for this two-step process is to allow the child to manipulate its file descriptors after the fork but ...
0
votes
0answers
46 views

Unix cat to Windows user

I uploaded about 6GB of video in 3 separate files created using the cat command on my Mac, thinking the recipient of those files was a Mac user as well. It turns out he's using Windows 8. How can he ...
0
votes
0answers
142 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
228 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
41 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
121 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: ...