LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Terminal with similar keybindings to kwrite / kate / gedit / html text fields?

Posted 10-06-2015 at 09:04 PM by the dsc (linux-related notes)
Updated 01-13-2016 at 05:02 AM by the dsc (alternative solution)

EDIT: As it turns out, it's not really needed.

With control+x+e your current command line will be opened with the $EDITOR application. From there you edit freely, then you save it, and as you exit, it will run.

http://www.commandlinefu.com/command...to-text-editor

I think the text editor Nedit is an excellent $EDITOR to have for that. It uses the tcl/tk toolkit (or actually motiff, if it's not the same thing),...
Member
Posted in Uncategorized
Views 1259 Comments 0 the dsc is offline
Old

CLI to get Oracle Supply Network email attachments

Posted 10-06-2015 at 03:37 PM by MensaWater
Updated 11-12-2015 at 08:05 AM by MensaWater

I'm writing this up because I've often seen the question "How do I extract email attachments at command line?". I had to figure out how to use various tools to do this recently and figured I'd share what I did.

EDIT 11-Nov-2015:
While what is written below certainly works for extracting email attachments including those sent by OSN it turns out Oracle does NOT include all fields in the email they send so we ultimately abandoned this setup for OSN and are instead...
LQ Guru
Posted in Uncategorized
Views 1422 Comments 0 MensaWater is offline
Old

tmux - "tmux new-window \; split-window -h" does not work as expected anymore.

Posted 10-06-2015 at 01:54 AM by MadMaverick9 (MadMaverick9's Blog)
Tags patch, tmux

Start tmux with:
Code:
bash $ tmux
Which will start a session with one window and a shell started. In that shell type:
Code:
bash $ tmux new-window \; split-window
Up to 1.9a this would create a new window and split that new window.
In 2.0 and above it creates a new window, but then splits the first window.

The first patch "current-session-02.patch.txt" restores previous 1.9a behavior. But in order to be complete, tmux should also keep track of the...
Attached Files
File Type: txt current-session-02.patch.txt (519 Bytes, 0 views)
File Type: txt current-session-04.patch.txt (1.6 KB, 0 views)
Member
Posted in Uncategorized
Views 1033 Comments 0 MadMaverick9 is offline
Old

Cockpit A remote manager for GNU/Linux servers

Posted 10-05-2015 at 10:34 AM by sridhar11

Cockpit is an interactive server admin interface. It is easy to use and very light weight.

Full Story
Member
Posted in Uncategorized
Views 958 Comments 0 sridhar11 is offline
Old

Google reverse image search from command line/Geeqie/etc with python and shell scripts

Posted 10-04-2015 at 12:43 AM by the dsc (linux-related notes)
Updated 10-04-2015 at 01:42 AM by the dsc

There's another method which consists in uploading the image from your computer in some free host and then giving this URL to google via command line, but it's kind of a scumbag-ish thing to do, I think.

Based on/essentially identical to the first answer to a question in stack overflow:

Code:
#!/usr/bin/env python
# WARNING: I DON'T KNOW PYTHON AT ALL, THIS MAY BE GRUESOME AND IDIOTIC
import sys
filePath = sys.argv[-1]

import requests
...
Member
Posted in Uncategorized
Views 1325 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration