On my cluster a D in the states column means it is time to reboot the server.
This Command will list files & folders which are in GBs. G can be replace by M to get files in MBs.
Ever tried to mess with links and/or ../ in the file path? This command outputs the fully resolved path to the actual file passed on the command line.
sed '4~5,+1d' file.txt 1 2 3 6 7 8 Show Sample Output
move current window to the specific window id in GNU screen
add -rootwin to make it cover the whole desktop. This may work better than mounting it as a cifs mount.
Regular expression search pattern to remove the Datetime and Name when you paste from skype chat into your text editor From this Gist: https://gist.github.com/webstandardcss/3967760857d6be470dda
I still don't know why mutt (or offlineimap or whatever in between), is borking the encoding of my files, but this fixes it. Show Sample Output
grep for 2 words existing on the same line
Basic check to see if a website (or even an API) is responding as expected. If this is put in a case statement, there would be enough flexibility to monitor just about anything that gives an HTTP response code, as well as the network path to the site looking at curl exit codes. As this is for a possible monitor, timeouts have been added to make sure that iteration overruns do not occur. ( hopefully, curl sometimes "sticks" longer than expected ) Show Sample Output
We can list the new disk with
fdisk -l
GoAccess is an open source real-time Apache web log analyzer and interactive viewer that runs in a terminal in *nix systems. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly. http://goaccess.prosoftcorp.com/ Show Sample Output
Edit as necessary. Should match the logs and the number should be least, greatest.
I realise that this is just a reiteration of another entry (regardless of whether I came up with all this all by myself), but I would like present my additional alias' in context as a method of managing your directories. Rather convenient.
works nice if you're only interested in files that are completed downloading from a torrent
Take a list of words and let mpv play the pronunciation-file from gstatic. Inspired by http://www.commandlinefu.com/commands/view/12574/download-englishword-pronounciation-as-mp3-file.
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: