最近修改了几个python文件,发现在linux上只能用python file来执行,直接./file提示错误“no such file or directory”,而脚本是用“#!/usr/bin/env python”开头的,应该是可以直接执行的。 一般情况下,这个错误是由于没有权限导致的。但是...
分类:
编程语言 时间:
2014-09-29 13:14:50
阅读次数:
173
简单的示例Shell程序示例1.#!/bin/bash
#This is to show what a shell script looks like
echo "Our first example"
echo # This inserts an empty line in output.
echo "We are currently in the following directory."
/b...
分类:
其他好文 时间:
2014-09-28 20:05:46
阅读次数:
266
通过查看android源码目录下的build/envsetup.sh文件,可知:- m: Makes from the top of the tree.- mm: Builds all of the modules in the current directory.- mmm: Builds all...
分类:
移动开发 时间:
2014-09-28 19:33:54
阅读次数:
194
今天做项目的时候svn突然提更新不了,但是能提交,我以为是IDE自带的svn出问题,但是使用了其他的svn客户端还是不能更新代码,很是诡异!错误出现:svn:Can‘tfindatemporarydirectory解决办法:网上搜了搜说一般这种情况出现在服务器端,磁盘慢了的情况;我的svn服务器为Centos..
分类:
其他好文 时间:
2014-09-28 18:49:46
阅读次数:
986
netstat -tlnlinkin@OpenSuse:~> netstat -tln--------------------------------------------------------------------------------Active Internet connections...
分类:
系统相关 时间:
2014-09-28 17:36:04
阅读次数:
234
当我们在给我们项目中的一些文件转移位置存放的时候,经常性的会遇到no such file or directory这个错误,也就是说是在路径下找不到相关的文件,这里介绍一种方法,解决这个曾经纠结我好久的问题,也希望对大家能够有所帮助!1.这是经常遇到的一个错误,如图:2.在你的项目中找到发生错...
分类:
其他好文 时间:
2014-09-28 15:03:02
阅读次数:
119
简介Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。输出信息含义执行netstat后,其输出结果为Active Internet co...
分类:
Web程序 时间:
2014-09-28 11:58:11
阅读次数:
352
No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system. 最近接手了一个新的JAVA项目,在IDEA中配置好了Deb...
分类:
其他好文 时间:
2014-09-27 23:25:10
阅读次数:
2609
Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。输出信息含义执行netstat后,其输出结果为复制代码Active Internet ...
分类:
Web程序 时间:
2014-09-27 18:05:50
阅读次数:
423
error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).解决方法:set the "Build Active Architecture Only" and ...
分类:
其他好文 时间:
2014-09-26 23:28:08
阅读次数:
233