• Breaking News

    [Android][timeline][#f39c12]

    Monday, June 29, 2020

    Linux You should know how to make custom commands! Its very simple and insanely useful!!

    Linux You should know how to make custom commands! Its very simple and insanely useful!!


    You should know how to make custom commands! Its very simple and insanely useful!!

    Posted: 29 Jun 2020 01:44 AM PDT

    Go to your home directory and type:

    nano .bashrc 

    You can use any text editor

    Try not to mess around too much here, but in short what ever is in this file will be run every time you launch the terminal, make your way to the bottom and make your custom command by typing:

    alias test='command' 

    or use this for multiple commands

    alias test='command1;command2;command3' 

    now save by pressing ctrl+0, don't change the name and ctrl+x to exit.

    now whenever you type test, command will be executed! (reopen the terminal)

    The bashrc file can also be used for more customization, you can use figlet or lolcat or something to have fun!

    figlet WELCOME HACKER_097 

    gives whenever i open the terminal

    __ _______ _ ____ ___ __ __ _____ \ \ / / ____| | / ___/ _ \| \/ | ____| \ \ /\ / /| _| | | | | | | | | |\/| | _| \ V V / | |___| |__| |__| |_| | | | | |___ \_/\_/ |_____|_____\____\___/|_| |_|_____| _ _ _ ____ _ _______ ____ ___ ___ _____ | | | | / \ / ___| |/ / ____| _ \ / _ \ / _ \___ | | |_| | / _ \| | | ' /| _| | |_) | | | | | (_) | / / | _ |/ ___ \ |___| . \| |___| _ < | |_| |\__, |/ / |_| |_/_/ \_\____|_|\_\_____|_| \_\___\___/ /_//_/ |_____| 

    pretty cool huh?

    There are other cool things you can do with this, maybe you can replace some repetitive tasks you do with one command and other cool things

    i hope this helps you, i am new to linux so feel free to correct me if i m wrong !

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

    Headless server without gpu?

    Posted: 29 Jun 2020 11:43 AM PDT

    Hello, this is probably a stupid question...

    i am trying to run a headless server, and doing that without installing a graphics card. Also no iGpu.

    The way imagined it to work:

    I plugin the gpu, install linux, enable ssh, unplug gpu.

    Is that even possible?

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

    Disadvantages of dual booting?

    Posted: 29 Jun 2020 07:59 AM PDT

    I probably should've asked this sooner, but yesterday I installed Ubuntu by following ksk royal's tutorial . When I visited some subreddits I saw people not liking dual boot and leaving it. Are there any big disadvantages of dual booting with this method, or dual booting in general? If there is, can I revert it?

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

    FYI: Speedtest.net now has an official terminal app

    Posted: 28 Jun 2020 06:48 PM PDT

    I've used the unofficial terminal speedtest but ditched it because it seemed really inaccurate and a bit clunky. I notice today that speedtest.net now has an official terminal app and it gives consistent results that match the website results.

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

    CS:GO Crashes Loading Any Map on "Retrieving Game Data..."

    Posted: 29 Jun 2020 01:48 PM PDT

    Screen stopped working on Ubuntu laptop

    Posted: 29 Jun 2020 09:00 AM PDT

    So, as the title says my screen recently quit working on my Ubuntu laptop. I have a feeling it has to do with the Intel graphics card. I did get it working with an external monitor and when I checked it was running on the Nevida card. I tried switching back to the Intel (using prime select) one and now I can't get the external or internal monitors to work. Any suggestions on how to proceed?

    Edit: I got it working on a VGA external monitor but the HDMI and internal screen are still not working.

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

    How do I set specific Java version in minecraft launcher?

    Posted: 29 Jun 2020 12:28 PM PDT

    I know where to go to set a java version, but I don't know what directory I should put into the text box for the java executable.

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

    Netflix was working on Chromium the other day...now it just sends me to the help page for HTML5 Player and Silverlight?

    Posted: 28 Jun 2020 03:31 PM PDT

    From a little google-fu I've found out that this is to do with Chromium being unable to play DRM content (In all honesty I don't really understand what that means) but this leaves me confused as to why it was working orignally but not now?

    I use Chromium because I'm not a fan of Firefox and like the UI/UX of chrome - however wanted a lightweight, less bloated and less google-fied version because my hardware is quite old and Chrome basically gives it a stroke. I don't really want to have to install a second browser JUST to watch Netflix - is there another way around this?

    If it helps I'm running Kubuntu 20.04 (freshly installed only a week ago with hardly anything changed/installed) Is there a simple workaround? Or would you recommend another browser? (Needs to be compatible with the Netflix party extension and preferably syncs up settings and bookmarks with my google account)

    Thanks! :)

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

    Downloading etcher

    Posted: 29 Jun 2020 11:37 AM PDT

    I'm currently on PureOS right now and trying to install etcher to write another OS to my flash drive as I'm trying some different OSs out. I found a decent guide but once I got to running the app I got a mount error. Does anyone have any ideas on how to correct this?

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

    What's the best AntiVirus to use on Linux in 2020?

    Posted: 29 Jun 2020 11:01 AM PDT

    I use shared folders with Windows computers over VMs and want to avoid getting those infected.

    I also work with a lot of files which are sent to other computers from colleagues running Windows and want to avoid getting them infected.

    Therefore I need to have some sort of AntiVirus solution in order to keep everyone safe.

    I have already tried ClamAV and didn't really like it, so please do not recommend it.

    I used to have Sophos for Linux, but am not sure they still provide the service.

    What other solutions are available today?

    Thank you!

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

    Display Manager or not?

    Posted: 29 Jun 2020 07:00 AM PDT

    Alright, so I just recently set up a new arch system. However, I went the minimalist route and configured my tiling window manager and X to start up directly after login. There's only one user on the system (other than root).

    So, my question is how many of you out there use a display manager and why?

    I know this probably is not the best place to post this but I think a lot of newbies will get valuable information from your comments.

    View Poll

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

    [Ubuntu20.04] How do I modify the gnome shell favourites to launch the firefox profile manager instead of just firefox?

    Posted: 29 Jun 2020 10:35 AM PDT

    I Know I can run the profile manager using "firefox -P" and previously, I simply modified an existing ".desktop" entry and used that. I cant figure out how to modify the ".desktop" files that are a part of the gnome shell favourites?

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

    Constant loopback on microphone

    Posted: 29 Jun 2020 10:00 AM PDT

    I have literally tried and googled everything and I cannot figure out why I have mic loopback constantly. It starts as soon as my bootloader loads and doesn't stop no matter what I do. Pactl list short modules doesn't show that any loopback modules are running. This is literally drving me mentally insane.

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

    What's the best way to set aliases for both root and the current user?

    Posted: 29 Jun 2020 01:44 AM PDT

    So I want to set a alias (alias rm='rm -i') For making the rm command safe against general malware (I've seen people take advantage of being root and do "rm -rf /" This will stop that. But how do I set it for my root user? Since I can set it for my current user but if i do sudo in front of a alias it doesn't work. Solved, u/Helpful-Garbage

    submitted by /u/-_-qarmah-_-
    [link] [comments]

    How do I make steam blend in more with my desktop?

    Posted: 29 Jun 2020 09:15 AM PDT

    Im using PopKDEDark as my theme, which is just a port of PopOS's theme to KDE, but I can't seem to find any steam related theme that makes it blend in more with my computer. What should I do to fix this?

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

    What are these memdisk and floppy.img files and how to create or get them to work like this?

    Posted: 29 Jun 2020 05:25 AM PDT

    Reposting, original post : https://www.reddit.com/r/kernel/comments/hhwkoi/what_are_these_memdisk_and_floppyimg_files_and/?utm_source=share&utm_medium=web2x

    I am following a course which involves creating a simple kernel which I can run on a VM(virtualbox) and debugging using gdb(running on another VM - ubuntu) over serial port. The video tutorial shows use of these two files:

    1. memdisk
    2. floppy.img

    after this sudo mount temp/ /dev/sdb1/command :

    the two files are copied to the temp/directory .

    There is also this command used :

    sudo grub-install --root-directory temp/ /dev/sdb1/ 

    The final result was: after placing this HardDisk(vhd) in a virtual machine, it should boot up to a screen like this :

    https://i.stack.imgur.com/0gNxY.png

    some gdb commands that the instructor runs on the Ubuntu VM (after the above screen has come up):

    set debug remote 1 set remotebaud 38400 target remote /dev/ttyS0 c load lab.out 

    further details:

    The contents of menu.lst inside temp/boot/grub/ :

    title GDB root (hd0, 0) ####### The hdx part depends on the number of harddisks ####### you have. If you have one harddisk then the ####### memory stick would be hd1 and the entry will ####### be root (hd1, 0) ####### The second zero is actually dependent ####### on /dev/sda1. If it is sdaN the number will be ####### N-1 kernel /memdisk initrd /floppy.img 

    contents of grub.cfg in temp/boot/grub/ :

    set default=0 #assumes (hd0) to be default partition set timeout=10 #the system will autoboot in 10 seconds menuentry "GDB boot"{ linux16 /memdisk initrd16 /floppy.img boot } 

    My questions:

    1. What are those floppy.imgand memdisk files and how can I aquire or create them ?
    2. What is this kernel which sticks on booting...called ?

    I tried creating a blank floppy.imgusing

    mkfs.msdos -C myfloppy.img 1440 

    and also aquired memdisk from syslinux

    but it didn't didn't work

    The reason I am asking this here is that the instructor did not provide links to download those files. Please bear with me and suggest a way using which I can accomplish the above.

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

    help

    Posted: 29 Jun 2020 09:00 AM PDT

    which linix distro is best for anonymity?????????

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

    Linux for school?

    Posted: 29 Jun 2020 08:57 AM PDT

    Hi All,

    I am very interested in migrating over to Linux, and I already use it on one of my extra laptops. I want to commit on my main gaming PC, but I also use it for school quite often. Has anyone currently in a university have experience with Linux and know if that will prevent me from using various applications I'm required to use for school? Would dual-booting be a viable option as well?

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

    Is there a way to chmod a folder so that any script file i add to that folder gets execute permission?

    Posted: 29 Jun 2020 04:58 AM PDT

    now that i read the title it kinda sounds unsafe...

    but is there a way ?

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

    Linux not booting but HDD is recognised after Windows repair on different HDD

    Posted: 29 Jun 2020 08:03 AM PDT

    My setup is the following: I have two HDD in my computer. One contains the windows and the other one a Debian 10 Buster stable. The Debian-HDD is split and has a shared partition, which can be used by both the windows and the linux.

    The Problem: After an update, Windows didn't boot so I had to do a repair using the tools provided by Windows. Now my windows is running again but my linux isn't recognised as boot device. I can access the shared partition on the Debain-HDD via Windows but I can't boot into linux. Even if I disconnect the Windows-HDD, the Debian-HDD isn't recognised as a boot device.

    (Sorry for the bad english.)

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

    Mint 20 Samba Problems

    Posted: 29 Jun 2020 07:54 AM PDT

    TL;DR: Can't browse network In Nemo (empty, with "smb:///" in the address bar); typing smb://computer_IP or smb://computer_name works fine (displays all the shares & lets me browse contents).

    Long: Been using Mint 19.3 for about a month, everything worked pretty much out of the box: right-clicked "Sharing options" to share a folder, was prompted with "Samba needs to be installed to enable sharing," clicked "OK," rebooted & everything "just worked." Still does.

    Installed Mint 20 on the same drive, but sharing's no longer a one-click deal -- similar prompt about installing Samba, adding yourself to sambashare group & configuring firewall, but no more "would you like us to do everything for you?" with a friendly "OK" button. Installed Samba, added myself to sambashare, firewall is off, identical testparm output for both 19.3 and 20; 19.3 works, 20 doesn't. Any clues? Am new, so nothing's too obvious to mention. Thanks.

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

    SSH commands to use in terminal

    Posted: 29 Jun 2020 07:49 AM PDT

    Hi I don't know if this is the right place to ask this...but I've never used Linux and I'm trying to help a friend on his website he sent me these commands to access all the data :

    ssh -N -L 9090:127.0.0.1:90 -i ~/.ssh/pezinhonofuturo.pem ubuntu@18.230.159.228

    endereço: http://127.0.0.1:9090/ user: admin password: ****** ssh -N -L 9090:127.0.0.1:90 -i ~/.ssh/pezinhonofuturo.pem ubuntu@18.230.159.228

    I write these down on the terminal but nothing happens, what is the correct way?

    Thank you all

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

    Difference between running application from terminal and from start menu?

    Posted: 29 Jun 2020 07:00 AM PDT

    I'm trying to troubleshoot an issue with QOpenVPN where if I run it from the start menu (and through auto-start upon login) it will hang/freeze whenever I start/stop my VPN connection. This issue is not present if I launch through terminal, which sucks because I would want to view to output.

    Does anyone know if there are any relevant differences between the two methods of launching? Environment/User/permissions etc?

    My environemnt is:Linux Arch (5.7.6-zen1-1-zen) with XFCE.

    Ninja edit: QOpenVPN is a graphical front-end positioned in the system tray which controls a systemd service of a configured OpenVPN connection. It is built with python and Qt.

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

    I want to switch from W10 to Linux

    Posted: 29 Jun 2020 06:58 AM PDT

    I feel more comfy in linux the way it looks and so on.... But i am not willing to make a move yet. I want to now the best distro for gaming and programming at the same time. And if linux has atleast 10% or more fps drop then i wouldnt and to set up linux for gaming looks to complex. Any tips help. Thanks

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

    Help me choose the ideal linux distro for me

    Posted: 29 Jun 2020 06:33 AM PDT

    My hardware specs is i5, 4GB ram, 2gb nvidia and 1TB hhd (system is 6 yrs old)

    I installed the following distros and these are my results

    Ubuntu - very lagging

    Zorian OS - a bit lag but I liked it, had to uninstall it because of the non stability issues like update errors etc.

    Linux mint cinnamon - it's really good super stable and fast but its heating my system even when idle

    Lubuntu- tried to install it after hearing about the reviews but my system blocked it as a unreliable site so I won't download it.

    Please help me choose a good linux distro for my potato pc thanks in advance

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel