Questions tagged [unix-philosophy]
The unix-philosophy tag has no summary.
52 questions
0 votes
1 answer
142 views
GNU assembler alternatives
I am trying to build my system from scratch, since I really like the idea of atomicity of each program in unix-like approach, I would like to preserve it as much as possible in my build. Since GNU ...
0 votes
1 answer
196 views
Can bash natively re-format a relative path to an absolute path, or not - being dependent on tool "realpath"?
UPDATE Once again, I can't post an answer to my question! Clicking the button just triggers an error message: "Unable to load popup - please try again". So, I have no other choice than to ...
-2 votes
1 answer
134 views
why its important for a software to do one thing and do it well [closed]
actuality what make a software bad if he do most of the things in a system and that software do all its jobs well why UNIX philosophy prefer to set as stander for its programs should "do one ...
0 votes
2 answers
245 views
Is there any command line tool for purchasing anything online?
I continue to pursue ways to do everything from the command line and while it does not seem common whatsoever I am curious if there is one single example of a command line tool that allowed someone to ...
-4 votes
3 answers
933 views
coreutils ls summary
Why is there no summary option in coreutils ls command, like MS-DOS/Windows has? With summary option I mean: count the files and dirs and sum up their sizes. Update: It should read: "Even DOS/...
10 votes
3 answers
6k views
What is the practical purpose of "./" in front of relative file paths (in the output from "find")?
Why are some relative file paths displayed in the form of ./file, instead of just file? For example, when I do: find . I get this output: ./file1 ./file2 ./file3 What is the practical purpose, other ...
1 vote
1 answer
137 views
Is "running a folder" possible in Linux?
Is there a philosophy behind running a folder as an executable in linux? user@node main % ls -lash ./bin total 0 0 drwxrwxrwx 2 user staff 64B May 23 21:04 . 0 drwxr-xr-x 6 user staff 192B ...
0 votes
1 answer
53 views
When filtering, never throw away information you don't need to
In this text, the author says When filtering, never throw away information you don't need to What does it mean in the context of applying UNIX philosophy?
2 votes
1 answer
3k views
What's the Unix way of handling split-tunnels
I want to be able to control in my servers which programs are connected to the regular internet and the ones which are only able to communicate through a VPN, in the most minimal, versatile and secure ...
1 vote
2 answers
3k views
Printing to the STDOUT vs writing to an output file directly [closed]
Is there any rule of thumb when the result of the program should be printed to the stdout by default, and when the more appropriate approach is to accept output file as one of the arguments and write ...
-1 votes
2 answers
460 views
The UNIX Programming Environment by Kernighan and Pike [duplicate]
I have recently started reading "The UNIX Programming Environment" by Kernighan and Pike. My objective is to learn about the UNIX philosophy. My question is, Do I need to install UNIX on my ...
8 votes
2 answers
3k views
Reading from dev/urandom - system behaviour
When reading from dev/urandom, with say head or dd, it’s of course expected that the output is always random and different. How is this handled by UNIX at a low level? Is the file naturally truncated ...
-13 votes
1 answer
241 views
Why do FOSS developers claim cross-platform support when their stuff is frequently broken on Windows in frustrating ways? [closed]
Two examples out of thousands I've countered: Bitcoin Core on Windows has a very annoying glitch which causes a cmd.exe (or similar) window to briefly appear and immediately go away, showing only for ...
5 votes
1 answer
664 views
File ownership preservation with .tgz
Back with another probably very very basic UNIX question. I understand the premise of Tape Archive Zips (.tgz) is that they preserve uid, gid, permissions... However, it seems that this isn't portable....
-2 votes
1 answer
102 views
What requirements must a computer program meet to be considered as part to the unix toolkit?
It is stated here that: The Unix operating system introduced the idea of a toolkit. That is, rather than having a few generalized and complex utilities programs, the system contains a toolkit of ...