Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 5191  / 2 Years ago, sat, july 9, 2022, 8:36:02

Such as cp, ls, grep, ps...



Are they stand-alone applications pre-installed on the operating system or the innate part of the operating system?


More From » kernel

 Answers
5

In Ubuntu you will find Coreutils installed .




This package contains the basic file, shell and text manipulation
utilities which are expected to exist on every operating system.



Specifically, this package includes: arch base64 basename cat chcon
chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir
dircolors dirname du echo env expand expr factor false flock fmt fold
groups head hostid id install join link ln logname ls md5sum mkdir
mkfifo mknod mktemp mv nice nl nohup nproc od paste pathchk pinky pr
printenv printf ptx pwd readlink rm rmdir runcon sha*sum seq shred
sleep sort split stat stty sum sync tac tail tee test timeout touch tr
true truncate tsort tty uname unexpand uniq unlink users vdir wc who
whoami yes




Core GNU utilities .



You will find most of the basic commands from Core Utilities description page, said that , Linux is just a Name of Kernel, Whereas Ubuntu is an Entire Advanced Integrated OS of such utilities. As in Question Such as cp, ls, grep, ps...



 Are they stand-alone applications pre-installed on the operating
system or the innate part of the operating system?


They together actually forms Ubuntu/Linux Operating System , Either of them existing standalone doesn't help much.



Shell is basically Bridge between kernel and the user, a Command Interpreter where user can type command and the command is conveyed to the kernel and it will be executed.And it is Different from Kernel , refer basic image below



enter image description here



And for more descriptive image



enter image description here



File Manager mostly forms the Front-End of common Core Utilities.






So how does that innate thing happens , its because ,



Linux is Monolithic kernel where all services (file system, VFS, device drivers, etc) as well as core functionality (scheduling, memory allocation, etc) are a tight knit group sharing the same space. It provides the shortest path to a working, stable kernel .Whereas Memory, Process and Device managing are the functions of any Kernel.



There is also a very good description provided here at How to understand the Ubuntu file system layout?



Additions related to Libraries-



The GNU C Library and GCC GNU Compiler Collection is most important Library and Core requirement of Ubuntu/Linux Operating system. One of the reasons is Kernel is written Primary in C and hardware specific code using Assembly language.



To some extent "OS is made up of two parts, i.e., Kernel and Shell" holds true , for example Servers , and Minimal Linux based Distros. But for a fully fledged Ubuntu Desktop you need more then just Kernel and Shell.



Gtk (Gnome) is based on C and C++ , Qt(Kde) uses mostly C++ i guess , they don't have any libraries in common. Which is why they provide different User experience.



For utilities ( packages ) , you will find Python pre-installed in Ubuntu & Ubuntu-distros , to provide extended functionalities to python based Applications ( Like Window managers i guess) and Scripts . As i mentioned early "They together actually forms Ubuntu/Linux Operating System , Either of them existing standalone doesn't help much."



You can further refer the question How can I know if my an application on my desktop environment is loading other DE's modules, libraries, etc? .


[#36982] Monday, July 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
amencisiv

Total Points: 9
Total Questions: 102
Total Answers: 118

Location: Tajikistan
Member since Tue, Mar 21, 2023
1 Year ago
amencisiv questions
Wed, Dec 28, 22, 12:58, 1 Year ago
Wed, Sep 28, 22, 18:24, 2 Years ago
Fri, May 13, 22, 19:08, 2 Years ago
;