Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux terminal program running in the background     - Linux common commands ll namely ls -l --color = auto (Linux)

- CentOS / Linux kernel upgrade (Linux)

- How common Linux automation tasks (Server)

- C language sorting instance (select, bubble, insert, binary, fast) (Programming)

- Offline (local) Yum source structures (Linux)

- Ubuntu Apache virtual host configuration (Server)

- Percona MySQL 5.6 semi-synchronous replication (Database)

- Linux performance optimization features Tuned and ktune (Linux)

- Oracle Linux 6.4 installed Oracle 11gR2 + RAC + ASM (Database)

- Learning UNIX good habits (Linux)

- Profile Linux users login shell and login to read (Linux)

- HTTPS and SSH and use the difference between the way: Git User's Manual (Linux)

- Extended VMware Ubuntu root partition size (Linux)

- Oracle ORA-01691 error message, a single data file size limit problem (Database)

- Java object serialization (Programming)

- Linux5 install MySQL 5.6 (RPM mode) (Database)

- C ++ Const breaking rules (Programming)

- Strategy Games Ubuntu installation of Wesnoth 1.12.1 (Linux)

- To set up the printer use Nagios Monitoring Server (Server)

- Ubuntu installation under Scrapy (Linux)

 
         
  Linux terminal program running in the background
     
  Add Date : 2017-08-31      
         
         
         
  This is a short but very useful tutorial: it shows you from the terminal to run Linux applications simultaneously, how to ensure the terminal can still operate.

There are many ways to open a terminal in Linux, depending on your distribution of choice and the desktop environment.

Use Ubuntu, you can use the CTRL + ALT + T key combination to open a terminal. You can also click on the Super key (Windows key) to open a terminal window. On the keyboard, open the Ubuntu Dash, and then search for "TERM". Click the "Term" icon will open a terminal window.

Others, such as XFCE, KDE, LXDE, Cinnamon and MATE desktop environment, you will find "Terminal" in the application menu. Some will release the terminal icon in the menu item, or place the terminal launcher on the panel.

You can enter the name of a program inside the terminal to start an application. For example, you can launch the Firefox browser by entering "firefox".

Benefit from the operation of the terminal program can use additional options.

For example, if you enter the following command, a new Firefox browser will open between the words and the default search engine will search for quotes:

firefox -search "Linux.About.Com"
You will find that if you run the Firefox browser, after the application is open, control will return to the terminal (command prompt reappears), this will mean that you can continue working in the terminal.

Under normal circumstances, if you run a program through the terminal, the program is open and closed until the end of the program, you will not gain control of the terminal. This is because you are in the foreground of the program.

I want to run a program from the terminal and the control terminal immediately return it to you after the way you need to open the program as a background process.

Way station for future process to open a program, only need to add an ampersand (&) to the command, as shown below:

libreoffice &
In the terminal program only provides the name of the application may not run. If the program does not exist in a set in the PATH environment variable folder, you need to specify the full path name to run the program.

/ Path / to / yourprogram &
If you are not sure whether a program exists in the Linux file system, use the find command to find or locate the application.

Get a file has the following syntax:

find / path / to / start / from-name programname
For example, you can use the following command to find the location of Firefox:

find / -name firefox
Output will soon roll out a lot, so you can control how much by way of pipeline output:

find / -name firefox | more
find / -name firefox | less
find command will return because permission denied error has occurred while the number of folders, these folders you do not have permission to search.

You can use the sudo command to elevate your privileges. If sudo is not installed, you need to switch to the user has permission:

sudo find / -name firefox | more
If you know what you're looking for a file in your current folder, you can substitute a previous point slash, as follows:

sudo find firefox-name |. more
You may not need sudo to elevate privileges. If you're looking for a file in the home folder, sudo is not required.

Some applications require elevated user rights to run, you may get a lack of permissions error, unless you use a user with sufficient privileges, or use sudo elevate your privileges.

Here is a little trick. If you run a program, but it requires elevated privileges to run, enter the following command to re-run with elevated privileges:

sudo !!
     
         
         
         
  More:      
 
- Java NIO2: Buffer (Programming)
- Python substring format (Programming)
- Linux signal and orphans, and zombie process (Programming)
- Oracle 11g maintenance partitions (eight) - Renaming Partitions (Database)
- awk Programming Model (Programming)
- Linux operating system boot process analysis (Linux)
- System Security: Build Linux with LIDS steel castle (Linux)
- CentOS 6.5 platform offline compile and install PHP5.6.6 (Server)
- Let Linux boot methods to enter characters interface and set FrameBuffer resolution methods (Linux)
- Java implementation of stacks and queues (Programming)
- Linux, Apache Web site security settings (Linux)
- AWR Report (Database)
- Sqoop data export import command (Database)
- Adding SSH to Github (Linux)
- Install Ubuntu text editor KKEdit 0.2.10 (Linux)
- C # asynchronous delegates (Programming)
- Java multi-threaded shared communications variables (Programming)
- Red-black tree in C ++ (Programming)
- Use PDFBox processing PDF documents (Linux)
- CentOS7 installation configuration (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.