实用Linux命令行 —— 进制的转换
来源:互联网 发布:让2g网络变4g网络 编辑:程序博客网 时间:2024/05/05 00:23
工作中进制的转换问题
1. 你还用windows calc.exe???
OH! My God! 千万别用了,太不优雅了。
2 优雅的Linux命令行 “bc“
不解释,看这里:
bc –help
XXXXX@XXXX:~/code/shellcode/03_reverse_tcp_shell_with_password$ bc --helpusage: bc [options] [file ...] -h --help print this usage and exit -i --interactive force interactive mode -l --mathlib use the predefined math routines -q --quiet don't print initial banner -s --standard non-standard bc constructs are errors -w --warn warn about non-standard bc constructs -v --version print version information and exit
十进制转十六进制
river@RiverPc:~/code/shellcode/03_reverse_tcp_shell_with_password$ bcbc 1.06.95Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.This is free software with ABSOLUTELY NO WARRANTY.For details type `warranty'. ibase=10obase=164129
ibase设置输入的进制形式,obase设置输出的进制形式
其他一些转换
obase10ibaseAibase=16obase=2AAA101010101010ibase=8obase=101231238877
直接输入ibase查看当前的输入进制状态,obase查看输出的进制状态。
0 0
- 实用Linux命令行 —— 进制的转换
- Linux下非常实用的命令行工具
- Linux下非常实用的命令行工具
- 实用但不常用的linux命令行
- linux下的几个命令行实用快捷键
- Linux shell 命令行最实用的快捷键
- 最实用的 Linux 命令行使用技巧
- 最实用的 Linux 命令行使用技巧
- 最实用的 Linux 命令行使用技巧
- 最实用的%Linux%命令行使用技巧
- 最实用的 Linux 命令行使用技巧
- 非常实用的Linux命令行技巧
- linux 实用命令行大全
- Linux(Ubuntu)命令行入门:一些实用的Linux命令
- 三个最实用的linux命令行方面的网站
- 强悍的 Ubuntu —— 强悍的任意进制转换命令行工具 bc
- 超实用的8个Linux命令行性能监测工具
- 超实用的8个Linux命令行性能监测工具
- RDD操作详解1——Transformation和Actions概况
- 处理数据时被double型的“NaN”数据坑了
- android添加重启功能
- eclipse下工程文件导入android_studio
- C#委托
- 实用Linux命令行 —— 进制的转换
- 淘宝网采用什么技术架构来实现网站高负载的
- RDD操作详解2——值型Transformation算子
- Poj 2549 Sumsets【巧妙枚举】
- java标识符
- POJ1751 Highways
- Selenium2 Python 自动化测试实战学习笔记
- Error:(1, 0) Plugin with id 'com.android.application' not found
- Android apk动态加载机制的研究(二):资源加载和activity生命周期管理