0
votes
1answer
25 views

Force mousepad to block terminal

I'm using mousepad as my default editor. However, recently mousepad does not block the terminal when it has been called up from there. How can I restore this behavior?
0
votes
2answers
76 views

Editing with Nano

Is it possible to edit an existing text file using only one line of command and Nano. For instance if I have a text file called "new.txt" and I want to write "HELLO WORLD" in it. Can I do like this: ...
2
votes
2answers
342 views

Is there any command line interactive tool like meld?

I usually work on someone else's code base on a remote system and often need to merge code from two different files. For that I have to pull files to my system and meld it and push it back to the ...
4
votes
4answers
4k views

Please recommend a hex editor for shell

Can you recommend a hex editor that can be run from shell? I need to be able to edit not only view the content.
0
votes
2answers
97 views

append any line that starts with <br> with the previous line in whole document

I wanna remove spaces and join line that starts with specific words at the last of previous line. Example From `<b>any thing that matters<b> what ever, i don't know. <font=any ...
40
votes
16answers
81k views

How do I open a text file in my terminal?

There is a file named RESULTS.txt and I want to open this file in my terminal. (I mean I want to see the file contents be displayed in the terminal and not in some text editor) How do I do that ?
1
vote
1answer
304 views

Editing with nano, Alt is caught by the window menus, how can I fix that?

The Alt key is used for many useful commands, but unfortunately it's caught by the terminal window to activate the window menus (File, Edit, ...). I would like to either force the terminal window to ...
6
votes
4answers
12k views

Is there a text editor for the command line that uses the same keys as Notepad on Windows?

I'm used to work in Windows environment and are used to the commands in Notepad e.g. CtrlS for save, CtrlC for copy and so on. On Ubuntu it's handy to work directly in the command line, e.g. as with ...
2
votes
1answer
130 views

Run external commands from Scribes

Can I run external commands from Scribes? I'm looking for functionality similar to gedit's External Tools. I would like to be able to run an arbitrary command from Scribes via a chosen key command, ...
23
votes
4answers
87k views

How to edit files in a terminal with nano?

Sometimes, a graphical text editor like gedit or kate cannot be used (because you're in a virtual console for example). Luckily, there are text editors for the terminal. An easy one is nano, but I ...
5
votes
6answers
11k views

Open application to edit text files from the command line

When installing the TextWrangler in OSX you also get an edit command which allows you to open any text file from the command line. Is it possible to have a similar functionality in Ubuntu to type ...
22
votes
1answer
50k views

Command to append line to a text file without opening an editor

Assuming i have a line that i want to add to a file without opening an editor. How could i append this line alias list='ls -cl --group-directories-first' to this file config.fish