程序员常用命令集,只收集名字 ^^

这篇博客详细记录了一次Linux终端的使用过程,包括环境变量设置、文件操作、编译链接、进程查看、网络配置等常见命令的实践。还涉及了SSH密钥生成、Docker容器操作、Git版本控制及CMake构建系统的应用。内容涵盖从基础到进阶的多个方面,适合开发者和系统管理员参考学习。
$ export PATH=/home/hanmeimei/local/bin:$PATH
$ which ls
$ file helloworld
$ objdump --help 
$ objdump -h -s -d exit.o
$ ldd helloworld
$ ulimit -c unlimited
$ gcc -o helloworld helloworld.c

$ gcc -S helloworld.c -o helloworld.s
$ as hello.s -o hello.o
$ ld hello.o -o hello
$ clang -o helloworld helloworld.c

$ clang -emit-llvm -c sum.c -o sum.bc
$ clang -emit-llvm  -S -c sum.c -o sum.ll
$ clang  -S  sum.c -o sum.asm
$ grep -rn helloworld
$ echo $?
$ man elf
$ fine -name helloworld.c -type f # -type d
$ readelf -h helloworld

$ readelf -S helloworld

$ readelf -p .strtab helloworld
$ dmesg
$ cmake ..
$ make -j

$ gdb helloworld
##cat /proc/<PID>/maps
$ sudo cat /proc/1614/maps
$ ssh-keygen -t rea
$ ls ~/.ssh/
sudo docker pull

sudo docker run

git status
git branch
git checkout master
git add *
git commit -m "something useful"
git push 
git merge
$ cd ..
$ cd ./hello/
$ ls
$ vim
$ echo
$ cat
$ source /etc/profile
$ source ~/.profile
$ pwd
$ rm -rf ~/ex/hello/
$ touch ./hello.c
$ tar -zcf hello.tar.gz ./hello/ 
$ tar -cvf hello.tar ./hello/
$ tar zxvf hello.tar.gz
$ ps -e
$ kill -9 37575
$ ping www.google.com
$ ifconfig
$ uname -a
$ clear
$ cd -
$ history > his.txt
$ 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值