|||
摘些转自网络的linux知识点滴。
如何在后台运行程序。前台,后台切换。
A task can usually be started and run as a background task by putting a '&' at the end of the command line.
If a task was started and is running in the foreground, it is still possible to move it to the background without cancelling it. To move a task from the foreground to the background perform the following steps:
CTRL-Z (That is, while holding the CTRL key down, tap the 'z' key) This will suspend the current foreground job (task).
Enter the job control command 'bg'
Tap the 'Enter' key
The job is now running in the background.
Useful commands to see which jobs are still running is the 'jobs' or the 'ps ua' commands. If the 'jobs' command is used, a background jobs can be brought to the foreground with the command fg n where n is the job (not the PID) number.
用Gmsh生成2次面单元(如9节点四边形)
1. 图形MESH界面下有set order按键。
2. 命令行:
gmsh input.geo -order 2 -2
-----------------------------------------------------------------------------------------------------
无需密码SSH访问远端服务器。
1, ssh-keygen
2, ssh-copy-id username@remote_host
----------------------------------------
UBUNTU里在文件夹位置打开terminal。
sudo apt-get install nautilus-open-terminal
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-27 12:06
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社