Displays SuSE release information Show Sample Output
I find that I create a directory and then cd into that directory quite often. I found this little function on the internets somewhere and thought I'd share it. Just copy-paste it into you ~/.bash_profile and then `source ~/.bash_profile`. Show Sample Output
get a list of temps of your hard-drives. Show Sample Output
Unset TMOUT or set it to 0 in order to prevent shell autologout. TMOUT is the number of seconds after which the present shell will be killed if it has been idle for that long.
this will cause any commands that you have executed in the current shell session to not be written in your bash_history file upon logout
Replace * with any filename matching glob or an individual filename
the maven.test.skip property can be added to other goals too.
This will create a new directory called MyProject with a pom.xml and the following tree structure: MyProject |-->pom.xml |-->src | |-->main | | |-->java | | | |-->my | | | | |-->work | | | | | |-->App.java | |-->test | | |-->java | | | |-->my | | | | |-->work | | | | | |-->AppTest.java
This command create a new temp directory using mktemp (to avoid collisions) and change the current working directory to the created directory. Show Sample Output
convert mixed case in a file to lower case
Per default, linux/unix shells are configured with a width of 80 characters. If you like to edit a phrase or string on a line with more than 80 characters it might take long to go there (for example a line with 1000 characters and you like to edit the 98th word which is character 598-603). Maybe you might wish to use 78 characters, because if you forward the text via mail and the text will be quoted (2 extra characters at the beginning to the line "> "), you use 80 characters, otherwise 82, which are lame.
Notifyme is a program that listen in background for users login, and report on login and logout. Users can be specified from a list or in a ~/notify.rc file. -C options force to display messages on the center of the screen.See man notifyme for more details. Part of notifyme package, tested on Debian. Show Sample Output
Ater person A starts his screen-session with `screen`, person B can attach to the srceen of person A with `screen -x`. Good to know, if you need or give support from/to others.
From man tiger : Tiger is a package consisting of Bourne Shell scripts, C code and data files which is used for checking for security problems on a UNIX system. It scans system configuration files, file systems, and user configuration files for possible security problems and reports them. Show Sample Output
mytop is a top like monitor for displaying Mysql server statistic and performance. Part of mytop package ,tested on Debian.
Displays time of last system boot Show Sample Output
Report memory and swap space utilization statistics e.g. memory free/used, swap free/used
Send signal 0 to the process. The return status ($?) can be used to determine if the process is running. 0 if it is, non-zero otherwise.
Where foodir is the directory you want to zip up.
You only have to fill in your administrative account and password, and the router FQDN! I recommand to execute this command not over the internet, because there is no encryption (the username and password will be transmitted in plaintext!)
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: