2024.9.19

面试题

一.

1.mkdir ../dir1 touch ../dir/file1

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

3.pwd

4.ls -lh

5.ifconfig

6.top

7.ps -ajx|grep python

8.kill -9 7580

9.ping www.baidu.com

10.grep -r /usr "name"

11.i esc :wq

13.df -h

16.tar -xvzf tmp.tar.gz

17.chmod 765 tmp

二、

1.19 4 4 4

2.5

cpp 复制代码
#include <iostream>

using namespace std;

int main()
{
    string s = " 1245a";
    for(unsigned int i=0;i<s.size();i++)
    {
        cout<<hex<<s[i]<<endl;
    }
    return 0;
}

4.58 96

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

相关推荐
Felven2 分钟前
B. MEXor Mixup
算法
阿崽meitoufa12 分钟前
JVM虚拟机:垃圾收集算法
java·jvm·算法
练习时长一年16 分钟前
LeetCode热题100(分割等和子集)
算法·leetcode·职场和发展
七号驿栈27 分钟前
07_汽车信息安全算法在线验证工具(测试报告)
算法
啦哈拉哈44 分钟前
【Python】知识点零碎学习4
python·学习·算法
爱喝可乐的老王1 小时前
线性回归模型案例:广告投放效果预测
算法·回归·线性回归
程序员-King.2 小时前
day151—双端队列—找树左下角的值(LeetCode-513)
算法·leetcode·二叉树·双端队列·队列
苦藤新鸡2 小时前
15 .数组右移动k个单位
算法·leetcode·动态规划·力扣
狐572 小时前
2026-01-19-牛客每日一题-阅读理解
笔记·算法·牛客
橘颂TA3 小时前
【剑斩OFFER】算法的暴力美学——力扣 130 题:被围绕的区域
算法·leetcode·职场和发展·结构与算法