Why does my Linux prompt show only ">" sign? [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I m learning very basic Linux command where i was typing very basic command ,and i don't know exactly what i typed or happened i got only ">" in my terminal.
Don't know what i should type?
Thanks

This is shown when the terminal is expecting you to finish typing in your command. For example:
git commit -m 'asdasdasdasd <enter>
will lead to a > shown in the next line, because the terminal is waiting for you to finish the input (because you haven't typed in the closing ' sign).

What command have you typed? Try Ctrl+C .

Related

How to insert complicated code into a file via linux command line? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
i know how to paste code into VIM editor in linux, but what i want is to skip the step when i need to open file and manually paste. Please what is the command to append, insert complicated code (containing ; ` " etc) into file (example.sh) right from linux command line?
How about
cat example.sh <<EOF
your code here;
also with "complicated" stuff
EOF
Hope this helps.

tmux: C-PageUp and C-PageDown seem not to work [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
The default VIM key sequence to navigate to the previous/next tab is C-PageUp and C-PageDown, respectively. It appears that these sequences do not work under either tmux 1.5 or 1.6, and I've tried under Centos as well as Ubuntu. I tried unbinding the sequence in my .tmux.conf, but that had no effect.
Easy enough to recreate:
Start a tmux session
vim xxx.dat
:tabnew yyy.dat
Try to alternate tabs with C-PageUp/C-PageDown. Nada.
Repeat steps 2-4 outside of tmux and the tab switching works as it should.

Linux Command Line vs Linux Command Pipeline [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Was wondering if someone could tell me what the difference is between these two. Cannot seem an exact answer on the net. Command Line to me means input line and pipeline is the output?
Thanks for the help
A command pipeline is when you connect the output of one command with the input of another:
$ cat myfile | sort
is one trivial example
A linux command line simply refers to the shell prompt.

How to tab-complete in terminal while stay on the same line? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
When double-tab, the terminal shows a list of command candidates, but the cursor line also moves downwards. How to make it stay on the same line while showing all the candidates below?
I'm guessing there must be some config file that can specify this behavior. This also applies to the case when ctrl-c in the middle of typing a command. I'd like the cursor to stay on the current line.
You need shell with rich terminal support.
For example Z Shell. Bash build with readline library for user interaction and it operate only line-by-line...
This behavior allow to run Bash on most platform as does not require special abilities from terminal.

top command in linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I would like to know meaning of each and every column of top command result.
If you see the screenshot, It shows lot of Java process under the user 'resoultion'. But here only one Tomcat is running.
%Mem is same for some of the processes, The Consolidation of these numbers are higher than 100.Please explain what does this mean?
You can find everything you need to know about that command and the meaning of the columns, here: http://linux.about.com/od/commands/l/blcmdl1_top.htm
You can also use the following command to access the manuals in the console: man top
there is a system wide command available
man top

Resources