Quantcast
Channel: Jontas » console
Browsing latest articles
Browse All 2 View Live

MySQL execute statements directly from the (linux) console

Executing a query quickly from the console is nice to be able to do (without having to enter the MySQL console). This will simply output the result to the console where you are. user@server:~$ mysql...

View Article



Linux send a log (or output from a command) as a mail from the linux console

Sometimes it is nice to send a log or some other file as a email to someone (or a part of a file) cat myfile.txt | mail -s 'SUBJECT' example@mail.com; Change myfile.txt, SUBJECT and example@mail.com to...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images