[SOLVED] Recommendations for a new desktop computer for Linux Mint Mate version 20
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sudo smartctl -x /dev/sda | pastebinit - What is that thingie between sda and pastebinit? How do I enter it?
In this context, the character is called a "pipe", and is an instruction to transfer data from one command to another command.
Here it takes the output from the smartctl command and passes it as input to pastebinit (which is a command that uploads text to a website).
Since your location says Missouri you're presumably in the US and using a US keyboard layout, in which case the key should be between between backspace and enter, and will require pressing shift.
(On UK keyboard layouts, the backslash/pipe key can be to the left of Z, and on other layouts it can be elsewhere.)
An alternative option is to use ">" to instead write the output to a file (which you can then attach using "Manage Attachments" button), e.g:
(In general, the benefits of this method (writing a file) is that it doesn't require an active Internet connection on the machine running the command, and also you can check the contents for sensitive information before uploading it.)
The result of entering the command was to discover "pastebinit" not installed. I installed it.
Code:
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo smartctl -x /dev/sda | pastebinit
[1]+ Stopped sudo smartctl -x /dev/sda | pastebinit
tomgirl@tomgirl-OptiPlex-790 ~ $ The program 'pastebinit' is currently not installed. You can install it by typing:
sudo apt install pastebinit
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo apt install pastebinit
[sudo] password for tomgirl:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
pastebinit
0 upgraded, 1 newly installed, 0 to remove and 38 not upgraded.
Need to get 14.6 kB of archives.
After this operation, 160 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main i386 pastebinit all 1.5-1 [14.6 kB]
Fetched 14.6 kB in 0s (26.4 kB/s)
Selecting previously unselected package pastebinit.
(Reading database ... 237905 files and directories currently installed.)
Preparing to unpack .../pastebinit_1.5-1_all.deb ...
Unpacking pastebinit (1.5-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up pastebinit (1.5-1) ...
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo smartctl -x /dev/sda | pastebinit
Unable to read or parse the result page, it could be a server timeout or a change server side, try with another pastebin.
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo smartctl -x /dev/sda | pastebinit
Unable to read or parse the result page, it could be a server timeout or a change server side, try with another pastebin.
tomgirl@tomgirl-OptiPlex-790 ~ $
Now what???
Tommi
Last edited by OrphanHome; 01-26-2022 at 02:40 PM.
I would suggest simply capturing the output to a file instead of trying to send to pastebin (my personal preference is to not use that anyway, others will have other choices).
To capture the output to a file follow boughtonp's advice above, something like this...
Here the '>' character will redirect the output of smartctl into a file located in your home directory. You may then upload that file here inline (doing so also assures it will not disappear over time so future visitors can follow the discussion in one place).
If you want to see the output scroll by as it is sent to the file pipe it into the tee filter...
Code:
sudo /usr/sbin/smartctl -x /dev/sda | tee -a /home/tomgirl/smartctl_sda.txt
The pipe will send it to tee which will "tee it off" into two streams, one to your terminal and the other to the file (the -a will append any existing file rather than overwrite it).
I will defer to others with more knowledge to interpret what they see here.
One additional suggestion is to edit that last post and put the data inside [CODE]...[/CODE] tags. Doing so will preserve indentation and provide other visual clues which make it easier for others to comprehend. You may write those yourself as shown, or use the # button available with Advanced edit options. (A complete list of BBCode tags is always available via a link near the bottom of every thread view).
Here is an example: Typing this [CODE]Here is some formatted text[/CODE], square brackets and all, will preserve internal whitespace and appear like this...
Code:
Here is some formatted text
The first one is called an opening tag and begins the block of text, the second is a closing tag and ends the block. Dont miss the '/' which differentiates between openers and closers!
One additional suggestion is to edit that last post and put the data inside [CODE]…[/CODE] tags
Comment #57 provided two different links to explanations how to do so. Until that's done, I won't be looking at it. Without the original formatting, it's too hard to read the parts that matter.
Please don't pollute threads with off topic matters (irrelevance). This means installation processes. Report that you installed something if you think it matters, but leave out the details, unless the problem has to do with attempting to install something that fails.
tomgirl@tomgirl-OptiPlex-790 ~ $ sudo smartctl -x /dev/sda | pastebinit
[sudo] password for tomgirl:
Unable to read or parse the result page, it could be a server timeout or a change server-side, try with another Pastebin.
tomgirl@tomgirl-OptiPlex-790[/CODE]
Last edited by OrphanHome; 01-26-2022 at 02:24 PM.
Reason: distinguish code
I have never done anything like this in my life, so mistakes are being made. I apologize for any and all. Perhaps I should leave this stuff be so I don't mess up my computer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.