mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 08:46:36 +00:00
add logout timer
This commit is contained in:
parent
5f3e48109e
commit
7742c3b72f
10
README.md
10
README.md
@ -1,5 +1,5 @@
|
||||
# Bash-Oneliner
|
||||
Hi bash learners and bioinformaticans, welcome to Bash Oneliner. I started studying bioinformatics data four years ago (recently started working on cloud computing), and was amazed by those single-word bash commands which are much faster than my dull scripts, so i started bash. Not all the code here is oneliner (if the ';' counts..), but i put effort on making them brief and fast.
|
||||
Hi bash learners and bioinformaticans, welcome to Bash Oneliner. I started studying bioinformatics data four years ago (recently started working on cloud computing), and was amazed by those single-word bash commands which are much faster than my dull scripts, so i started bash. Not all the code here is oneliner (if the ';' counts..), but i put effort on making them brief and fast. I am mainly using Ubuntu and RedHat, sorry if the commands dont work on your system.
|
||||
|
||||
This blog will focus on simple bash commands for parsing data, most of which are for tsv files (tab-separated values); some of them are for Linux system maintenance. I apologize that there won't be any citation for the codes, but they are probably from dear Google and Stackoverflow.
|
||||
|
||||
@ -2275,5 +2275,13 @@ sg_map -i -x|grep SEAGATE|wc -l
|
||||
```bash
|
||||
dmidecode -t memory
|
||||
```
|
||||
##### Log out your account after a certain period of time (e.g 10 seconds)
|
||||
```bash
|
||||
TMOUT=10
|
||||
#once you set this variable, logout timer start running!
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
||||
|
Loading…
Reference in New Issue
Block a user