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

When I delete a file/folder on Windows in a Samba share - what unix commands are being issued?

Let's say I have a Samba share and a Windows client deletes a folder in it. Is it the same internally as rm -rf foldername? Is there any cleanup needed? Also is there a difference for the Samba share ...
0
votes
2answers
14 views

How can I start the process that doesn't die even after I close ssh?

I am sshing to my remote CentOS 5 server and want to run a script that takes long time. How can I have it keep running even after I close ssh session?
0
votes
0answers
12 views

kernel issue with USB [on hold]

I found that many people (google search) who use Unix/Linux have this message popping out from time to time hub 1-1:1.0 over current condition port 5. I have not been able to find the cause of this ...
0
votes
0answers
3 views

Convention / File Hierarchy for Compiling Source

Background: I have been compiling a lot of source code lately and I am hoping to learn of a convention to organize source code / compiled output. As an example, I have been statically compiling ...
0
votes
0answers
11 views

Approach to providing read-access to logs

We have many servers (Dev, Integration, PT etc.) and there are a lot of tomcats running on each server. Our application is divided into components and each tomcat runs with the name of a specific ...
-2
votes
1answer
17 views

Basic and grassroot learning of UNIX [closed]

What are the function of the following commands: ps -ef ps -ef|grep <filename> dmh -q/-m dmh -q -11
2
votes
5answers
209 views

UNIX how to resume process using ID?

I have a problem to resume process. I tried to get process to foreground using jobs, it works, but if i close shell and start it again. In this case i haven't my process in jobs list. I know just ...
0
votes
1answer
19 views

Environment variable LC_ALL is always unset by default. why LC_ALL is unset?

Why LC_ALL is always unset by default on Linux and Unix machines? For example, on Linux: root@icubes:[~]# locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" ...
0
votes
2answers
38 views

Vim: how to perform this task every time I open a file?

For a time I have one vim configuration on my laptop and another on my desktop, so when I edited filed on my Dropbox between the two I would end up with format issues. Specifically, I had ...
0
votes
1answer
21 views

Convert PNG to Multi-page PDF

I've seen a lot of posts about how to convert a multi-page PDF to PNG but I'm wondering how I can go in the opposite direction if I have the size of each page I want made.
1
vote
1answer
35 views

Extracting a tar.gz file returns, “This does not look like a tar archive.”

I have a tar.gz file and I want to extract it using terminal. I used following commands: tar tvzf ldtp_3.5.0.orig.tar.gz and tar -xvzf ldtp_3.5.0.orig.tar.gz. However, I get the same result for both ...
2
votes
1answer
32 views

recreating just the uid/gid unix permissions from tar

I was restoring a root partition based on a tar backup from system-rescue-cd. It went ok except the uid/gid mappings on the system-rescue-cd disk did not match the ones on this debian system that I ...
-1
votes
0answers
15 views

Access Linux Shell via SMS from mobile phone [duplicate]

I want to set up a simple phone (not a smart phone) so that I can text shell commands to my google voice number, have my linux server read those texts, execute shell commands, and text me back the ...
0
votes
1answer
17 views

Match unix shell promp to that of vagrant

Not sure what it's called but in vagrant when logged in as the vagrant user I get a pretty line before I run commands like so: It even says what branch i'm on in git. What is this line called and ...
0
votes
1answer
26 views

Open file using bash with unix executable

I have an application which loads using a bash script e.g /Applications/My.app/Contents/MyExecutable I can load this using bash like so "/Applications/My.app/Contents/MyExecutable" However, I ...
1
vote
1answer
22 views

Issues using scp to copy a file in Unix

I have a script where i need to get the cksum of the files in a directory from another host. I was able to do ssh to another host and create the file.txt. what i need to do now is to scp the file ...
1
vote
2answers
25 views

Terminal window scrollback buffer using screen utility

I am used to using screen on UNIX (AIX/Solaris) at work. I've installed it on my two home boxes running Ubuntu and Debian. The only difference I notice is that when I scroll up in the terminal window ...
0
votes
1answer
15 views

How to receive files on Windows SFTPd by a Unix machine

I have a Unix tool that generates files. The same tool can run SFTP commands and push out files to other machines. I have a Windows box that needs to accept files pushed out by the Unix machine. What ...
0
votes
0answers
6 views

Calculating difference between file sizes in the Unix command line [duplicate]

Want ask question about file sizes. I have same filename but different date. How I can display different of file sizes between 2 files? For example: filename_todaydate.txt: 417kb ...
0
votes
0answers
36 views

Which file system best handles multiple, concurrent write sessions: GFS2, pNFS, FS-cache, XFS or OCFS2?

Which file system can handle more concurrent write sessions; let’s say 32 write sessions: GFS2 pNFS FS-cache XFS OCFS2 The file system has to handle 32 concurrent sessions with each session ...
0
votes
1answer
18 views

Type on python script on the Unix command line (without a .py file)

Working with python 2.7, I want to do this: $> python "import Tkinter; Tkinter.tk(); etc... " but python doesn't seem to accept script this way. I don't want to create a .py file. Is there a ...
0
votes
0answers
18 views

Where is “unix:abstract=/tmp/dbus-KtyPDgWNin” socket file saved?

I try the following: roroco@roroco ~/Dropbox/rbs/ro_cmds $ echo $DBUS_SESSION_BUS_ADDRESS unix:abstract=/tmp/dbus-KtyPDgWNin,guid=ca3ea893cf45d42ef60e74d0545d84f6 But when I want to list this ...
0
votes
0answers
17 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 ...
2
votes
1answer
21 views

unix - sort content of two folders then compare using diff command

How do I sort contents of two different folders before comparing those two directories using diff?
4
votes
1answer
163 views

Logging into hotel Wi-Fi changes bash prompt? [duplicate]

Since clicking on the “I agree” pop-up when logging into a hotel Wi-Fi, my bash prompt contains some kind of hash in it. The format is now: <strange hash>:<working dir> <username> ...
0
votes
1answer
10 views

pv: Change Prefix on the Fly

To me pv is really handy some times. However, I was wondering if it was possible to change the prefix on the fly. I mean usually I have something like in.sh | pv -btrcN "Watch that work!!1!" | ...
0
votes
0answers
26 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
13 views

OBDC SQL connector for Windows Auditing Server to interface with Linux syslog server

I am working on a cross platform project here is the scenario: UNIX/Linux We have a Linux syslog server currently in place collecting syslogs from all network appliances and UNIX/Linux systems. ...
0
votes
0answers
7 views

Is cp -au / cp --archive --update contradictory?

I want to update a directory on a backup disk with new content added to the source, and of course rsync is too slow. cp -a does the trick but is a bulldozer; cp -u should leave existing files alone. ...
2
votes
0answers
22 views

Common tips for compressing/extracting large folders?

Are there any common tehniques or issues I need to be aware that can speed up or make more robust the process of compressing/uncompresing large (>60gig) folders with many (>3000 files) elements ...
0
votes
0answers
9 views

Configure directories in proftpd

I would like for one of the FTP users to leave accessible only two folders in the directory... Create file .ftpaccess with: <Directory> <Limit ALL> DenyUser vera ...
0
votes
0answers
16 views

Why doesn't ruTorrent/rTorrent respect my ratios?

I have set up my ratios such as this on ruTorrent (3.6) and rTorrent (0.9.3) : When I add torrents they stop at the 2.0 ratio as they should. If I want to seed more once it was stopped and assign ...
1
vote
0answers
36 views

Linux WBEM client to pull event logs from Windows SCOM Server

I was told by my UNIX team that a wmi/wbem client for Linux called WBEMCLI allows Linux to pull event logs from a windows server given that the right parameters are configured on the linux side. Now ...
0
votes
1answer
16 views

Dig command: Is the output guaranteed to be sorted?

Let's say I'm trying to lookup the IPs mail.yahoo.com, gmail.com and mail.google.com If I execute: dig @8.8.8.8 +nocomments +noquestion \ +noauthority +noadditional +nostats +nocmd \ ...
1
vote
0answers
22 views

How I can dynamically subset a ttf font?

Let's say I have a long text: Latebrae agente praefuit imperator nec praefuit ducens insidiarum sunt insidiarum emensis fatorum ubi milites rebus Noricorum viam sorte rebus suis emensis tristissima ...
0
votes
0answers
12 views

Which utility or UNIX command can help to submit a bulk of event data to Google Universal Analytics?

https://developers.google.com/analytics/devguides/collection/protocol/v1/reference In the link above the Measurements Protocol is elaborated. Suppose I have a CSV file with columns like EventName, ...
1
vote
1answer
35 views

From the command line, how do I zip specific files and directories into one compressed folder?

I'm working in a directory that looks like this: folder >.git >css >img >js Archive.zip bla.html bla.yml During work on this project I very regularly have to zip up the ...
0
votes
1answer
33 views

rsnapshot: how to remove all files from a tree including read-only directories

I just discovered that rm -f can not remove files from a tree including read-only directories. Is there an alternative command that can do this? The removal is triggered by rnapshot and I thought ...
0
votes
1answer
10 views

Script for Folder transfer from DEV server to TEST server

can you pls provide me the script which should like below Transfer the tar zip directory from dev server to test server Also it shoud check for chekcsum , junk charcter in the directories once ...
2
votes
1answer
21 views

I tried copying invisible files to a directory but I can't find it

I just did this: $ cp .cordova && ../../../ In Terminal (Mavericks). Totally forgot to include an actual path to a directory. I went back to the directory where I thought .cordova was ...
0
votes
1answer
60 views

The OSX Process that wont die

I've got a process on OSX 10.9.5 that just wont die. I have tried kill PID kill -9 PID sudo kill -9 PID killall sshfs killall -9 sshfs sudo killall -9 sshfs Activity monitor / select process / ...
1
vote
2answers
56 views

What does ./ mean in Unix/Linux [duplicate]

This might look wrong, but I know that using ./ you are basically "BASH"ing your scripts in Linux/Unix environment. For Windows users, this is same as running an .exe file from command prompt. ...
0
votes
0answers
15 views

WAFL - Write Anywhere File Layout

Hi I'm looking for some information on how WAFL works , more specifically I need help in understanding the following parts. To make your task of answering simpler I've outlined a few questions. ...
2
votes
0answers
24 views

What are the other uses of Hard Links , Junction Points , Symbolic Links

There are many answers on why Hard Links, Junction Points & Symbolic Links are useful. I understand Junction Points are supported Vista onwards and described as Directory Hardlinks (even though ...
2
votes
1answer
25 views

What's happening when you do 'cd //'? [duplicate]

This is just trivia really, but it's just got me wondering what's going on. I accidentally hit / instead of . today and got this: [andrew.morris@server ~]$ cd // [andrew.morris@server //]$ pwd / I ...
0
votes
1answer
21 views

Delete a file inside multiple ZIP archives on the OS X command line

I'm trying to delete files with specific extensions from multiple zip archives. For example I want to delete all .html files contained in the zip archives in the current path so I have tried this: ...
1
vote
0answers
10 views

Drop privileges in Pass (unix password store tool)

Pass is a Unix command line password manager http://www.passwordstore.org/ To read any stored password one has to input the master-password, it then allows to read/write any password. However this ...
1
vote
2answers
30 views

how to use tar '--remove-files' option inside find -exec?

I've got a number of very large log files which I want to compress individually so I can't use xargs or pipe stdout to get a huge compressed file. I'm trying to do this: find . -mtime +1 -iname ...
0
votes
0answers
14 views

What installs fonts on a unix-based system?

I want to understand in which operating systems (unix-based), I can assume that fonts will be installed automatically? I assume they are probably installed in conjunction with a desktop GUI such as ...
2
votes
1answer
63 views

What is the difference between “elif” and “else if” in shell scripting?

I am very new to shell scripting. When I look at some code, written for ksh (#!/bin/ksh) I see there is else if as well as elif used in one script. So, what is the difference between else if and ...