当前位置:网站首页>shell 命令输出
shell 命令输出
2022-06-09 01:18:00 【ghostwritten】
shell 命令输出
process.sh
#!/usr/bin/env bash
echo "Hello $USER"
echo "Hey i am $USER and will be telling you about the current processes"
echo "Running processes List"
ps
执行:
$ bash process.sh
Hello root
Hey i am root and will be telling you about the current processes
Running processes List
PID TTY TIME CMD
6898 pts/0 00:00:00 bash
29530 pts/0 00:00:00 bash
29531 pts/0 00:00:00 ps
边栏推荐
- Huawei computer test question 21: hj21 simple password
- Preparation and drilling of fire emergency plan, safety publicity, training and collection
- Openeuler notebook networking
- Dom----- event flow
- A sharp tool to expose data inconsistency -- a real-time verification system
- 音視頻的理論基礎與底層技術研究資料
- Leetcode: Sword finger offer 48 Longest substring without repeated characters [double pointer]
- A complete set of meta universe elements covering software and hardware, crossing virtual and reality, has been born
- Is it safe for Huishang futures to open an account online? Are there any account opening guidelines?
- Go language conditional statement
猜你喜欢

Go language goto keyword

Assembly language integrated development environment learning notes

ABViewer布局检测器功能以及性能改进

Today's sleep quality record 76 points

After class assignment of module 3 of the construction practice camp

About concurrency and parallelism, are the fathers of go and Erlang wrong?

一次SQL查询优化原理分析:900W+数据,从17s到300ms

Graduation project: face recognition project

居家第六十八天的晚餐

Django MySQL database (IV)
随机推荐
Lancher single node deployment and certificate problem -- the way to build a dream
About concurrency and parallelism, are the fathers of go and Erlang wrong?
2022-06-08:找到非负数组中拥有“最大或的结果“的最短子数组,返回最短长度。
Simple implementation of LinkedList underlying source code (common methods)
From just entering the testing industry to doubling my salary: talk about my advanced testing experience, which is worth learning from
Web slider drag selection value slider plug-in
RedHat 9.0 makes OpenSSH RPM package (9.0p1) -- the road to dream
Fatfs (X): lire et écrire plusieurs octets (mots)
Hong Kong Securities Regulatory Commission reminds NFT risk
GO语言-goto关键字
矩阵 - 二维区域和检索 - 矩阵不可变,leetcode 304
Notes on live broadcast of student letter skill tree R language learning
[JS] array de duplication
ORA - 07445
The past, present and future of applets. You will understand all about applets after reading this article
Go language basic data type
汇编语言集成开发环境学习笔记
居家第六十八天的晚餐
Huawei computer test question 21: hj21 simple password
Simple implementation of ArrayList bottom layer (only common methods, detailed comments)