Jump to content

good evening dear community, 🙂

 


how do I save the output of a command to a file?

 

Is there a way without using any software? I would like to know how this would be doable?

 

well how to redirect the output (AKA stdout) to a txt-file?  If we re able to do that - this would be awesome.

 

Background: well i think it would be very very benifical if we would be able to do so...

 

any idea and thought would be greatly appreciated

 

greetings

 

interested in all things Linux - and Arduino / RaspBerryPi :: besides that in WordPress - and its development: - with the options to extend with more than 50 Tsd Pliugins: Thats so awesome 😉

Link to post
Share on other sites

30 minutes ago, d-hubs said:

good evening dear community, 🙂

 


how do I save the output of a command to a file?

 

Is there a way without using any software? I would like to know how this would be doable?

 

well how to redirect the output (AKA stdout) to a txt-file?  If we re able to do that - this would be awesome.

 

Background: well i think it would be very very benifical if we would be able to do so...

 

any idea and thought would be greatly appreciated

 

greetings

 

Are you asking for...?

[command] > file.txt

If you're using GNU/Linux anyways

Link to post
Share on other sites

I would think simple questions like this could easily be solved with AIs like ChatGPT. Just tested both things ChatGPt said and they work

image.thumb.png.c06414e8076d5e549aed099e28b87c57.png

First Computer: 3440x1440 @75Hz ROG STRIX 1080 Ti Core i5 8600K @ 1.415V @ 5.08 GHz Corsair Spec 02 EVGA CLC 280mm

Link to post
Share on other sites

14 hours ago, okkee said:

Are you asking for...?

[command] > file.txt

If you're using GNU/Linux anyways

Works the same way in Windows as well. 
 

Or if you want to copy the output to clipboard, you can use clip. Only in windows. 

<command> | clip

| Intel i7-3770@4.2Ghz | Asus Z77-V | Zotac 980 Ti Amp! Omega | DDR3 1800mhz 4GB x4 | 300GB Intel DC S3500 SSD | 512GB Plextor M5 Pro | 2x 1TB WD Blue HDD |
 | Enermax NAXN82+ 650W 80Plus Bronze | Fiio E07K | Grado SR80i | Cooler Master XB HAF EVO | Logitech G27 | Logitech G600 | CM Storm Quickfire TK | DualShock 4 |

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×