What are the GNU programs that I need with Linux if I only edit files? [closed]
Clash Royale CLAN TAG#URR8PPP
up vote
-4
down vote
favorite
What are the minimum number of programs that someone can use to edit files with the Linux kernel?
I mean reading a file from some storage device, changing it, and storing it. Maybe by specifying the address on the storage device to save the file (if that will reduce the number of programs used).
EDIT:
just to clarify. I am asking mainly for a list of programs (and their dependencies if there are) that are needed to just edit text files nothing else.
shell linux-kernel editors gnu
closed as unclear what you're asking by G-Man, Stephen Rauch, Jeff Schaller, sebasth, muru Oct 28 '17 at 0:17
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
 |Â
show 9 more comments
up vote
-4
down vote
favorite
What are the minimum number of programs that someone can use to edit files with the Linux kernel?
I mean reading a file from some storage device, changing it, and storing it. Maybe by specifying the address on the storage device to save the file (if that will reduce the number of programs used).
EDIT:
just to clarify. I am asking mainly for a list of programs (and their dependencies if there are) that are needed to just edit text files nothing else.
shell linux-kernel editors gnu
closed as unclear what you're asking by G-Man, Stephen Rauch, Jeff Schaller, sebasth, muru Oct 28 '17 at 0:17
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Would you include commands likels
that allow you to see what files you're dealing with? Orbash
to give you a shell to work in?
â glenn jackman
Oct 27 '17 at 20:31
Actually, no. Is there an alternative to bash for editing files? @glennjackman
â Ahmed Elsawy
Oct 27 '17 at 20:33
2
take a look at busybox, it's the goto solution for most of embedded linux distributions with limited storage and memory
â Dalvenjia
Oct 27 '17 at 20:36
3
This sounds like an XY problem. Please tell us in more general terms what you're trying to do.
â glenn jackman
Oct 27 '17 at 20:38
1
One could argue that minimum is kernel itself, and edit files via syscalls, modules, etc, but that's redundant and not practical. And really depends on the extent ro which you want to edit files, whether or not you need to move file, use regex, etc.
â Sergiy Kolodyazhnyy
Oct 27 '17 at 23:56
 |Â
show 9 more comments
up vote
-4
down vote
favorite
up vote
-4
down vote
favorite
What are the minimum number of programs that someone can use to edit files with the Linux kernel?
I mean reading a file from some storage device, changing it, and storing it. Maybe by specifying the address on the storage device to save the file (if that will reduce the number of programs used).
EDIT:
just to clarify. I am asking mainly for a list of programs (and their dependencies if there are) that are needed to just edit text files nothing else.
shell linux-kernel editors gnu
What are the minimum number of programs that someone can use to edit files with the Linux kernel?
I mean reading a file from some storage device, changing it, and storing it. Maybe by specifying the address on the storage device to save the file (if that will reduce the number of programs used).
EDIT:
just to clarify. I am asking mainly for a list of programs (and their dependencies if there are) that are needed to just edit text files nothing else.
shell linux-kernel editors gnu
edited Oct 28 '17 at 1:04
asked Oct 27 '17 at 20:28
Ahmed Elsawy
10315
10315
closed as unclear what you're asking by G-Man, Stephen Rauch, Jeff Schaller, sebasth, muru Oct 28 '17 at 0:17
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as unclear what you're asking by G-Man, Stephen Rauch, Jeff Schaller, sebasth, muru Oct 28 '17 at 0:17
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Would you include commands likels
that allow you to see what files you're dealing with? Orbash
to give you a shell to work in?
â glenn jackman
Oct 27 '17 at 20:31
Actually, no. Is there an alternative to bash for editing files? @glennjackman
â Ahmed Elsawy
Oct 27 '17 at 20:33
2
take a look at busybox, it's the goto solution for most of embedded linux distributions with limited storage and memory
â Dalvenjia
Oct 27 '17 at 20:36
3
This sounds like an XY problem. Please tell us in more general terms what you're trying to do.
â glenn jackman
Oct 27 '17 at 20:38
1
One could argue that minimum is kernel itself, and edit files via syscalls, modules, etc, but that's redundant and not practical. And really depends on the extent ro which you want to edit files, whether or not you need to move file, use regex, etc.
â Sergiy Kolodyazhnyy
Oct 27 '17 at 23:56
 |Â
show 9 more comments
Would you include commands likels
that allow you to see what files you're dealing with? Orbash
to give you a shell to work in?
â glenn jackman
Oct 27 '17 at 20:31
Actually, no. Is there an alternative to bash for editing files? @glennjackman
â Ahmed Elsawy
Oct 27 '17 at 20:33
2
take a look at busybox, it's the goto solution for most of embedded linux distributions with limited storage and memory
â Dalvenjia
Oct 27 '17 at 20:36
3
This sounds like an XY problem. Please tell us in more general terms what you're trying to do.
â glenn jackman
Oct 27 '17 at 20:38
1
One could argue that minimum is kernel itself, and edit files via syscalls, modules, etc, but that's redundant and not practical. And really depends on the extent ro which you want to edit files, whether or not you need to move file, use regex, etc.
â Sergiy Kolodyazhnyy
Oct 27 '17 at 23:56
Would you include commands like
ls
that allow you to see what files you're dealing with? Or bash
to give you a shell to work in?â glenn jackman
Oct 27 '17 at 20:31
Would you include commands like
ls
that allow you to see what files you're dealing with? Or bash
to give you a shell to work in?â glenn jackman
Oct 27 '17 at 20:31
Actually, no. Is there an alternative to bash for editing files? @glennjackman
â Ahmed Elsawy
Oct 27 '17 at 20:33
Actually, no. Is there an alternative to bash for editing files? @glennjackman
â Ahmed Elsawy
Oct 27 '17 at 20:33
2
2
take a look at busybox, it's the goto solution for most of embedded linux distributions with limited storage and memory
â Dalvenjia
Oct 27 '17 at 20:36
take a look at busybox, it's the goto solution for most of embedded linux distributions with limited storage and memory
â Dalvenjia
Oct 27 '17 at 20:36
3
3
This sounds like an XY problem. Please tell us in more general terms what you're trying to do.
â glenn jackman
Oct 27 '17 at 20:38
This sounds like an XY problem. Please tell us in more general terms what you're trying to do.
â glenn jackman
Oct 27 '17 at 20:38
1
1
One could argue that minimum is kernel itself, and edit files via syscalls, modules, etc, but that's redundant and not practical. And really depends on the extent ro which you want to edit files, whether or not you need to move file, use regex, etc.
â Sergiy Kolodyazhnyy
Oct 27 '17 at 23:56
One could argue that minimum is kernel itself, and edit files via syscalls, modules, etc, but that's redundant and not practical. And really depends on the extent ro which you want to edit files, whether or not you need to move file, use regex, etc.
â Sergiy Kolodyazhnyy
Oct 27 '17 at 23:56
 |Â
show 9 more comments
1 Answer
1
active
oldest
votes
up vote
3
down vote
The minimum number of programs is one: a text-based text editor. If you don't want user accounts, networking, a graphical user interface, backups, the ability to upgrade the editor, or the generally ability to do anything but edit files, then you can boot the Linux kernel with an argument like init=/bin/nano
, and have absolutely nothing else on the system âÂÂàjust the nano
executable, the libraries it depends on, and whatever files you've been typing.
This is not a very useful operating system, but it meets your requirements. A general-purpose operating system has a lot more functionality, which requires a lot more programs.
See also What are the minimum root filesystem applications that are required to fully boot linux?
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
The minimum number of programs is one: a text-based text editor. If you don't want user accounts, networking, a graphical user interface, backups, the ability to upgrade the editor, or the generally ability to do anything but edit files, then you can boot the Linux kernel with an argument like init=/bin/nano
, and have absolutely nothing else on the system âÂÂàjust the nano
executable, the libraries it depends on, and whatever files you've been typing.
This is not a very useful operating system, but it meets your requirements. A general-purpose operating system has a lot more functionality, which requires a lot more programs.
See also What are the minimum root filesystem applications that are required to fully boot linux?
add a comment |Â
up vote
3
down vote
The minimum number of programs is one: a text-based text editor. If you don't want user accounts, networking, a graphical user interface, backups, the ability to upgrade the editor, or the generally ability to do anything but edit files, then you can boot the Linux kernel with an argument like init=/bin/nano
, and have absolutely nothing else on the system âÂÂàjust the nano
executable, the libraries it depends on, and whatever files you've been typing.
This is not a very useful operating system, but it meets your requirements. A general-purpose operating system has a lot more functionality, which requires a lot more programs.
See also What are the minimum root filesystem applications that are required to fully boot linux?
add a comment |Â
up vote
3
down vote
up vote
3
down vote
The minimum number of programs is one: a text-based text editor. If you don't want user accounts, networking, a graphical user interface, backups, the ability to upgrade the editor, or the generally ability to do anything but edit files, then you can boot the Linux kernel with an argument like init=/bin/nano
, and have absolutely nothing else on the system âÂÂàjust the nano
executable, the libraries it depends on, and whatever files you've been typing.
This is not a very useful operating system, but it meets your requirements. A general-purpose operating system has a lot more functionality, which requires a lot more programs.
See also What are the minimum root filesystem applications that are required to fully boot linux?
The minimum number of programs is one: a text-based text editor. If you don't want user accounts, networking, a graphical user interface, backups, the ability to upgrade the editor, or the generally ability to do anything but edit files, then you can boot the Linux kernel with an argument like init=/bin/nano
, and have absolutely nothing else on the system âÂÂàjust the nano
executable, the libraries it depends on, and whatever files you've been typing.
This is not a very useful operating system, but it meets your requirements. A general-purpose operating system has a lot more functionality, which requires a lot more programs.
See also What are the minimum root filesystem applications that are required to fully boot linux?
answered Oct 27 '17 at 23:37
Gilles
508k12010031532
508k12010031532
add a comment |Â
add a comment |Â
Would you include commands like
ls
that allow you to see what files you're dealing with? Orbash
to give you a shell to work in?â glenn jackman
Oct 27 '17 at 20:31
Actually, no. Is there an alternative to bash for editing files? @glennjackman
â Ahmed Elsawy
Oct 27 '17 at 20:33
2
take a look at busybox, it's the goto solution for most of embedded linux distributions with limited storage and memory
â Dalvenjia
Oct 27 '17 at 20:36
3
This sounds like an XY problem. Please tell us in more general terms what you're trying to do.
â glenn jackman
Oct 27 '17 at 20:38
1
One could argue that minimum is kernel itself, and edit files via syscalls, modules, etc, but that's redundant and not practical. And really depends on the extent ro which you want to edit files, whether or not you need to move file, use regex, etc.
â Sergiy Kolodyazhnyy
Oct 27 '17 at 23:56