What is something *new* you have learned about Linux within the past 7 days?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Rep:
What is something *new* you have learned about Linux within the past 7 days?
Based on this thread, here's a sticky for you to highlight something you've learned about Linux in the last 7 days. This is a great way to learn from follow LQ members and share what you've recently learned.
Hat tip to @KGIII for starting the original thread.
Most People don't realize that Linux includes NASM..
Code:
/usr/bin/nasm
Code:
section .data
hello: db 'Hello world!',10 ; linefeed character
helloLen: equ $-hello ; Length of the string
;
section .text
global _start
_start:
mov eax,4 ; Call for write (sys_write)
mov ebx,1 ; File descriptor 1 - standard output
mov ecx,hello ; Put the offset of hello in ecx
mov edx,helloLen ;
;
int 80h ; Call the kernel
mov eax,1 ; Call for exit (sys_exit)
mov ebx,0 ; Return code of 0 (no error)
int 80h
That all hope is not lost converting my Samsung Chromebox series 3 stumpy board write protect pins to being shorted so I can change bios and install Linux.
That microsoft laptop sales went down for the 1st time ever because of chromebooks and covid stay at home requirements.
So I figure I better learn their hardwere hoops I might have to jump through.
Type passwd in a terminal, then current password, then new to change an obnoxious long login and root password.
I had to relearn this one after some fresh installs on a new hard drive. Love the new look of Mint 20.04, ubuntus about the same.
Type in sudo visudo and type in
NOPASSWD:ALL at the bottom where it says root, group and users to get rid of the terminal password request.
I have learned that linux does not easily grab files off Windows 10 hard drives like the good old days. You have to jump through some whoops now and I havent found them yet.
I've learned that the best multiboot linux USB/ windows live/ tools can be made with YUMI on Windows 10, 8 or 7.
You can put 5 iso's on a USB that will actually boot faster than you can download them.
Years ago I spent more than a weekend trying to get a Knoppix 5.1 USB poor mans install to boot. I never did get it with Syslinux but did with grub legacy.
The Admin and User passwords got corrupted on my Girlfriends Windoze laptop, so I booted it with a USB stick installed with Slackware Live 14.2 and renamed the .sam files so she could login and set new passwords... "Do Not, I repeat.. Do Not get caught booting someone's computer like this Without their Permission!
Type in sudo visudo and type in
NOPASSWD:ALL at the bottom where it says root, group and users to get rid of the terminal password request.
That removes a safety feature in that anyone who finds you logged in can carry out commands as root while you are out of the room. Also, if anyone online obtained access to your account, they would effectively be root without needing to know your password. It's your choice but I wouldn't do it.
Quote:
I have learned that linux does not easily grab files off Windows 10 hard drives like the good old days. You have to jump through some hoops now and I havent found them yet.
The kernel can read ntfs filesystems but can't write to them as it could to fat filesystems. You need to install ntfs-ng.
That removes a safety feature in that anyone who finds you logged in can carry out commands as root while you are out of the room.
I used to work at a place where anyone who left their machine logged in and unattended found an embarrassing chat/email message being sent on their behalf.
It was a pretty effective measure to get people to always lock their machines.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.