当前位置:网站首页>Shell course summary
Shell course summary
2022-07-27 05:16:00 【Palm nine】
conditional
1. Judge whether there is a user's default on the current system shell by bash; If there is , It shows how many such users there are ; otherwise , It shows that there are no such users ;
2. Write a script Given a file , such as /etc/inittab Determine if there are blank lines in this file ; If there is , The number of blank lines is displayed ; otherwise , Show no blank lines .
3. Write a script Given a user , Judge it UID And GID Whether or not the same If the same , It shows that this user is “good guy”; otherwise , It shows that this user is “bad guy”、
Task a :
Task 2 :
Task three :
边栏推荐
- B1025 反转链表*******
- 一、MySQL基础
- Interface and abstract class / method learning demo
- Installation and template setting of integrated development environment pychar
- Detailed explanation of pointer constant and constant pointer
- B1021 个位数统计
- JVM上篇:内存与垃圾回收篇二--类加载子系统
- [untitled] I is circularly accumulated under certain conditions. The condition is usually the length of the loop array. When it exceeds the length, the loop will stop. Because the object cannot judge
- B1030 完美数列
- 34. 分析flexible.js
猜你喜欢
随机推荐
Sunset red warm tone tinting filter LUTS preset sunset LUTS 1
"Photoshop2021 tutorial" adjust the picture to different aspect ratio
Flexible array and common problems
Tcp server是如何一个端口处理多个客户端连接的(一对一还是一对多)
智慧展厅设计的优势及适用行业分析
How to sinicize the JMeter interface?
OFDM 16 lecture 2-ofdm and the DFT
Constraints of MySQL table
树莓派输出PWM波驱动舵机
The project connects with Alipay payment, and the intranet penetration realizes the monitoring of asynchronous callback notification of successful payment of Alipay
I've heard the most self disciplined sentence: those I can't say are silent
使用ngrok做内网穿透
Event filter
feign调用丢失请求头问题解决及原理分析
数据库连接池&&Druid使用
深入 Qt5 信号槽新语法
Event
Use of collection framework
[acwing] solution to the 61st weekly match
JVM Part 1: memory and garbage collection part 7 -- runtime data area heap








