码迷,mamicode.com
首页 >  
搜索关键字:系统目录 ls which alias    ( 20237个结果
设置alias别名并使之重启或者注销用户之后依旧生效
定义alias别名格式:alias新的命令名=‘命令执行的绝对路径‘例如:原本检测nagios配置文件的命令路径为/usr/local/nagios/bin/nagios-v/usr/local/nagios/etc/nagios.cfg那么每次执行检测nagios配置文件的时候就要输入这么长命令实在是不方便。我们可以使用alias别名的方式如下..
分类:其他好文   时间:2014-05-08 16:26:42    阅读次数:616
iOS:获取图片Alpha图片
-(void)createImages { // Load the alpha image, which is just the same Ship.png image used in the clipping demo NSString *imagePath = [[NSBundle mainBundle] pathForResource:@"Ship.png" ofType:n...
分类:移动开发   时间:2014-05-08 16:17:52    阅读次数:401
linux基础命令学习(一)
pwd 输出当前工作路径tree 以树状图列出目录的内容ctrl+c 取消命令的执行clear 清空屏幕ls 列出文件目录 蓝色是目录,白色是普通文件alias cls=clear 别名终端:本地终端、远程虚拟终端tty:哪个终端登录Alt F1切换终端登录w:查看多少人登录id/groups以.开...
分类:系统相关   时间:2014-05-08 14:26:41    阅读次数:479
Common Issues Which Cause Roles to Recycle
This section lists some of the common causes of deployment problems, and offers troubleshooting tips to help you resolve the problems. An indication t...
分类:其他好文   时间:2014-05-08 09:31:31    阅读次数:447
How to remove a batch of VMs and related Disks
Foreword Need to remove a batch of VMs, which named with same prefix or belong to same Cloud Service. After remove VMs, should automatically remove re...
分类:其他好文   时间:2014-05-08 09:18:56    阅读次数:265
Linux入门-shell使用技巧
tab 命令补全history 先前输入的命令,!+序号重新执行ctrl+l,clear 清屏ctrl+u 删除当前输入ctrl+c 终止命令ctrl+d 退出系统一、命名别名 #alias 查看已有的别名 #alias copy=cp 让copy可以执行cp的命令 #u...
分类:系统相关   时间:2014-05-08 09:12:38    阅读次数:314
(赵小明RHCE笔记)linux基础之三 用户、组及权限
一、user1.每个用户将指派唯一用户ID(UID)root的ID为0普通用户ID从500开始(0-500系统使用)2.用户名和用户ID存在/etc/passwd中3.当用户登陆时系统自动为其分配一个用户家目录4.用户无法读、写、执行其他用的文件二、changingfileownership1.onlyrootcanchangeafile‘sowner2...
分类:系统相关   时间:2014-05-08 03:01:10    阅读次数:665
linux之磁盘管理(四)
文件系统管理重新创建文件系统会损坏原有文件。创建某个分区上的文件系统使用mkfs:makefilesystem-tFSTYPE指定文件系统类型mkfs命令比较特殊[root@www~]#whichmkfs.ext2/sbin/mkfs.ext2[root@www~]#ls-l/sbin/mkfs.ext2-rwxr-xr-x3rootroot47312Sep42009/sbin/mkfs.ext2所以:..
分类:系统相关   时间:2014-05-08 02:33:29    阅读次数:406
LeetCode:Maximum Subarray
题目链接 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,...
分类:其他好文   时间:2014-05-07 16:42:42    阅读次数:287
strtok函数的使用与实现
一个用来分割字符串的函数: strtok char * strtok ( char * str, const char * delimiters ); Split string into tokens A sequence of calls to this function split str into tokens, which are sequences of co...
分类:其他好文   时间:2014-05-07 16:18:12    阅读次数:273
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!