4 ms·
> What about things like manipulating files and running programs? Aren't they the things people do with computers? I'm confused. Manipulating files and running
by yjftsjthsd-h 7y ago
> What about things like manipulating files and running programs? Aren't they the things people do with computers?
I'm confused. Manipulating files and running programs is a given, isn't it? You mean ls/cp/mv/rm-style? And running programs is... type in the name of the program (if in $PATH) or its path (if not) and press enter. Why would anyone bother blogging about that?
- cranekam 7y agoIt depends on what people use the GUI for. It's not inconceivable that people start up gvim to make a new file (instead of cat > file) or use some bulk-renaming tool instead of learning about shell expansions. "Awful" was a mean description of this article. I'll fix it (edit: comment, not fix).
- wruza 7y agotouch file if you need an empty file (also prevents accidental truncation).
- yjftsjthsd-h 7y ago`vim newfile` (or gvim/nano/emacs/whatever) will create a new file. I won't say I've never created a file with cat (handy for pasting), but it's a little unusual.
- cranekam 7y agoI usually do it when autoindent is going to make a mess of whatever I'm pasting into the file.
- JeanMarcS 7y agoOr using Midnight Commander ! (Ok, it’s a bit cheating, sort of text/GUI, but makes file manipulation so easy on console)
- xg15 7y agoHow about finding out what files are there in the first place, what data the files represent and which programs would be useful to operate on the files? In other words, things a typical GUI file manager can do easily.
- yjftsjthsd-h 7y ago> finding out what files are there in the first place ls? > what data the files represent ls, file > which programs would be useful to operate on the files? I guess I assume that people know this kind of thing, but xdg-open is fine.