Home >

linux

Advertisement
  • How to use user-systemctl as root?May 27

    I want to start a user service from my root shell without logging into the users shell. I have tried the following command, but it fails: #> su - username -c "systemctl --user" Failed to connect to bus: No such file or directory How do I achi

  • Unexpected result of concatenating two strings in bashMay 25

    I am trying to concatenate two strings in bash script but I am not able to get the expected result, USERNAME="ubuntu" MASTER="some IP" KEYFILE="/Path/to/keyfile.pem" STR1=`sudo ssh -q -t -o StrictHostKeyChecking=no -i $KEYFIL

  • Why does my tar not work? [on hold]May 25

    I want to install a teamspeak on my root server, but after downloading the tar file, I cannot extract it. I use the command tar -xzvf teamspeak3-server_linux_amd64-3.0.12.2.tar.bz2 I also know that you don't need the hyphen/dash before the xzvf but I

  • Can my Linux-mint become vulnerable after updating? May 15

    According to Linux Mint's blog post: The website of linux-mint is hacked and some ISOs are replaced with backdoored operating system. I am installing my operating system from a few weeks ago. How can I check if my operation system is vulnerable or no

  • Why isn't find excluding files with the given regex?May 4

    I'm trying to find all files under /mnt/Storage not under /mnt/Storage/.Snapshots. The following works: find /mnt/Storage | egrep -v "^/mnt/Storage/\.Snapshots" But the following does not: find /mnt/Storage -regextype posix-egrep -not -regex &qu

  • Flashing Linux on Ncommputing L300 board

    Flashing Linux on Ncommputing L300 boardMay 4

    I have a bunch of L300 Thin client nodes which are of now use to me any more. I plan to give away the units after flashing linux into them, because as a standalone device wont achieve achieve anything. So if we can reflash it with linux, they could b

  • Create Virtual machine dynamicallyMay 2

    I have no workaround how to achieve it, but here what i want to achieve. I have a big server having 32GB RAM, and having 16 cores I wanted to divide this machine in chunks with dynamic memory. is it possible to create virtual machine dynamically? how

  • printing a children's full tree recursively in bash scriptApril 30

    sry for not being familiar with question conventions since im new here. i want to write a script that prints the full children's tree recursively of a given pid. i got so far as: ps h -ef | awk '$3='$input_pid' {print $2}' | sort -n but this is just

  • Creating my own repository on debian based linuxApril 19

    I want to create my repository on my debian based machine! so: $ touch /etc/apt/myown.list urls: http://www.domain.ext/path/to/repository smb: smb://path/to/repository ftp: ftp://ftp.domain.ext/path/to/repository Right? So how can I put nfs and cd-ro

  • ziping all files in a folder without all directoriesApril 19

    I used this command to zip all files in a folder : zip -r fixedrom.zip /sdcard/dbtools/zipfix/fix/ ; It works fine but the zip should be like this : Meta-inf Recovery System Boot.IMG Etc... But after unziping its like this Sdcard>dbtools>zipfix>f

  • How can i install Avro for linux 17.3 (rosa)?April 18

    I can not install avro in my linux pc 17.3 (rosa).If anyone know the process please share it. Thank you.

  • Why does EOF behave differently in fgets and readMarch 31

    #include <stdio.h> #define MAXLINE 4096 int main(int argc, char **argv) { char *s; char buf[MAXLINE]; s = fgets(buf, MAXLINE, stdin); // here, if replaced with read(0, buf, MAXLINE); return 0; } Input is:12ctrl+d fgets doesn't return until input ctr

  • Safety of local network over VPNMarch 27

    I have a Linux machine in a local network that uses an OpenVPN connection to reach the outside world. However, I know nothing about the VPN server itself and therefore I assume that whoever operates it can have malicious intentions. The Linux machine

  • How do I map the keys on a USB audio device to volume controls?March 27

    I don't have PulseAudio. I've been learning/tinkering with Alsa to setup USB device and effectively replace Pulseaudio with the configs. When the USB device is connected and I want to play through it, a run a little script that writes the following l

  • When is `irqbalance` needed in a Linux VM under VMware?March 20

    I have a Linux farm in VMware Enterprise 5.5. They are (mostly) 64-bit amd64 Debian Jessie servers with SysVinit and not systemd. I paravirtualized their Ethernet cards and disk controllers. The VMs have open-vm-tools installed. Paravirtual drivers a

  • Set Locales on UbuntuMarch 4

    Greetings: I want to set locales in Ubuntu. It currently has en_US.UTF-8 and want to change it to es_ES.ISO-8859-1. I added the locale by entering the command sudo locale-gen "es_ES.ISO-8859-1" When i execute the following command, it says, amon

  • Linix Mint Live CD: DNS not working, but will ping out fine

    Linix Mint Live CD: DNS not working, but will ping out fineMarch 3

    I am running a Mint (Cinnamon) 64-bit Live CD with VirtualBox on my Windows 8.1 Host computer. The guest can ping 63.84.3.27 (Google) just fine, but cannot access the web. I tried changing the DNS from 'automatic' to 8.8.8.8, 8.8.6.6 and to the defau

  • USB3 HDD on Ubuntu doesn't work until re-attachingMarch 2

    I have a 5 TB USB3 HDD, and since getting a new host for the drive I have encountered issues - at first I suspected the drive was failing and tried to run through some checks. After re-attaching the drive however it mounts and responds normally for s

  • Installing skype on Debian removes KDE and a bunch of other packagesMarch 1

    On Debian 8 with KDE plasma Looking here it recommends running these commands: sudo dpkg --add-architecture i386 sudo aptitude update sudo aptitude install libc6:i386 libqt4-dbus:i386 libqt4-network:i386 libqt4-xml:i386 libqtcore4:i386 libqtgui4:i386

  • Firefox doesn't ask me for a certificate when visiting a site that needs oneMarch 1

    I use Firefox 44.0.2 on a Linux Xubuntu system. I'm trying to access a company website that requires a certificate. I can confirm I have the correct certificate in Preferences->Advanced->Certificates->View Certifacates->Your Certificates It's

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.474 s.