欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 文旅 > 艺术 > Linux C高级 day2

Linux C高级 day2

2024/10/24 9:17:15 来源:https://blog.csdn.net/Artorias_Ch/article/details/142366959  浏览:    关键词:Linux C高级 day2

一、

1.mkdir ../dir1 && touch ../dir/file

2.cp -r /mnt/dir1/* /home/dir2

3.pwd

4.ls -l

5.ip或ifconfig

6.top

7.ps aux | grep python

8.kill -9 7580

9.ping

10.find /usr -type f -name '*name*'

11. a-> 输入内容->ese->shift+冒号 wq回车

12.

13.df -h

14.tar -xvzf tmp.tar.gz

15.chmod 765 tmp

二、

1.

①19 ② 4 ③4 ④4

2. 5

3.

std::string a="1245a";
for (char c : a)
{std::cout << "0x" << std::hex << std::setw(2) << std::setfill('0') << (int)c << " "; } 

0x31 0x32 0x34 0x35 0x61

4.

x=57  y=96

5.

(1) 1 (2)4 (3)1 (4)31 (5)3
 

思维导图

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com