摘要: 代码: #include <stdio.h> int main() { char str[] = "Hello\0World"; // 在字符串中嵌入了空字符 printf("%s\n", str); // 这可能会导致警告 return 0; } 在这个例子中,字符串str包含一个嵌入的空字符\0 阅读全文
posted @ 2024-07-20 16:48 YOLO_01 阅读(80) 评论(0) 推荐(0)
摘要: 新用户使用sudo命令报错 情景: 使用adduser image,创建新用户image 使用su image,切换到新用户 使用sudo命令,出现报错 image is not in the sudoers file. This incident will be reported. 解决方案: 切 阅读全文
posted @ 2024-07-20 15:26 YOLO_01 阅读(109) 评论(0) 推荐(0)