当前位置:网站首页>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 :
边栏推荐
- Complete Binary Tree
- JVM上篇:内存与垃圾回收篇七--运行时数据区-堆
- Basic operation of vim
- JVM上篇:内存与垃圾回收篇十--运行时数据区-直接内存
- 2、 MySQL advanced
- JVM Part 1: memory and garbage collection part 7 -- runtime data area heap
- JVM上篇:内存与垃圾回收篇八--运行时数据区-方法区
- Use of file i/o in C
- 深入 Qt5 信号槽新语法
- Introduction to Kali system ARP (network disconnection sniffing password packet capturing)
猜你喜欢

JVM上篇:内存与垃圾回收篇十二--StringTable

JVM上篇:内存与垃圾回收篇九--运行时数据区-对象的实例化,内存布局与访问定位

File processing (IO)

Tcp server是如何一个端口处理多个客户端连接的(一对一还是一对多)

Li Kou achieved the second largest result

35.滚动 scroll

Acticiti中startProcessInstanceByKey方法在variable表中的如何存储

SSM framework integration

Introduction to MySQL optimization

pyside2____1.安装和案列
随机推荐
1、 MySQL Foundation
B1022 D进制的A+B
File processing (IO)
Read write separation and master-slave synchronization
Typescript details
Introduction to Kali system ARP (network disconnection sniffing password packet capturing)
一、MySQL基础
QT 菜单栏、工具栏和状态栏
JVM上篇:内存与垃圾回收篇十--运行时数据区-直接内存
辗转相除法
Li Kou achieved the second largest result
Introduction to MySQL optimization
Bean的生命周期&&依赖注入*依赖自动装配
Differences among left join, inner join and right join
Use of file i/o in C
Use of collection framework
JVM Part 1: memory and garbage collection part 14 -- garbage collector
节流函数的demo——正则表达式匹配
Counting Nodes in a Binary Search Tree
Basic operation of vim