当前位置:网站首页>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 :
边栏推荐
猜你喜欢

Laozi cloud and Fuxin Kunpeng achieved a major breakthrough in 3D ofd 3D format documents for the first time

Read write separation and master-slave synchronization

How idea creates a groovy project (explain in detail with pictures and texts)

35.滚动 scroll

ssm框架整合

TypeScript 详解

QT 菜单栏、工具栏和状态栏

安装Pygame

JVM Part 1: memory and garbage collection part 14 -- garbage collector

JVM Part 1: memory and garbage collection part 7 -- runtime data area heap
随机推荐
Detailed description of binary search tree
Card drawing program simulation
JVM上篇:内存与垃圾回收篇--运行时数据区四-程序计数器
Row, table, page, share, exclusive, pessimistic, optimistic, deadlock
How to create an applet project
集合框架的使用
对话框数据传递
Counting Nodes in a Binary Search Tree
事件的接受与忽略
JVM上篇:内存与垃圾回收篇十四--垃圾回收器
测试基础5
树莓派rtmp推流本地摄像头图像
[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
JVM Part 1: memory and garbage collection part 7 -- runtime data area heap
pyside2____ 1. Installation and case listing
Event Summary - common summary
B1030 完美数列
集成开发环境Pycharm的安装及模板设置
There is no need to install CUDA and cudnn manually. You can install tensorflow GPU through a one-line program. Take tensorflow gpu2.0.0, cuda10.0, cudnn7.6.5 as examples
1、 MySQL Foundation