首页 文章 精选 留言 我的

精选列表

搜索[命令行],共8215篇文章
优秀的个人博客,低调大师

Openstack 命令行集合

1, 使用nova boot命令创建虚拟机 1,指定IP ,指定flavor ,指定image,指定zone,指定host nova boot --flavor centos5.8_x64_30G --image 5d032bd2-0b3b-414d-9218-1ea326b46ecd --nic net-id=f80d5e53-2ae9-4800-89e3-9ebcd3d35d10,v4-fixed-ip=10.14.22.75 --nic net-id=5191dc70-43ed-4b89-801a-61d1c31fcfa8,v4-fixed-ip=192.168.0.75 --availability-zone=nova:kx-compute-59.kaixin.com commands nova boot --flavor centos5.8_x64_30G --image 5d032bd2-0b3b-414d-9218-1ea326b46ecd --availability-zone=nova:kx-compute-57.kaixin.com commandss 本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1393215

优秀的个人博客,低调大师

SDK命令行操作

* 使用前需要先在path中添加Android SDK的环境变量,跟Java JDK的配置相同 我当前目录如下:F:\Program\Android SDK\tools;F:\Program\Android SDK\platform-tools; // 查看所有的avd版本 android list avds // 查看所有可以创建的模拟器的版本 android list targets // 创建一个AVD,-n --> name,myavd --> name, -t表示要使用的版本,1表示API17 android create avd -n myavd -t -1 // 删除name为myavd的AVD android delete avd -n myavd // 启动AVD emulator -avd Nexus_4_API_17_2 // adb帮助文档 adb -h // 启动或关闭服务 adb start-server adb kill-server // 查询当前模拟器/设备的实例 adb devices // 安装、卸载、运行 adb -s emulator-5554[模拟器的name] install Hello.apk[***.apk] adb -s emulator-5554 uninstall con.heyan.Hello[程序包名] abd -s emulator-5554 shell am start -n cpm.heyan.Hello/com.heyan.Main // PC与模拟器/真机文件传输 // PC --> 设备(拷贝) adb -s emulator-5554 push /sdcard/1.jgp 2.jpg // 设备 --> PC(拷贝) adb -s emulator-5554 pull /sdcard/1.jgp 2.jpg // shell 命令 abd -s emulator-5554 shell // 创建SD卡(只在模拟器上) mksdcard -l sdcard 30MB ./sd.img

优秀的个人博客,低调大师

linux系统相关命令行

一、linux系统简介以及基本概念及操作 (1)ctrl+alt+F1~F6:进行切换 ctrl+alt+F7:返回图形界面 (2)使用Tab键进行:命令补全、补全目录、补全命令参数都是可以的。(当你忘记某些命令的全称时,可以只输入开头的一部分,然后按下Tab键就会补全) (3) ctrl+c:立即停止并恢复到你可控的状态,强行终止当前程序(并不会使终端退出) ctrl+d:键盘输入结束或退出终端 ctrl+s:暂停当前程序,暂停后按下任意键恢复运行 ctrl+a:将光标移至输入行头,相当于Home键 ctrl+e:将光标移至输入行末,相当于End键 ctrl+k:删除从光标所在位置到行末 shift+pgup:将终端显示向上滚动 shift+pgdn:将终端显示向下滚动 (4)恢复之前输入过的命令:↑ (5)你可以使用如下方式来获得某个命令的说明和使用方式的详细介绍: $ man <command_name> 例如:man man;manual pages的缩写:man 二、linux目录结构及文件基本操作 (1)返回上级目录:cd .. 进入你的home目录:cd ~ 使用pwd获取当前路径:pwd (2)linux文件的基本操作: ①新建空白文件eg:touch test 前提是切换到自己的目录下面 ②新建目录:mkdir mydir ③使用cp命令复制一个文件到指定目录:cp test father/son/grandson,复制目录也需要加上-r或者-R ④删除文件eg:rm test,若想删除一些只有读的权限文件,rm会报错,可以使用-f参数强制删除eg:rm -f test ⑤删除目录:也需要加上-r或者-R,eg:rm -r family ⑥移动文件:mv,eg:mv 原目录 目的目录 ⑦重命名文件:mv 旧的文件名 新的文件名 三、文件打包与压缩 (1)tar ①打包:tar -zcvf something.tar something ②解包:tar -zxvf something.tar ③指定路径:-C 参数 (2)zip ①打包:zip something.zip something (目录请加 -r 参数) ②解包:unzip something.zip ③指定路径:-d 参数

优秀的个人博客,低调大师

Spring Roo 命令行说明

参考文档:http://projects.spring.io/spring-roo/#running-from-shell $ roo.sh _ ___ _ __ _ __(_)_ __ __ _ _ __ ___ ___ / __| '_ \| '__| | '_ \ / _` | | '__/ _ \ / _ \ \__ \ |_) | | | | | | | (_| | | | | (_) | (_) | |___/ .__/|_| |_|_| |_|\__, | |_| \___/ \___/ |_| |___/ 2.0.0.RC2 Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. roo> roo> roo> help COMMAND INDEX !g Passes a command directly through to the Felix shell infrastructure. !os Allows execution of operating system (OS) commands. Ex.: `!os mkdir test_dir` */ End of block comment /* Start of block comment // Inline comment markers (start of line only) ; Inline comment markers (start of line only) addon create advanced Create a new advanced add-on for Spring Roo (commands + operations + metadata + trigger annotation + dependencies). addon create i18n Create a new internationalization add-on for Spring Roo, with a new language. with a new language.Created add-on can be installed later into a project for localizing the project to that new language. addon create simple Create a new simple add-on for Spring Roo (commands + operations). addon create suite Create a new Spring Roo Addon Suite for Spring Roo (two sample addons + repository + suite generator). addon create wrapper Create a new add-on for Spring Roo which wraps a maven artifact to create a OSGi compliant bundle. addon development mode Switches the system into development mode, which enables add-on development commands and shows greater diagnostic information. addon info bundle Provide information about a specific Spring Roo Add-on from installed repositories. addon install bundle Install Spring Roo Add-on from installed repositories. addon install url Install Spring Roo Add-on using an URL. addon list List all installed addons. addon remove Removes an installed Spring Roo Add-on. addon repository add Adds a new OBR Repository to ROO Shell. addon repository introspect Introspects all installed OBR Repositories and list all their addons. addon repository list Lists installed OBR Repositories. addon repository remove Removes an existing OBR Repository from ROO Shell. addon search Search all known Spring Roo Add-ons from installed repositories. addon suite install name Installs some 'Roo Addon Suite' from installed OBR Repository. addon suite install url Installs some 'Roo Addon Suite' from URL. addon suite list Lists all installed 'Roo Addon Suite'. If you want to list all available 'Roo Addon Suites' on Repository, use --repository parameter. addon suite start Starts some installed 'Roo Addon Suite'. By default, an installed 'Roo Addon Suite' is started automatically. addon suite stop Stops some started 'Roo Addon Suite'. addon suite uninstall Uninstalls some installed 'Roo Addon Suite'. backup Backups your project to a zip file located in root directory. cache setup Installs support for using intermediate memory in generated project by using Spring Cache abstraction. Users can specify different providers to use for managing it. class Creates a new Java class source file in any project path constructor Creates a class constructor. dto Creates a new DTO (Data Transfer Object) class in the directory _src/main/java_ of the selected project module (if any) with @RooDTO annotation. email receiver setup Installs a Spring JavaMailReceiver in your project. email sender setup Install a Spring JavaMailSender in your project embeddable Creates a new Java class source file with the JPA `@Embeddable` annotation in the directory _src/main/java_ of the selected project module (if any). entity jpa Creates a new JPA persistent entity in the directory _src/main/java_ of the selected project module (if any) with `@RooEntity` annotation. entity projection Creates new projection classes from entities in the directory _src/main/java_ of the selected project module (if any) annotated with `@RooEntityProjection`. Transient, static and entity collection fields are not valid for projections. enum constant Inserts a new enum constant into an enum class. enum type Creates a new Java enum source file in any project path. equals Add `equals()` and `hashCode()` methods to a class. exit Waits until all metadata and files are refreshed and updated, then exits the shell. You can also use `exit` command. field boolean Adds a private boolean field to an existing Java source file. field date Adds a private date field to an existing Java source file. field embedded Adds a private `@Embedded` field to an existing Java source file. This command is only available for entities annotated with `@RooJpaEntity` (Roo JPA entities). Therefore, you should focus the desired entity in the Roo Shell to make this command available. field enum Adds a private enum field to an existing Java source file. The field type must be a Java enum type. field file Adds a byte array field for storing uploaded file contents. field list Adds a private `List` field to an existing Java source file, representing (always) a bidirectional relation with other entity. Therefore, this command will also add a field on the other side of the relation (the owner side, with `mappedBy` attribute), which will be a `List` field for 'many-to-many' relations, or a *not* `Collection` field for a 'one-to-many' relation. All added fields will have the needed JPA annotations to properly manage bidirectional relations.This command is only available for entities annotated with `@RooJpaEntity` (Roo JPA entities). Therefore, you should focus the desired entity in the Roo Shell to make this command available. field number Adds a private numeric field to an existing Java source file. User can choose the field type between a wide range of numeric types. field other Inserts a private field into the specified file. User can choose a custom type for the field by specifying its fully qualified name. field reference Adds a private reference field, representing (always) a bidirectional 'one-to-one' relation, to an existing Java source file. Therefore, this command will add as well a 'one-to-one' field on the other side of the relation. This command is only available for entities annotated with `@RooJpaEntity`, so you should focus the desired entity in the Roo Shell to make this command available. field set Adds a private `Set` field to an existing Java source file, representing (always) a bidirectional relation with other entity. Therefore, this command will also add a field on the other side of the relation (the owner side, with `mappedBy` attribute), which will be a `Set` field for 'many-to-many' relations, or a *not* `Collection` field for a 'one-to-many' relation. All added fields will have the needed JPA annotations to properly manage bidirectional relations. This command is only available for entities annotated with `@RooJpaEntity` (Roo JPA entities). Therefore, you should focus the desired entity in the Roo Shell to make this command available. field string Adds a private String field to an existing Java source file. finder add Installs a finder in the given target (must be an entity). This command needs an existing repository for the target entity, you can create it with `repository jpa` command. The finder will be added to targeted entity associated repository and associated service if exists or when it will be created. focus Changes Roo Shell focus to a different type in the project. help Shows a summary of all Spring Roo commands. hint Provides step-by-step hints and context-sensitive guidance. interface Creates a new Java interface source file in any project path. jms receiver Creates an JMS receiver. jms sender Creates an JMS sender. jpa audit add Adds support for auditing a JPA entity. This will add JPA and Spring listeners to this entity to record the entity changes. jpa audit setup Installs audit support into your project, preparing it to audit entity changes. jpa setup Installs or updates a JPA persistence provider in your project. User can execute this command for diferent profiles with different persistence configurations. metadata cache Shows detailed metadata for the indicated type. metadata for id Shows detailed information about the metadata item. metadata for module Shows the ProjectMetadata for the indicated project module. metadata for type Shows detailed metadata for the indicated type. metadata status Shows metadata statistics of the current project. metadata trace Traces metadata event delivery notifications. module create Creates a new Maven module in current *multimodule* project. module focus Changes Roo Shell focus to a different project module, when in a multimodule project. process manager debug Indicates if process manager debugging is desired. It is only available if 'addon development mode' is true. project scan now Performs a manual file system scan, calling thread monitors and checking that all files are updated. project scan speed Changes the time inteval between file system scans. project scan status Displays file system scanning information such as the time lasted for last scan and scanning frequency. project setup Creates a new Maven project. property add Adds or updates a particular property from application config properties file. property list Lists all properties from an application config properties file. property remove Removes a particular property from application config properties file. push-in Allows to push-in elements declared in the ITDs to its .java files. You could specify `--all` option to apply push-in on every component of generated project, or you could define any package, class or method to apply push-in, combining them. quit Waits until all metadata and files are refreshed and updated, then exits the shell. You can also use `exit` command. reference guide Writes the reference guide XML fragments (in DocBook format) into the current working directory. It is only available if 'development mode' is `true`. repository jpa Generates new Spring Data repository for specified entity or for all entities in generated project. script Parses the specified resource file and executes its Roo commands. You can as well execute _*.roo_ example scripts in the Roo classpath. Ex.: `script --file clinic.roo`. security authorize Includes `@PreAuthorize` annotation to an specific method for controlling access to its invocation. security filtering Include `@PreFilter`/`@PostFilter` annotation to an specific method to filter results of a method invocation based on an expression. security setup Install Spring Security into your project. service Creates new service interface and its implementation related to an entity, or for all the entities in generated project, with some basic management methods by using Spring Data repository methods. settings add Adds or updates a Roo project setting, which can modify the configuration of some commands acting in the current project. These settings are located in _[PROJECT-ROOT]/.roo/config/project.properties_. settings list Lists all settings added into Roo project configuration. These settings are located in _[PROJECT-ROOT]/.roo/config/project.properties_. settings remove Removes a specific setting from Roo project configuration. Use 'settings list' to see the Roo settings added to the project. system properties Shows the shell's properties such as if 'addon development mode' is enabled, JVM version, file encoding... test integration Creates a new integration test class for the specified class. The generated test class will contain a basic structure and the necessary testing components. test unit Creates a unit test class with a basic structure and with the necessary testing components, for the specified class. version Displays Roo Shell banner and version. web flow Installs a Spring Web Flow into your project. web mvc controller Generates new `@RooController's` in the directory _src/main/java_ of the selected project module (if any). The generated controllers should manage specific entities in the project. web mvc detail Generates new `@RooController` for relation fields which detail wants to be managed. It must be a `@OneToMany` field. Generated controllers will have `@RooDetail` with info about the parent entity and the parent views where the detail will be displayed. web mvc exception handler Adds methods to handle an application exception in a specified controller or a class annotated with `@ControllerAdvice`. web mvc finder Publishes existing finders to web layer, generating controllers and additional views for them. It adds `@RooWebFinder` annotation to MVC controller type. web mvc language Installs new language in generated project views. Also, could be used to specify the default language of the project. web mvc setup Includes Spring MVC configuration on generated project. Needed for several MVC related commands. web mvc templates setup Includes view generation templates on current project. Will allow developers to customize view generation by modifying the templates from _[PROJECT-ROOT]/.roo/templates/..._ web mvc view setup Includes all necessary resources of provided response type on generated project. This response type will be needed by `web mvc controller`, `web mvc detail` and `web mvc templates setup` commands. ws client Generates a new Web Service client by the provided WSDL file. ws endpoint Generates a new Service Endpoint Interface (SEI) and its implementation. ** Type 'hint' (without the quotes) and hit ENTER for step-by-step guidance ** roo> hint Welcome to Roo! We hope you enjoy your stay! Before you can use many features of Roo, you need to start a new project. To do this, type 'project setup' (without the quotes) and then hit TAB. Enter a --topLevelPackage like 'com.mycompany.projectname' (no quotes). When you've finished completing your --topLevelPackage, press ENTER. Your new project will then be created in the current working directory. Note that Roo frequently allows the use of TAB, so press TAB regularly. Once your project is created, type 'hint' and ENTER for the next suggestion. You're also welcome to visit http://stackoverflow.com/questions/tagged/spring-roo for Roo help. roo>

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册