2
votes
1answer
67 views

Is there a way to have a Y/N confirmation after Remove file/directory

I'm new to Linux and its terminal. I'm using Ubuntu 12.04, trying to learn about the Terminal's commands. I learned how to remove files and directories but saw that the system never asks you if you ...
1
vote
1answer
196 views

How to log out current user?

I'm very very new to the linux world. I have just installed Ubuntu 12.04 and I was wondering how to log out my user using the terminal. I searched the web and all the sites say that I should run the ...
0
votes
1answer
53 views

How to terminate a program in linux command line (ctrl+c and ctrl+z are not working)?

I ran following command on linux terminal hdparm -T -t /dev/sda. It is not giving any output and i am unable to stop this by ctrl+c and ctrl+z. How to terminate this program with out restarting ...
0
votes
1answer
175 views

“gksu” doesn't prompt for the root password

I use this terminal emulator x-terminal-emulator and when I run this on a normal non-privileged user ~$ gksu /usr/bin/x-terminal-emulator an app starts and tells me to choose a password for a new ...
4
votes
2answers
809 views

Script or launcher to setup multible terminal tabs in different locations

I have already studied this some time ago, but did not find any solution that would open terminal tabs, run some commands and then allow me to continue using those terminal tabs. All the ways I found ...
2
votes
1answer
324 views

How to display escaped characters in tmux status bar

i am running tmux from a tty on an embedded linux device. (NOT a terminal emulator) because the screen is rather small, i want to add some "icons" to the tmux status bar. to achieve this, i have ...
0
votes
1answer
76 views

How to switch to another window when Ctrl + B does not work for tmux?

As we all know tmux is quite nice tool, but there are some scenarios that Ctrl+B cannot be used. For example, when I sshd to server A and now I connect to A's tmux pty. So Ctrl+B is captured by ...
18
votes
2answers
3k views

Replace OS X's shell commands with the linux versions?

The commands available by default in the Terminal in OS X, don't seem to behave like their linux versions. How can I replace all of them with the actual GNU linux commands? For example sed -i ...
0
votes
1answer
414 views

virtual machine just like another terminal window in Linux?

I would like to have a 64bit Linux virtual machine running just like another terminal window in my 32bit Linux Vx-enabled laptop. How can I do that? I don't need a GUI for the virtual machine, just a ...
0
votes
2answers
391 views

Strange characters in Linux console

I don't know how I've exactly managed to do this, but when I now invoke some commands (like man man or less) I see strange ESC[1 characters on the screen. It looks like this: The interesting part ...
0
votes
1answer
226 views

Linux Locate Command false info

I am running Arch Linux and have used the "locate" command quite often to find files. I noticed today, however, that it is bringing up results from where the item has been in the past, not it's ...
1
vote
2answers
1k views

How to remove string pattern using linux's terminal?

I would like to remove a string pattern which like this You should not remove this /*This is the part should remove*/ You should not remove this I would like to remove all the text inside the /* ...
0
votes
1answer
107 views

terminal of linux

how to copy a file/folder to another file/folder in linux terminal.
3
votes
1answer
5k views

Linux console output - pause after each screen

when I list directories with a lot of files with ls -la or tree -L 3 I get many screens of output. To read one screen after another I add | more or | less, but the problem with this is that the ...
21
votes
3answers
27k views

How to show output on terminal and save to a file at the same time?

I am using: user@unknown:~$ sudo command -option > log to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible? I am using ...
11
votes
3answers
34k views

How to run programs from a linux terminal without blocking the terminal?

Right now when I start a program from a terminal I can't use that terminal instance again until I close the program. I am a new user of linux, and I want to know if there is a way to execute a ...
9
votes
1answer
4k views

How do I copy a link in Lynx?

I'd like to copy the current link to the system's clipboard or write it to a file. If it isn't possible, I guess I'd have to settle with opening it in an external browser (which I was avoiding in the ...
2
votes
9answers
331 views

Terminal programs to replace desktop programs

What are the programs you use from a *nix terminal to be able to communicate in today's desktop world? Suggestions Terminal web browsers Terminal e-mail clients ASCII art renders Text rtf/pdf/etc ...