You are not logged in.

#1 2012-11-18 10:52:27

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 262
Website

[SOLVED] Exporting terminal output to URL?

Hello!

I can't start graphicall user interface (gnome 3) and am stuck in linux terminal. Is there any way i could export my linux terminal commands or files to any URL where i could acess them later on another PC? I know this exists but i forgot how it is done.


TY

Last edited by 71GA (2012-11-19 11:57:10)


Arch Linux user dealing with ARM9 / ARM Cortex-M developement in Kdevelop IDE, 3D modeling in Bricscad, PCB production in EAGLE CAD, 3D animation in Blender, milling through LinuxCNC and songwriting in Bitwig & GuitarPRO.

Offline

#2 2012-11-18 11:01:33

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [SOLVED] Exporting terminal output to URL?

You want ssh.

Offline

#3 2012-11-18 11:58:57

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Exporting terminal output to URL?

The Beginners' Guide has something about this: https://wiki.archlinux.org/index.php/Be … leshooting

Also: http://sprunge.us/

# pacman -Syu | curl sprunge.us -F sprunge=@-
$ curl sprunge.us -F sprunge=@/etc/fstab

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-11-18 11:59:57

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,381
Website

Re: [SOLVED] Exporting terminal output to URL?


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#5 2012-11-18 12:11:13

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Exporting terminal output to URL?

I have an alias in /etc/bash.bashrc:

alias web='curl -F "sprunge=<-" http://sprunge.us'

Usage:

$ web < /path/to/file

If it's in my user dir, I don't even have to specify its path:

$ web < .xinitrc

Obviously, if I'm not in my user dir, first I just run a simple:

$ cd

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-11-18 12:28:54

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [SOLVED] Exporting terminal output to URL?

I tought he wanted to run command from another PC.
For online pastes I'm using wgetpaste from repos.

Offline

#7 2012-11-19 11:56:53

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 262
Website

Re: [SOLVED] Exporting terminal output to URL?

Thank you all. I got what i needed.


Arch Linux user dealing with ARM9 / ARM Cortex-M developement in Kdevelop IDE, 3D modeling in Bricscad, PCB production in EAGLE CAD, 3D animation in Blender, milling through LinuxCNC and songwriting in Bitwig & GuitarPRO.

Offline

Board footer

Powered by FluxBB