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

How pause list of process in htop?

I should like stop refreshing list of process. My problem is in often refresh list. How I can do it? I use a tool htop.
-1
votes
0answers
19 views

Unix/Linux email notification

echo "This is the body" | mail -s "Test POC Mail" $sender_mail echo "Mail is sent" when I run this script, it is giving the last statement in the console but am not receiving the email and I set the ...
1
vote
1answer
10 views

sTunnel failure to start

im a bit stuck and need help understanding what im being told as there is nothing in the log file, i get the following error when i try and run stunnel (servermode): sudo /etc/init.d/stunnel4 start ...
-2
votes
0answers
35 views

How many copies of UNIX and Multics were sold? [closed]

It is common knowledge that UNIX succeeded where its ancestor Multics failed. However, what I would like to know is how many copies of Multics were sold/outsourced to other businesses. Also, debunking ...
2
votes
1answer
41 views

Execute commands using sudo in remote server after logging into PuTTY through batch file

I need to login into remote server daily and perform same set of tasks. I am using Windows platform and the remote server is Unix. I use PuTTY to login to remote server. To reduce the manual work, I ...
0
votes
1answer
31 views

FTP: executable file changing to a text file during download

I have unix executable files along with a mac OS X app that I have transferred to my FTP server. When I download these files after uploading them, the unix executables download as TextEdit documents. ...
-2
votes
0answers
17 views

Unix script to merge two tables

I am having a hard time creating a code in Unix. File1 Column1 Column2 Column3 Column4 DFPN 53011 A1 TPI DFPN 11401 B3 DIO DFPN 51401 A7 INP ...
0
votes
0answers
5 views

Send binaries to old unix machine via serial socket

I have old SVr4 unix machine,connected via serialline running in virtualmachine. The serial is a socket called /tmp/att1 I can use minicom without problems But i cannot transfer with kermit. On remote ...
1
vote
1answer
13 views

How do I monitor changes made to environment variables ?

I have an environment variable whose value didn't match the one set by /etc/environment, even after reboot. I eventually found the auto-executed .sh script changing it, but that incident got me ...
0
votes
0answers
12 views

Default Profile

How can I set the default profile to be loaded on a bash login? My system was loading my user profile instead of the system one. I had it working properly and seemed to have accidentally broken it ...
0
votes
1answer
14 views

Remotely running malware detection on a *unix server

I've used Linux Malware Detect in the past and it's very efficient and useful, however to run the installation shell script access to the root directory is required. As a result, when I'm on many ...
0
votes
1answer
23 views

Destination host unreachable when using ping<hostname> but no issue with ping <ipaddress>

I have 6 VMs with CentOS called n1, n2, n3, n4, n5, lnx-app1 with the below IP addresses: n1.xyz.com = 10.10.100.101 n2.xyz.com = 10.10.100.102 n3.xyz.com = 10.10.100.103 n4.xyz.com = 10.10.100.104 ...
0
votes
1answer
34 views

Check if samba down from a Linux client

What is the most effective way to check Samba server availability from a Linux client?
0
votes
1answer
32 views

How to print the calendar in reverse order in UNIX?

I want to print the calendar in terminal using cal -y command , but in reverse order. What should I add to print the calendar from December to January?
0
votes
0answers
8 views

Deleting ftp folder in remote system using putty command aromatically when system boots?

I need to delete a folder in a remote system using putty, I have rm command to remove particular folder, but this should run everytime when the system starts how to do it?
0
votes
0answers
21 views

How to install Alsa sound in android [closed]

I have Console OS running on a lenovo g-50 laptop and it works great all except there is no sound. I found out that alsa mixer is not installed and I tried the alsa app on google play but it has the ...
1
vote
3answers
87 views

How to Copy all the .c files starting with letter [h-o] to directory h-oFiles

I'm trying to accomplish this one command and this is what I tried: sudo cp /hw2/ladsrc/.c[a-g] /hw2/a-gFiles What am I doing wrong here?
1
vote
1answer
23 views

what is the difference between umask and chmod

I am completely confused between umask and chmod. Both are used to give permissions to the files. But where exactly is the difference and when to use them. I have read the online documentation but ...
0
votes
1answer
35 views

quickly find argument description in unix man page

How do I jump exactly to the definition of an option within a man page? Example: try to find what -L means when performing man curl. Naive approach: /-L requires 5 ns (nexts) before I get to the ...
0
votes
0answers
20 views

Can a Linux user have multiple primary user groups? [migrated]

How many primary groups can an individual Linux user have? If they can have more than one, how does one go about assigning multiple primary groups to a user?
0
votes
0answers
9 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
10 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
10 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% ...
-1
votes
0answers
15 views

What to do for error: base64: command not found?

(cat << ! From: $FROM To: $TO Subject: $SUBJECT Date: $(date +"%a, %b %e %Y %T %z") Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="$boundary" This email has attached the file ...
0
votes
2answers
28 views

Rename CSV header using command line tools

Given a CSV file, h1 h2 h3 a b c z x b how to rename the first header to One and the third header to Three using command line tools, namely One h2 Three a b c z x b
0
votes
1answer
32 views

How can I send email with attachment xls file using shell script as application/xls mimetype without making the received file becoming unreadable

#!/bin/bash ATTACH1=file.xls<br> SUBJECT="subj"<br> FROM=me@domain.com<br> TO=you@domain.com<br> CC=them@domain.com<br> MIME="Application/vnd.ms-excel" <br> ...
0
votes
1answer
22 views

Transform CSV column by a function using command line tools

Given a csv file such as h1 h2 a 0 b 1 c 0 how to rename 0 to YES and 1 to NO in the second column.
0
votes
2answers
26 views

LS but exclude suffixes

I have files foo.mp3 bar baz.mp3 bar baz 2.mp3 What command would output the following? foo bar\ baz bar\ baz\ 2 I know ls -1b handles the escapes, but how do I cut ...
0
votes
0answers
20 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 ...
1
vote
0answers
21 views

Slow vagrant box, how to improve this?

We've built a vagrant box for our development box and we are facing some latency issues. Issues: Assetic:watch is being slow Overall application access in (app_dev.php) is slow Using "find" command ...
0
votes
1answer
40 views

How to record or log telnet session using the command line?

I need to record the output of a telnet session. I can't just pipe or output it because I need to authenticate first. How I can achieve this log?
0
votes
0answers
8 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 ...
1
vote
2answers
58 views

commands to gather system information under unix

I have ssh access to a unix-based computer. What are the best set of shell commands to help identify what kind of machine it is (e.g. CPU type, number of cores, cache sizes, memory size, ...
1
vote
3answers
42 views

how to specify A record of own domain in a zonefile

assuming that foobar.com is my domain, how do i specify the ip of "foobar.com" itself in my zonefile ? Below is my sample @ IN SOA myfoobar.com. hostmaster.myfoobar.com. ( 2001030201 ...
1
vote
1answer
25 views

Why does CTL-3/CTL-# equal CTL-[? (and others) in the case of ASCII control characters

I've been rediscovering ASCII control characters as I fiddled with some terminal emulation code, and wrote a small program that outputs the hex value of each key I press (tcsetattr() with ~ICANON). ...
3
votes
0answers
28 views

Which X Window system is installed on my server that would work with Xming

I would like to use Xming to connect a server and managed to get it to work. I am now trying to get it to connect to a different server but i am not sure which X Window system is installed. I tried it ...
1
vote
1answer
26 views

Execute program when screensaver starts

Is it possible, on Linux, to execute a program when the screensaver starts without using 3rd party tools? For example: I have a script that will run a who command and log the output to a file. I ...
0
votes
1answer
28 views

How to execute a shell script when system time is changed? [closed]

I want to be able to reliably run a script on system time change. I don't know much shell scripting, so was thinking of touching a file in a continuous loop and figuring out system time change using ...
0
votes
2answers
71 views

What is the difference between /bin and /usr/bin/?

I am using Mac OS X 10.11 (El Capitan) and wanted to know what the difference is between /bin and /usr/bin/? Apparently /usr/bin/ seems to have more binaries in it like grep etc.
0
votes
1answer
35 views

Force Unix line endings for a partition in Notepad++

I've a Linux partition mounted using Web Drive on a Windows PC. It uses the same Drive letter all the time. Whenever I create a empty new text file and then open it with Notepad++, it starts using ...
0
votes
2answers
39 views

ctrl+x/c/p (cut/copy/paste) subsitutes in Unix bash?

I can't find any documentation that shows the equivalents for ctrl+x, ctrl+c and ctrl+p (cut/copy/paste) in Unix (and some other equivalents but these are more than enough to start with).
0
votes
0answers
12 views

Drush master-branch in Win10 - Git For Windows \ Acquia Dev Desktop 2 or Cygwin?

Cross-software general question: Since I know bash only a little bit, and didn't very much understood the differences between the following emulators\compatibility layers (?) for UNIX on Windows, My ...
0
votes
1answer
25 views

A way to split a text file into arbitrary blocks based on first column?

I have a (very large) text file of the form... /folder1/fileA /folder1/fileB /folder1/fileC ... /folder999/fileA /folder999/fileB /folder999/fileC ...etc with an unknown number of entries for each ...
2
votes
2answers
139 views

How to move files into corresponding folders which have the same name?

Example scenario: I've multiple files ending with .torrent and I would like to move them into folders which has the same name. For example given the following files: abc.torrent def.torrent some ...
0
votes
1answer
28 views

Extracting tar file without overriding working directory

I have a tar file that contains hundreds of spreadsheets, inside of the tar file there is a directory home/common/4000_UW_spreadsheets what I want to do is extract a single file to a current ...
-1
votes
2answers
57 views

Tail, cat and grep a file at the same time

So I need to monitor a log file in linux and I'd like to cat the contents (to see all previous entries) as well as tail the log file while simultaneously using the grep to filter out the stuff I want ...
0
votes
0answers
14 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 ...
1
vote
4answers
27 views

UNIX Command to sort file based on word delimited

I have a file that has lines file.txt like this: www.site.com/230207|Sophie Rundle title: Episodes|5irko3ke www.site.com/228264|Camilla Luddington title: Balifornication|5423234 ...
0
votes
1answer
57 views

Recursive chmod only on {directories|files}

I'd like to know how could I change the permissions of all my folders recursively under a path (e.g. /Users/me/Desktop/main_folder) and also change permissions to all my files under a specific folder. ...
0
votes
1answer
15 views

Understanding /etc/aliases

I know that /etc/aliases is used to provide mail alias for system users (for either Sendmail or Postfix), for example, the listing like those in Understanding /etc/aliases and what it does. However, ...