The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
9 views

set ACL for BackupUser

I want to backup a whole bunch of folders from different users remotely. Therefore I created a special user that is able to log into the machine and (should) have the right to read all the files via a ...
1
vote
1answer
43 views

How to get list of process ids that are in a given group id

Going by the man page, I would expect this to work: ps ah -o pid,pgrp -G 18322 But this shows exactly the same list as without the -G arguments. I want a saner way to produce this output: ps ah -o ...
0
votes
0answers
24 views

How to make sudo with POSIX shell better?

I have made changes to my Arch Linux x86-64 system where I run bash exclusively through what I think is POSIX mode, through using /bin/sh (linked to '/bin/bash') as my login shell and instead of ...
1
vote
1answer
221 views

Windows 7 Ultimate versus Cygwin: POSIX compliance and is it practical to install a GNU system directly on Win 7 Ultimate without Cygwin

What are the advantages or disadvantages of using GNU/Linux utilities on Windows 7 via Cygwin as opposed to making use of Windows 7 Ultimate SUA (Subsystem for UNIX-based applications) support ...
0
votes
2answers
80 views

What is the smallest POSIX OS? [closed]

What is the smallest POSIX operating system that has a live CD and can be installed? ⠀It must support wifi. ⠀I only need a CLI interface.
1
vote
2answers
454 views

What is the difference betwen /etc/environment and /etc/profile?

I understand that the former is used prior to the latter, but what is the conceptual difference? Is there any good reasons I should set some variables in one and not in other? Except the fact that ...
1
vote
0answers
39 views

What''s the “earliest” place one can set an environment variable during Linux boot process?

I know I can set a variable in a shell startup file, but the thing is, I am trying to set up a POSIX-compatible environment, and a POSIX shell does not parse any startup files other than the one ...
2
votes
3answers
2k views

What's the difference between SIGKILL and SIGSTOP?

The manual describes SIGKILL and SIGSTOP like this: SIGKILL 9 Term Kill signal SIGTERM 15 Term Termination signal and states: The signals SIGKILL and SIGSTOP cannot ...
6
votes
2answers
47 views

discover the directory that prevents a file from being read in linux

i'm getting a permission denied for a user in a really long path. $ sudo sudo -u user cat /l/o/n/g/path/file Permission denied i'm pretty sure path and file have permissions for that user. Is there ...
2
votes
2answers
155 views

OpenOffice Calc regex returns wrong value - what's wrong with my regex?

I have a column of text with values concatenated by my bank, as in a typical monthly statement. Here is an example (column A240): OCT 26 BALANCEPROTECTOR PREMIUM $10.05 I'm trying to set the ...
2
votes
1answer
104 views

Stop wget but allow convert-links

I'm running a wget command with a rather deep recursion depth. The deep recursion depth is needed to get the files I want, but I don't want to wait for the operation to complete. I see that I can ...
4
votes
3answers
822 views

bash pipe construct to prepend something to the stdoutput of previous command

I want to use sendmail to send me stuff and want to do it in a oneliner. echo "mail content" | sendmail emailataddres.com Sends it without subject. The subject line must come before the Mail ...
2
votes
3answers
991 views

Alternative to the tee command without STDOUT

I'm using | sudo tee FILENAME to be able to write or append to a file for which superuser permissions are required quite often. Although I understand why it is helpful in some situation, that tee ...
0
votes
0answers
87 views

Quick method using POSIX tools to generate a random file

So I'm using a board on a ramfs that is pretty much running a barebones Linux kernel that is pretty much just POSIX-compliant (with busybox). For some disk drive testing, I am trying to generate a ...
1
vote
0answers
33 views

Turn-key hassle-free personal POSIX-complaint backup system [closed]

I don't have the expertise nor the time to learn and setup a backup solution that fits my requirements. I'm looking for a hassle-free offering (commercial or free software) for GNU/Linux that fits the ...
2
votes
2answers
159 views

What is the point of UNIX's rmdir?

I'm new to UNIX (MAC OS X bourne shell POSIX), I understand rmdir will only remove an empty directory but under what circumstances would you actually want to use rmdir <directory name> and not ...
0
votes
1answer
144 views

Mutt and msmtp interoperability

I am working on configuring /mutt/ to send mail via /msmtp/. Strangely, if I user /msmtp/ from shell, all okay, that means, that .msmtprc is correct. However, mail sent with mutt do not come. I have ...
5
votes
2answers
1k views

how to delete a file with a weird name

I wrote a program that uses POSIX memory-mapping function (mmap) The program takes a file (a.dat) and memory-maps it for reading/writing. Due to errors in the program, every time I run the program a ...
1
vote
0answers
281 views

Why are POSIX timezones relative to UTC opposite from most others (and what's intutively correct)? [closed]

In POSIX, UTC-2 means 2 hours after UTC, and UTC+2 means 2 hours before UTC. In other words, If it's currently 8am in UTC, it's 10am in time zone UTC-2, and 6am in time zone UTC+2. This thread ...
1
vote
2answers
753 views

Executable can't find correct files when called via symbolic link

I made a symbolic link to an executable with ln -s /usr/bin/mydir/myexec /usr/bin/myexec When I executed myexec in Bash, it does not load the proper files which are located in the original myexec's ...
1
vote
0answers
253 views

List of POSIX-certified operating systems?

Where can I find a list of POSIX-certified operating systems? The official list contains just six entries.
3
votes
2answers
575 views

Unicode-based POSIX tools (other than Cygwin) for Windows?

GNU Win32 and MSYS are awesome, but it seems like all of their tools use the ANSI version of the Windows API, rather than the Unicode versions. Obviously, those are meant for Windows 95 and 98, not ...
14
votes
3answers
2k views

Why is NTFS case sensitive?

I personally thought that NTFS was case insensitive, since you can type cmd, CMD, cMd or even CmD and still get the command prompt. However, why is it that during a CHKDSK x: /f /r, sometimes it fixes ...
1
vote
1answer
173 views

If SUS exists then why there's also POSIX? [closed]

We know that to define whether the system is Unix or not there's a Single UNIX Specification(SUS) which is held by OpenGroup. Then why there's another certification as POSIX? Are these things the ...
3
votes
3answers
188 views

Does Unix stand for any POSIX-compilant system?

When someone is saying "Unix" does it mean that it can be every POSIX-compatible system including linux distributives, solaris, freebsd etc?
2
votes
2answers
2k views

What does it mean to have a POSIX-compilant operating system?

What does it mean if the operating system is said to be POSIX-compilant?
3
votes
4answers
116 views

MacOS command-line - possible to write portable scripts across MacOS and Linux?

I've been mostly pleased with MacOS as a dev platform, and it's somewhat similar to a linux command-line, but there are a number of notable exceptions: all commands: arguments parsing behavior ...
37
votes
3answers
11k views

less is more? Is more less? I'm so confused

When I first heard their names, I got really confused when I tried to guess what these tools might do, I thought I'd misheard something. What's the difference between more and less, i.e. why ...
1
vote
2answers
119 views

How to copy file into an incrementally numbered dir?

For instance, if there is dir 3: mkdir 4; cp file 4 The dir could also be called 3 other text. Still no text needs to be in mkdir 4 besides the incremented number. The highest number needs to be ...
4
votes
5answers
538 views

Why do we use ./progname in *nix systems to execute a program?

I've been using Linux & Mac for sometime now and I always wonder - Why do we have to execute a program like ./progname . I know Unix treats every thing as a file and it stores the filename in a ...
0
votes
4answers
170 views

How to list dirs containg a file?

I'm trying to use find to list dirs with a certain file inside, but my dirs have spaces so I haven't found a solution.
2
votes
1answer
295 views

What is The POSIX standard?

In plain and simple terms, what is the posix standard and why does it matter? Also if I have two systems that are 100% posix compatible, would code compiled for one work on the other without a ...
1
vote
2answers
286 views

PC multi-core architecture, scheduling of cores access to system memory

My office computer has 8 cores. I recently upgraded the system from 4Gb of RAM (in two modules) to 24Gb of RAM (in six modules) and noticed a considerable increase in performance when multiple cores ...
4
votes
5answers
1k views

Standard way to duplicate a file's permissions

I am trying to find a standard POSIX way to duplicate one file's permissions to another file. On a GNU system this is easy: [alexmchale@bullfrog ~]$ ls -l hardcopy.* -rw-r--r-- 1 alexmchale users ...
0
votes
1answer
492 views

Difference between /usr/bin/login and /usr/bin/bash [duplicate]

Possible Duplicate: Differences between /usr/bin/login and /usr/bin/bash What is the difference between /usr/bin/login, and /usr/bin/bash? Does the first command something more, or ...
1
vote
5answers
2k views

Differences between /usr/bin/login and /usr/bin/bash

Terminal.app has the setting "Shells open with:" with the option "Default login shell (/usr/bin/login)", and "Command (complete path)" that by default contains "/usr/bin/bash". The dafault option for ...
2
votes
1answer
256 views

Permissions issue Mac OS X Client -> Mac OS X Server

I can't get access to a folder on our server and can't understand why. Perhaps someone will see what I'm overlooking... Trouble accessing /Library/Subdirectory/NextDirectory/ User joe can ssh to the ...
4
votes
1answer
1k views

Linux / Perl - What happens when a process is forked?

I've read about fork and from what I understand, the process is cloned but which process? The script itself or the process that launched the script? For example: I'm running rTorrent on my machine ...
1
vote
1answer
171 views

Folder where bash script resides when running via ln -s

In /usr/local/bin I have a 'ln -s' to /usr/local/foo/bash.script, and in this latter script I want to know the current /usr/local/foo directory, so that I can run a secondary script from that folder. ...
1
vote
6answers
885 views

Is there a POSIX pathname that can't name a file?

Are there any legal paths in POSIX that cannot be associated with a file, regular or irregular? That is, for which test -e "$LEGITIMATEPOSIXPATHNAME" cannot succeed? Clarification #1: pathnames By ...
14
votes
5answers
356 views