• Breaking News

    [Android][timeline][#f39c12]

    Monday, December 30, 2019

    Linux Some Random One-liner Linux Commands

    Linux Some Random One-liner Linux Commands


    Some Random One-liner Linux Commands

    Posted: 30 Dec 2019 03:15 AM PST

    What to do when Linux is frozen?

    Posted: 30 Dec 2019 07:42 AM PST

    Hello,

    Sometimes when I work on my Linux Mint, my computer gets totally frozen. For example I open a video... *clickclick* and vlc is opening, when suddenly, everything is frozen. The panel below is not responding, none of the windows are not responding, nothing, everything is dead.

    So I hit ctrl+alt+F1 to get to the tty1, sign in and type "sudo pkill vlc", and sometimes it helps, but sometimes it doesn't and when it happens, I have no idea what to do next.

    Sudo killall obviously wants to other attributes to execute. I tried sudo killall -u once, but it only killed literally everything so I had to restart computer anyway.

    When I get into htop, I usually try to kill some processes to see if any of them are to blame - firefox and so on, but mostly it does nothing and I am not sure from the htop list which one is the one freezing my OS and how to tell.

    Is there a trick for this one aside of constantly rebooting my system?

    Thanks

    submitted by /u/ihavenoidea6668
    [link] [comments]

    Can't Connect to Wifi

    Posted: 30 Dec 2019 01:56 PM PST

    Im using Linux from a bootable USB and I can not find the option to connect to wifi. In the top right all I see is an ethernet connection. When I try to add a new wifi connection it saves all the info but doesn't connect. Any suggestions?

    submitted by /u/ty758
    [link] [comments]

    Absolutely puzzled as to why my network card is not being properly recognised by the OS.

    Posted: 30 Dec 2019 10:08 AM PST

    I recently installed elementaryOS on a Dell XPS 13 2in1 7390, which uses a Killer WiFi AX1650 networking card. Not once has it recognised the card. Here is the lshw output for network:

    description: Network controller

    product: Intel Corporation

    vendor: Intel Corporation

    physical id: 14.3

    bus info: pci@0000:00:14.3

    version: 30

    width: 64 bits

    clock: 33MHz

    capabilities: pm msi pciexpress msix bus_master cap_list

    configuration: driver=iwlwifi latency=0

    resources: iomemory:600-5ff irq:16 memory:603ebb4000-603ebb7fff

    For the record:

    -I am on kernel 5.4.6, so this is not a kernel compatibility issue.

    -I am on the latest BIOS version, and the network card is enabled from BIOS.

    -I am on elementaryOS 5.1 Hera.

    -The card functioned on Windows, so it isn't a lemon.

    submitted by /u/lykkeligekarl
    [link] [comments]

    How Can I Change My Internet Connection in XFCE?

    Posted: 30 Dec 2019 09:56 AM PST

    My wifi is going to be down for maintenance tomorrow. I'd like to connect to my hotspot. How can I change my internet connection. I'm using Ubuntu 18 xfce interface.

    submitted by /u/mulderscully01
    [link] [comments]

    Any way to update BIOS when manufacturer provides only .exe to run bios updater program?

    Posted: 29 Dec 2019 04:30 PM PST

    Dell Optiplex 790, running Linux Mint Cinnamon 19. After installing on a fresh SDD (I bought the computer without a HDD), I realized the BIOS is out of date. Dell's website provides software to update the BIOS, but it's an .exe file. I tried it with both Playonlinux and Wine, and both crash. Is there any way to update the BIOS without installing Windows?

    Thanks in advance - and a big thank you to all the Devs that make linux such a great experience, even for noobs like me.

    submitted by /u/talentless_hack1
    [link] [comments]

    Help make documentation better and get paid doing it

    Posted: 30 Dec 2019 01:28 PM PST

    Question about how to install without any other os

    Posted: 30 Dec 2019 01:23 PM PST

    I'm building my first pc and I dont want to run windows, I want to run ubuntu but I cant find a tutorial on how to boot with ubuntu. Any help?

    submitted by /u/spaghettilesbian
    [link] [comments]

    Question about reinstalling

    Posted: 30 Dec 2019 01:12 PM PST

    So I have a dual boot for Windows 10 and Ubuntu and Ubuntu started to give me some problems. I can't boot because after selecting the Ubuntu option I get the underscore blinking forever. So I am thinking of reinstalling Linux but trying another distro, probably manjaro, just to see how things are. In order to uninstall Ubuntu, will I just need to delete the partitions? Or should I also remove GRUB/reconfigure the windows boot thing?

    submitted by /u/Sednem23
    [link] [comments]

    Slow (delayed) navigation stops me from using tmux. Is it fixable?

    Posted: 30 Dec 2019 01:11 PM PST

    I was introduced to tmux a couple of years ago, It was a love at first sight. But I never liked using it because of the delay in creation and navigation. For example, I have binded C-a h for navigating to the left split. This navigation only registers if there is a 'decent amount of delay' between pressing C-a and h. But recently I saw a couple of livestreams in which people navigate very fast in tmux. I don't think they were experiencing similar delay. I use this config on OS x Sierra (10.12.6) using iterm2 as my terminal emulator. This issue persists even on linux distros. I want to navigate as smoothly in tmux as I do in vim or emacs. Could this be fixed?

    submitted by /u/ronaksing
    [link] [comments]

    dir 100% full and cannot ls

    Posted: 30 Dec 2019 08:30 AM PST

    I have a directory that is 100% full and I can cd to it but I cannot do anything else. If I try to ls it just hangs. How can I work with this directory and clean up some files?

    submitted by /u/DorfOnInternet
    [link] [comments]

    Which version of Linux?

    Posted: 30 Dec 2019 08:22 AM PST

    Hello to the whole community! I am writing to you because I need advice. I have an old PC that I would like to reuse by installing a Linux version that supports it. In particular, I have an Intel core 2 (1.86GHz) and 1 GB of RAM. Currently a Windows XP SP3 is installed which makes it quite slow. Any idea on how to reuse it without using a light version of Linux?

    Thank you all!

    submitted by /u/magicfrog23
    [link] [comments]

    Issues with buffering on Linux academy

    Posted: 30 Dec 2019 12:01 PM PST

    Hey guys, I'm having problems seeing the tutorial videos on Linux Academy. It will buffer indefinitely while I'm studying on my laptop at any given moment what can I do about that?

    submitted by /u/Wrathful_Buddha
    [link] [comments]

    / in terminal

    Posted: 30 Dec 2019 12:01 PM PST

    Hi,

    what's the difference between the following two lines of code?

    ls -al / > stupidtestfile.txt

    vs

    ls -al > stupidtestfile.txt

    They did the same for me, regardless of the /. I'm a little confused as to what the heck you'd need the / for.

    submitted by /u/mel0x0f
    [link] [comments]

    "error: invalid signature" when selecting "Windows 10" from GRUB menu

    Posted: 30 Dec 2019 11:32 AM PST

    Hello!

    Computer info: This is the hardware of my rig if needed

    Secure boot is disabled. I have the Ubuntu SSD first in the boot order and it loads fine. I do see a Windows Boot Manager option in my boot order list and can manually boot into Windows 10. Win10 is just for gaming so I don't mind needing to manually boot since I don't play that much, but I'd love to figure out what is going wrong with this dual boot setup.

    BIOS is up to date. Pretty much everything is up to date.

    SSD #1 (/dev/sda) has Ubuntu 19.10 and GRUB

    SSD #2 (/dev/sdb) has Windows 10 (and it seems it also has Windows Boot Manager)

    I've been running Ubuntu for a while now and wanted to use a secondary SSD for Windows 10. I followed the directions from this page.

    I added this to my /etc/grub.d/40_custom file:

    menuentry "Windows 10" { search --fs-uuid --no-floppy --set=root FED0-9B6F chainloader /EFI/Microsoft/Boot/bootmgfw.efi } 

    EDIT: I also tried running sudo mount /dev/sdb2 /boot/efi and then sudo os-prober before running sudo update-grub and the output is the same as below.

    Running sudo update-grub returns this:

    ❯ sudo update-grub Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.3.0-24-generic Found initrd image: /boot/initrd.img-5.3.0-24-generic Found linux image: /boot/vmlinuz-5.3.0-23-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin done 

    There is no Adding EFI firmware that I've seen in other people's output when doing this same thing. lsblk gives me this list below:

    ❯ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 44.2M 1 loop /snap/gtk-common-themes/1353 loop1 7:1 0 89.1M 1 loop /snap/core/8268 loop2 7:2 0 4.2M 1 loop /snap/gnome-calculator/544 loop3 7:3 0 54.6M 1 loop /snap/core18/1279 loop4 7:4 0 156.7M 1 loop /snap/gnome-3-28-1804/110 loop5 7:5 0 14.8M 1 loop /snap/gnome-characters/375 loop6 7:6 0 956K 1 loop /snap/gnome-logs/81 loop7 7:7 0 54.6M 1 loop /snap/core18/1288 loop8 7:8 0 14.8M 1 loop /snap/gnome-characters/367 sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 2M 0 part ├─sda2 8:2 0 16.8G 0 part [SWAP] └─sda3 8:3 0 449G 0 part / sdb 8:16 0 232.9G 0 disk ├─sdb1 8:17 0 300M 0 part /mnt/sdb1 ├─sdb2 8:18 0 100M 0 part ├─sdb3 8:19 0 128M 0 part ├─sdb4 8:20 0 231.8G 0 part └─sdb5 8:21 0 556M 0 part sdc 8:32 0 931.5G 0 disk └─sdc1 8:33 0 931.5G 0 part /mnt/sdc1 sr0 11:0 1 1024M 0 rom 

    For some reason sdb2 doesn't automount. Not sure if that only matters for when I'm already logged into Ubuntu but I've seen some posts saying it should show /boot/efi in the MOUNTPOINT column. I tried setting up automount via the Disks application but received an error about needing permissions.

    Here is the output from sudo fdisk -l (I trimmed all the info from the Disk /dev/loopX entries):

    Disk /dev/loop0: 44.18 MiB, 46325760 bytes, 90480 sectors Disk /dev/loop1: 89.9 MiB, 93417472 bytes, 182456 sectors Disk /dev/loop2: 4.2 MiB, 4403200 bytes, 8600 sectors Disk /dev/loop3: 54.64 MiB, 57274368 bytes, 111864 sectors Disk /dev/loop4: 156.7 MiB, 164290560 bytes, 320880 sectors Disk /dev/loop5: 14.76 MiB, 15462400 bytes, 30200 sectors Disk /dev/loop6: 956 KiB, 978944 bytes, 1912 sectors Disk /dev/loop7: 54.64 MiB, 57274368 bytes, 111864 sectors Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors Disk model: Samsung SSD 860 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 2099D687-0D8E-4DB4-B505-F51E12822617 Device Start End Sectors Size Type /dev/sda1 2048 6143 4096 2M BIOS boot /dev/sda2 6144 35162111 35155968 16.8G Linux swap /dev/sda3 35162112 976771071 941608960 449G Linux filesystem Disk /dev/sdb: 232.91 GiB, 250059350016 bytes, 488397168 sectors Disk model: Samsung SSD 850 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 7012E7B7-BD67-47B9-851D-017A6F3850BF Device Start End Sectors Size Type /dev/sdb1 2048 616447 614400 300M Windows recovery environment /dev/sdb2 616448 821247 204800 100M EFI System /dev/sdb3 821248 1083391 262144 128M Microsoft reserved /dev/sdb4 1083392 487255861 486172470 231.8G Microsoft basic data /dev/sdb5 487256064 488394751 1138688 556M Windows recovery environment Disk /dev/sdc: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: WDC WD10EZEX-00B Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x7cc0f6fe Device Boot Start End Sectors Size Id Type /dev/sdc1 2048 1953523711 1953521664 931.5G 83 Linux Disk /dev/loop8: 14.76 MiB, 15458304 bytes, 30192 sectors 

    I appreciate any ideas on what else I should try. I tried finding only recent tutorials on how to set this up and have tried several different approaches. At this point I'd love some guidance. Let me know if there is other info I can provide!

    submitted by /u/NicksIdeaEngine
    [link] [comments]

    Drive help! I managed to do what I see on the boards all the time, write Linux over Windows. I managed to get windows reinstalled but it always boots straight to Linux. I can only access windows through boot manager. I cannot set it to boot the windows drive. I believe I need to format disk 1.

    Posted: 30 Dec 2019 11:18 AM PST

    CD burn quality differences by burner?

    Posted: 30 Dec 2019 11:16 AM PST

    I'm using Ubuntu 18.04LTS and wanted to burn a music CD using .FLAC format. I used Ubuntu's File Manager Nautilus to do it; it worked, and pretty quickly, too. It played from the optical drive on my old mac laptop, so it worked okay.

    In fact, the speed is what concerns me a little. It seemed to be much faster than the last time I used a dedicated disk burning software. Is there any reason to suspect it burned less perfectly than Basero, for instance?

    submitted by /u/Jack15911
    [link] [comments]

    Laptop HP 250 G6: Can't change GRUB 2.02 (also a later version, when I had regular Ubuntu) configuration on Xubuntu 18.04 and Ubuntu 18.04. Did it manually first, then used grub-customizer, no difference.

    Posted: 30 Dec 2019 10:17 AM PST

    It's like the settings don't change, even though the config file changes. I've done "sudo update-grub" countless times, nothing.

    Any ideas?

    submitted by /u/MagicGIF
    [link] [comments]

    Partitions

    Posted: 30 Dec 2019 06:08 AM PST

    Hi guys After 20 atemt to dual bood win and linux (all failed) I literly formated my drive entirely

    So here is the question. What partitions do I need to create?

    I know about fat32 but not the others

    I'm doing this manually because a fresh install says there is a error because of driver (pop os by the way)

    Thanks alot

    submitted by /u/LevkaAMatt
    [link] [comments]

    Issues setting up VNC on Ubuntu 19.10

    Posted: 30 Dec 2019 09:31 AM PST

    Hi all-

    Linux novice with some experience.

    I am using Ubuntu 19.10 on a Raspberry Pi 4 4GB. I would like to setup VNC access to this system.

    Ubuntu 19.10 server is installed to the RPi. From there I followed this guide to setup VNC access to my system.

    That guide instructed me to install the xfce DE then tightvncserver.

    I did both of those successfully via SSH. (My system is headless and therefore I cannot access the gui without VNC)

    The next step in the guide is to run the vncserver command. When I do this I get the following error message.

    ubuntu@ubuntu:~$ vncserver

    New 'ubuntu.fios-router.home:2 (ubuntu)' desktop at :2 on machine ubuntu.fios-router.home

    Starting applications specified in /home/ubuntu/.vnc/xstartup

    Log file is /home/ubuntu/.vnc/ubuntu.fios-router.home:2.log

    Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/ubuntu/.vnc/passwd :2 to connect to the VNC server.

    vncserver: Failed command '/home/ubuntu/.vnc/xstartup': 32512!

    =================== tail -15 /home/ubuntu/.vnc/ubuntu.fios-router.home:2.log ===================

    Xvnc TigerVNC 1.9.0 - built Dec 1 2018 21:51:29

    Copyright (C) 1999-2018 TigerVNC Team and many others (see README.rst)

    See http://www.tigervnc.org for information on TigerVNC.

    Underlying X server release 12003000, The X.Org Foundation

    Mon Dec 30 17:19:06 2019

    vncext: VNC extension running!

    vncext: Listening for VNC connections on local interface(s), port 5902

    vncext: created VNC server for screen 0

    /home/ubuntu/.vnc/xstartup: 2: exec: /etc/vnc/xstartup: not found

    Starting applications specified in /home/ubuntu/.vnc/xstartup has failed.

    Maybe try something simple first, e.g.,

    tigervncserver -xstartup /usr/bin/xterm

    I'm not sure what it means other than starting the vncserver has failed.

    Any advice on how to setup a vncserver on my Ubuntu system here? I've had a few other ubuntu/mint/debain systems but for some reason always struggled in setting up vnc access and never have done it successfully. I don't know why I am having so much trouble setting up VNC, it seems like something relatively simple.

    submitted by /u/DeutscheAutoteknik
    [link] [comments]

    Learn linux commands by playing Bandit wargame from OverTheWire (Passwords not shown)

    Posted: 30 Dec 2019 04:55 AM PST

    I botched KDE, login screen not appearing

    Posted: 30 Dec 2019 12:56 AM PST

    I'm on Debian, I wanted to make my gtx 950 the primary card for my laptop, so i tried using nvidia-xconfig after installing bumblebee, but it did not go well...the login screen stopped appearing

    So far, I tried uninstalling bumblebee, regenrating Xconfig using "dpkg-reconfigure xserver-org" and "X -Configure" as well as sddm using dpkg-reconfigure but nothing worked

    From tty1, i tried to use "startkde" but i get:

    "$DISPLAY is not set or cannot connect to xserver"

    sddm, kde services are running and i think the problem is related to the login screen only not the whole DE...what can i do?

    Edit: I am able to start the DE usting "startx" but, it doesn't run using a graphics card, instead it displays a notification that it's usung software rendering. "glxinfo|grep OpenGL" doesn't return gpu info, just a bunch of errors

    Edit2: I fixed the issue by purging all related nvidia packages, then reinstalling x related packages, and finally reinstalled nvidia related packages again. I found the fix in a ubuntu forum, hope this helps anyone that stumbles upon this thread.

    submitted by /u/JustAnotherToxicDude
    [link] [comments]

    Minecraft Ubuntu xbox controller drifting

    Posted: 30 Dec 2019 07:05 AM PST

    I have an xbox 360 controller with my PC and a minecraft controller mod installed, and the controller itself works fine but the little controller crosshair just drifts upward. SOmetimes toward the middle a bit, but always upwards. SUper annoying. Please help!

    I tried:

    Different resolution

    On and off fullscreen

    Didn't know what else to try

    Ubuntu 18.04.3 LTS

    Thanks

    submitted by /u/CantRecallWutIForgot
    [link] [comments]

    Can You Sell Me On Linux?

    Posted: 30 Dec 2019 10:12 AM PST

    I'm a MacOS, iPadOS, ChromeOS guy. Lately, I've been all iPadOS, using my iPad's for most of my computing needs. I have a couple of Chromebooks so I'll dip into using ChromeOS on occasion.

    I came across Linux Ubuntu xfce when one of my Chromebooks reached end of support about six months ago.

    I intalled Ubuntu xfce 18 on that Chromebook and have been tinkering with it ever since.

    I like that it's a minimalist, very secure open source system (that's what I'm told anyway). It get me online with updated browsers (Opera, Chrome, Firefox). I can save docs to my Dropbox. I can access my Google Drive and Docs. I'm playing with Libre Office and it seems pretty good.

    Is there a die hard, Linux only user that can sell me on using Linux for most of my computing?

    submitted by /u/mulderscully01
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel