Questions tagged [editors]
Questions about text editors in general (i.e. programs used for editing plain text files).
341 questions
11 votes
1 answer
1k views
Why doesn't visudo, like sudoedit, spawn a text editor as a regular user?
As far as I know, sudoedit gives a user permission to edit a file that is owned and writable by root. It makes a copy of that file, the copy is owned by the user, and then it spawns a text editor with ...
0 votes
2 answers
8k views
Opening .xlsx file in linux terminal
I work in a cluster. I would like to ask if it is possible to open .xlsx files in text editors like nano or vim. Is there any possible way if I have not Microsoft Excel (or any relevant application in ...
2 votes
1 answer
689 views
nano command execution stuck
In nano v8.0 there's an option to send selection to X clipboard in the nanorc: "{execute}|xsel -ib{enter}{undo}" which does perfectly. I tried using xclip utility instead: "{execute}|...
0 votes
0 answers
893 views
Cursor-ai editor code command not working on Arch Linux
The APPIMAGE file is not working with these errors and it does not allow to install code command or other when it is run: ❯ ./Downloads/cursor-0.32.1x86_64.AppImage [9512:0416/165640.500124:ERROR:...
0 votes
1 answer
137 views
Ctrl+left/right on micro via SSH+byobu
Locally when opening micro text editor, Ctrl + left/right works normally (jump 1 word). But when running via SSH + byobu, Ctrl + left/right gives [1;5C] and [1;5D]. Ctrl + S and Ctrl + Q also didn't ...
0 votes
0 answers
122 views
Running Linux commands execute hidden command to regenerate Backdoor
My CentOS server compromised, the backdoor uploaded in /var/www/html/, I have deleted the backdoor and browsed the backdoor - to be sure it's deleted - it's surly deleted, but when I run any command ...
1 vote
4 answers
249 views
edit text/srt file
I have a .srt file like this Input File 1 00:00:17,920 --> 00:00:21,159 The essential is invisible to the eye. 3 2 00:00:21,160 --> 00:00:22,559 This phrase comes from 4 3 00:00:22,560 --> ...
1 vote
3 answers
321 views
How to interactively edit a file name from the terminal like with a file manager?
At the command line, one can rename a file by specifying the entire new name to mv mv oldname newname or using a regex with e.g. Perl's file-rename command. rename -d 's/old/new/' oldname But is it ...