Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Terminal Linux command prints - echo     - Write perfect printf (Programming)

- Iptables principle (Linux)

- Spring JDBC Comments (Programming)

- Linux OOM killer mechanism (Linux)

- Bash difference in single quotes and double quotes (Programming)

- File upload via AngularJS and ASP.NET MVC5 (Programming)

- Use Pylint regulate your Python code (Programming)

- Use OpenSSL to generate a certificate detailed process (Linux)

- Java NIO in the world (Programming)

- CentOS 6.5 install Firefox (Linux)

- How to limit network bandwidth usage in Linux (Linux)

- How to use the TF / SD card making Exynos 4412 u-boot boot disk in Ubuntu (Linux)

- Notebook computer forget password solution (Linux)

- Introduction to Linux Shell (Programming)

- Ubuntu file security removal tool (Linux)

- SQL Beginner Guide (Database)

- Using Java to build micro-services (Server)

- Bash How to read a file line by line (Programming)

- Archlinux installation tutorial (Linux)

- Linux Log (Linux)

 
         
  Terminal Linux command prints - echo
     
  Add Date : 2018-11-21      
         
         
         
  echo is the basic command for the terminal to print. Use the following:

$ Echo "hello world"

$ Echo hello world

$ Echo 'hello world'

$ Echo $ PATH

[Name Description]

By default, it echoes at the end of each line will add a number of line breaks; use -n option to ignore trailing newline;

(!) Exclamation point is a special symbol, if the string has an exclamation mark, it should not be placed in double quotes (""), you can not use double quotes or single quotes, you can also use an escape character; as follows:

$ Echo hello world!

$ Echo 'hello world!'

$ Echo "hello world \!"

When using the echo command without quotation marks, you can not print a semicolon (;), because the semicolon in the bash shell is used as a command delimiter;

When using single quotes ('') of the echo command, baseh not single quotes variable ($ var) evaluated, but only as it is output;

$ Echo 'hello, $ vName.'

hello, $ vName # output of the line.;
     
         
         
         
  More:      
 
- Linux security settings (Linux)
- crontab cause CPU exception Analysis and Processing (Linux)
- Usage of sudo (Linux)
- Configuring automatic mail GAMIT under CentOS system (Linux)
- How SSHfs mount a remote file system on Linux (Linux)
- Method under Linux GCC Compiler shared library function export control (Programming)
- CentOS 7 Test Marathon start Docker container (Server)
- How to turn Java String into Date (Programming)
- Ubuntu user use PPA to install Uget 2.0.5 (Linux)
- Java proxy use and proxy principle (Programming)
- Hadoop2.6.3 build clusters and the development of MapReduce WIN7 by Eclipse on Linux demo (Server)
- Effective Java - lazy initialization (Programming)
- How to install Go1.5 source development environment on Mac (Server)
- Check the Linux server performance with ten or so commands in a minute (Server)
- Ubuntu dual-card system configuration method (Server)
- Compile and install GCC 4.8.1 + GDB 7.6.1 + Eclipse in CentOS 6.4 in (Linux)
- E: Sub-process / usr / bin / dpkg returned an error code (1) error solution (Linux)
- 10 Codes of good practice PHP (Programming)
- Modify Linux SSH default port 22 in several ways (Linux)
- Linux system security check method (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.