persica的个人博客分享 http://blog.sciencenet.cn/u/persica

博文

linux杂记

已有 3237 次阅读 2012-10-19 03:06 |个人分类:Linux|系统分类:生活其它| Linux

摘些转自网络的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:

  1. CTRL-Z (That is, while holding the CTRL key down, tap the 'z' key) This will suspend the current foreground job (task).

  2. Enter the job control command 'bg'

  3. 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







https://blog.sciencenet.cn/blog-398938-624090.html

上一篇:寻求表达格式的转化
下一篇:力学基本概念
收藏 IP: 141.99.138.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-25 13:03

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部