All Questions
0
votes
0answers
2 views
How to install kernel-headers
I want to use virtualbox which needs kernel modules that have to be compiled to run with my custom kerne. I therefore installed dkms, but had no headers installed.
I now create a kernel-headers ...
1
vote
0answers
3 views
Use two differents keyboards in FreeBSD, in X env'
So I have bought a laptop and installed FreeBSD on it. I am now trying to finish this all.
The laptop has a danish keyboard, but I have also a usb typematrix keyboard with bépo (french dvorak) layout ...
0
votes
0answers
5 views
Cat won't access file in openSuse Tumbleweed (erroneous 'Invalid argument' error)
I have just installed the latest version of openSuse Tumbleweed and was going through the file system familiarising myself with it when I found a file in /dev/lightnvm called 'control'. I attempted to ...
0
votes
0answers
10 views
I want login to stackexchange with another google account. How can I do it?
I tried to add more google logins, but it allways log me with this account which I wand delete.
0
votes
0answers
2 views
ddd fails to connect to X Window: Is it a bug or a local misconfiguration?
I am currently analyzing a problem where ddd hangs because it cannot connect to X Window. Here is the output of strace:
connect(4, {sa_family=AF_LOCAL, sun_path=@"/tmp/.X11-unix/X0"}, 20) = 0
...
0
votes
0answers
2 views
Writing to frame-buffer while in virtual machine
I have a device driver that writes to a frame-buffer.
What would happen when I run this operating system inside a virtual machine?
Every call from the device driver would create a page-fault in the ...
0
votes
0answers
5 views
Configure Sendmail to use TLS
I want to configure Sendmail to send mails using encrypted connection if possible.
So far I have learned that I should configure the following in /etc/mail/sendmail.mc:
define(`confCACERT_PATH', ...
0
votes
1answer
7 views
Cleaning swap space while running
I have a theoretical question,
What would happen if I clean up all the swap space while running,
Would the operating system crash because of page faults that would happen in the kernel?
0
votes
0answers
4 views
How do I amend these iptables rules so that they bind HTTP traffic to my VPN connection?
I have followed this guide to set up a VPN service to send the data to/from transmission-daemon from my device running Debian.
#!/bin/sh
# Print environment variables for transmission's benefit
...
0
votes
0answers
7 views
How to delete a corrupted directory that has no inode reference?
andy@Poincare:/media/andy$ ls -l
ls: cannot access torrent-files: Permission denied
ls: cannot access torrent-data: Permission denied
d?????????? ? ? ? ? ? torrent-data
d?????????? ...
-1
votes
0answers
7 views
Erorr in instaling vmware tools on kali linux
I have installed kali linux on vmware and I knowed that I must instal tools to enaple copy and share between kali linux and windows and installed vm tools I followed the installation steps and it ...
0
votes
0answers
8 views
useradd failing
Debian 8, I'm trying to allow a user to run Wireshark.
user1@system:~$ sudo useradd -G wireshark user11
useradd: user 'user11' already exists
However:
user11@system:~$ groups
user11 cdrom floppy ...
0
votes
0answers
3 views
Is there a way to predict an ALSA Sink ID assignment?
When something like a browser opens a new tab, or any program requests an new sink from ALSA an ID is assigned (0..n). If this happens in rapid succession (i.e. programmatically executing ...
0
votes
1answer
9 views
What was xhbin?
I've googled, searched Unix & Linux Stack Exchange, and... well, there's not really much else I can do, is there?
I was browsing some quines in various shell languages, and I came upon the ...
-1
votes
0answers
15 views
Running a .sh within a .sh script
I've been banging my head against the wall for two days trying to get this script functioning. I'm rather new to linux so I'm hoping it might be something simple.
I'm using a Windows 10 machine and ...
0
votes
0answers
3 views
How to auto-unlock SSH keyring upon login
Situation:
I am on Linux Mint 17.3 and have on the station auto-login enabled. I have an SSH key in gnome-keyring.
Objective:
I would like the SSH keyring not to ask me for password. I am aware it ...
0
votes
0answers
4 views
Problem with portable version of GCC
I have some problems with GCC. I want a portable version of GCC because the PC I use for programming cannot be connected to Internet due to some driver issues. So, I read an article on how to compile ...
1
vote
1answer
9 views
The most secure Alpine SSHD Configuration
I'm experimenting with Docker's alpine image and OpenSSH. The sshd_config file that ships with alpine has everything commented out by default. I only uncomment Port 22. I assume this is the most ...
0
votes
1answer
20 views
How can I convert all the html files I get into text files after a wget command?
How can I convert all the html files I get into plain text files after a wget command?
I'm thinking of using lynx to convert html files into ".txt" files, getting rid of tags.
I have this snippet ...
0
votes
0answers
4 views
Bootloader Grub2 - delete partition where ubuntu resides
I have a dualboot with the following two Os's:
Windows10
Kubuntu
And the bootloader
Grub2
What happends with the bootloader if I delete/formats the partition where Kubuntu is installed? Does it ...
0
votes
1answer
8 views
Finding digest of kernel mailing list
I am looking for the digest of the LKML. The Dell site doesn't seem to have it, even though several places link to it. Additionally, googling just comes up with old links. Does the "digest mode" ...
0
votes
0answers
3 views
How can I run a script on resolution change?
I want to run a script when my current resolution changes, right now I have a sleep loop polling xrandr, but I would like to have my script run on some kind of resolution-change event instead. Is it ...
0
votes
1answer
17 views
limit user to only a single command: “su -”
I have setup a web server that hosts a Play! Framework application, the server is an Amazon Linux EC2.
If you are not familiar with Amazon Linux, by default there is a root user and an ec2-user with ...
0
votes
0answers
5 views
How to see the remained time for forced termination of execution for pbs job?
Suppose I have some interacting pbs job. How to see the remained time for forced termination of execution for this job?
0
votes
1answer
3 views
How to set minimum/specific rootfs size in buildroot
I am using buildroot 2016.02 and building for the Raspberry Pi 2. After I boot the system I have very little free space on /.
How can I specify that I want the rootfs size to be a specific size like ...
0
votes
1answer
3 views
How to install Electrum 2.6.3 bitcoin wallet on Ubuntu / Mint and derivates
Today's question of mine was How do I install Electrum 2.6.3 bitcoin wallet on my Linux Mint, Ubuntu and it should work on other derivates.
0
votes
0answers
2 views
Debian boot with encrypted disks: RAID is not assembled
Situation
I am running Debian 8 on my machine. The disk setup is as follows:
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 55.9G 0 ...
0
votes
0answers
4 views
fsck.vfat failed to fix USB
Background
Last year, while copying large video files of over 600MB using Ctrl-C and Ctrl-V in Window's File Explorer from a desktop to my USB stick, I forgot that my USB stick has only 4GB storage. ...
0
votes
0answers
4 views
Installing nginx from source error
OS is centos 7.2,installing nginx from source error:
sslv2conftest.c: In function 'main':
sslv2conftest.c:217:15: warning: 'currtest' may be used uninitialized in this function ...
0
votes
1answer
6 views
Generic debugging / logging / tracing filesystem directory & file access?
This is my particular problem: I'm trying to set up git on a server, for which I'm doing a test on a locally installed apache on Ubuntu 14.04; for instance, I can do git clone fine over HTTP, but git ...
0
votes
1answer
4 views
postfix&dovecot — adding some spam filter
I have setup my SMTP server (on a Linux/Ubuntu 15.04 VPS rented at OVH) according to http://www.binarytides.com/install-postfix-dovecot-debian/
(so there is no traditional user on the box; hence it ...
0
votes
0answers
13 views
Is there a way to interleave two filesystems of the same structure?
I have a large networked file system whose backup routine sees some file systems as higher priority than others and are given more redundancy with backups. At present those file systems are visible as ...
-3
votes
0answers
10 views
another regexp c library [on hold]
https://github.com/nasciiboy/RecursiveRegexpRaptor
is this the regexp library more compact, clear and efficient
0
votes
0answers
5 views
listening to a port from within wine?
I'd like to communicate through OSC to some software running in Wine, but when I start the OSC server from within wine, I don't see any ports listening (on the linux host).
Is it possible to have wine ...
0
votes
0answers
5 views
login during systemd filesystem checking
With systemd, how may I login while filesystem checking is still in progress?
With upstart all i needed was to redefine one or more of /etc/init/ttyN.conf and/or /etc/init/ssh.conf with "start at ...
0
votes
1answer
26 views
practice linux for practical use [on hold]
I have learned and studied linux for 6 months with books like 'The linux commandline'. But, I'm just student, not a business man. When I study linux and do not use it for long time, I always forget ...
0
votes
0answers
7 views
where is nginx.lock file?
I am using centos 7.2,and I installed nginx 1.9.14 form source,
wget -c http://nginx.org/download/nginx-1.9.14.tar.gz
tar zxf nginx-1.9.14.tar.gz
wget -O nginx-ct.zip -c ...
-1
votes
1answer
6 views
Transfer files from linux (of linuxdeploy in android) to android (in which linuxdeploy is installed)
I am using Linux on my Android phone via use of Linux deploy.
I have some files in /root/android/ - folder of that linux partition.
And I want one of those files to move to my /storage/sdcard1/ - ...
0
votes
0answers
19 views
How do you create 10 users but with no password using shell script? [on hold]
How do you create 10 users but with no password using shell script?
Also, how do you then assign the users into separate 4 groups?
Thank you.
0
votes
0answers
5 views
save state and detach from an xming session and attach to the same session later
Welcome to the Xming X Server
Vendor: Colin Harrison
Release: 6.9.0.31
FreeType2: 2.3.4
and
Linux 3.8.13-118.4.2.el6uek.x86_64 #2 SMP Tue Mar 22 20:47:10 PDT 2016 x86_64 x86_64 x86_64 ...
0
votes
0answers
8 views
who has loaded an identity mapped page table?
I want to understand Linux x86_64 's startup steps, after reading some articles and linux-3.14.65/Documentation/x86/boot.txt, and almost know that the first instruction to run in vmlinux is ...
2
votes
1answer
13 views
How can I cryptographically verify a sabayon.iso? Are there any certificates?
I've downloaded and installed sabayon, but all I can find to verify that iso image is an md5sum that can only be downloaded from the same insecure mirrors.
md5 checksums are not cryptographically ...
1
vote
3answers
43 views
Using grep in conditional statement in bash
I'm still very new to scripting in bash, and just trying a few what I thought would be basic things. I want to run DDNS that updates from the my server running Ubuntu 14.04.
Borrowing some code from ...
0
votes
0answers
8 views
Configure GNOME/Wayland display configuration from command line
Is there a possibility to configure the monitor configuration of Mutter/GNOME shell from command line in a Wayland Session or is that not implemented until now?
I have tried to change some things via ...
0
votes
1answer
15 views
Ternary operator and print
What is wrong with below command
awk 'BEGIN {a = 5;b=6; (a==b)? print "a==b" : print "a!=b"}'
Output :
awk: BEGIN {a = 5;b=6; (a==b)? print "a==b" : print "a!=b"}
awk: ...
0
votes
0answers
11 views
Yum Update error on CentOS 7 - Require: libQt5 (…)
When I try to run the command yum update, I am getting the following error messages:
Error: Package: notepadqq-0.46.1-1.fc20.i386 (FedoraPeople-sea)
Requires: libQt5PrintSupport.so.5
...
0
votes
0answers
12 views
Ubuntu starting error
I found this error while rebooting my Ubuntu OS:
/etc/profile:line 30:Syntax error near unexpected token 'JAVA'
/etc/profile:line 30:'fi JAVA HOME=/usr/lib/jvm/jdk1.7.0'
As a result the session ...
-2
votes
0answers
26 views
How to redirect content of file to stdin, if there is a command in that file?
I have a text file with shell command, how do I redirect content of this file to stdin to execute it as command?
For example content of my file could be a command, like echo "Hello, World!", where I ...
0
votes
1answer
16 views
Invoke rsync with specific defaults for current folder?
I have a local folder which I want to synchronize with a remote folder through SSH, and I'd like to do it through rsync. I would always call rsync with the same arguments, and same source and ...
1
vote
0answers
10 views
No support for locale: en_US.utf8
I am on Linux Mint 17.3. I saw this in the syslog.
Processing triggers for initramfs-tools (0.103ubuntu4.3) ...
Apr 9 12:01:47 vb-nb-mint updates: update-initramfs: Generating ...