265 reputation
25
bio website
location Milan, Italy
age 23
visits member for 2 years, 5 months
seen 19 hours ago

Physics BSc at Unimi, software developer at Comelz.


19h
awarded  Critic
19h
comment What does exit 99 means?
"The shell will get a 0 as the return code" wrong, exit without parameters exits with the status code of the last command run. (see pubs.opengroup.org/onlinepubs/009695399/utilities/exit.html)
Oct
10
comment Why is Linux's filesystem designed as a single directory tree?
@gcb: the point is that the shell hierarchy is not directly usable in "normal" applications. You cannot call CreateFile passing "My Computer" or other shell folders; it's an abstraction understood only by shell-related code, all the kernel calls (and thus 90% of applications, since file management in most languages is implemented in terms of kernel file APIs) know nothing about this stuff. The shell folders are usable only when the programs use the "standard dialogs" (which do understeand the shell namespace) and only when selected files directly map to a "real" (=kernel-understood) path.
Oct
10
comment Why is Linux's filesystem designed as a single directory tree?
@terdon: sorry, wrong "@"; thank you for forwarding. :)
Oct
10
comment Why is Linux's filesystem designed as a single directory tree?
@Phoshi: actually, there's some GUI for that - just go in disk management, right click on a volume, there's a voice like "change drive letter and mount point" and you can mount drives on any NTFS empty folder.
Oct
8
comment Why is Linux's filesystem designed as a single directory tree?
@terdon: he would just mount the drive inside a directory - exactly like you do in POSIX OSes.
Oct
8
comment Why is Linux's filesystem designed as a single directory tree?
Actually, C:, D: and stuff is just compatibility with DOS and Win32; Windows NT internally has a somewhat UNIX-like object hierarchy, were the drive letters (and in general Win32 stuff) are just symbolic links to the "real" objects (c:\file.txt is actually \??\c:\file.txt, with \??\c: being a symlink to e.g. \device\harddisk0\partition1). See e.g. here
Feb
25
awarded  Enlightened
Feb
24
awarded  Nice Answer
Feb
24
awarded  Yearling
Feb
24
awarded  Teacher
Feb
24
revised Why does bash show 'Terminated' after killing a process?
added 2812 characters in body
Feb
24
revised Why does bash show 'Terminated' after killing a process?
added 2812 characters in body
Feb
24
awarded  Editor
Feb
24
revised Why does bash show 'Terminated' after killing a process?
added 2812 characters in body
Feb
24
answered Why does bash show 'Terminated' after killing a process?
Sep
15
comment How can I run a command in zsh without pushing it onto the current session's history?
If I use your shortcut in bash I don't see the command even in the current session's history (GNU bash 4.2.24).
Nov
6
awarded  Supporter