These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

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?????????? ...
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
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
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
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 ...
-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
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 ...
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: ...
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 ...
-1
votes
1answer
20 views

Arch Linux on MSI Laptop

I am trying to install Arch Linux on my laptop, since my device has Qualcomm Atheros Device e0a1 ethernet it will not connect to internet as given in network configuration wiki [ line with heading No ...
0
votes
2answers
13 views

Ubuntu - Uninstall preinstalled software

I have an Ubuntu derived Distro and I don't need most of the preinstalled programs. Not everything is listed within the Software Center, for example a Photo-Viewer and a Music Player. Since I'm a ...
0
votes
1answer
17 views

File command output in AIX and LINUX

I am getting different output while using FILE command in AIX vs LINUX. File contents : D|P_APAC_PH_PHINGTF00240_20150731031225|APAC|PH|NN (L) SPEK DYWIDENDOWYCH RYNKÓW ...
-2
votes
2answers
23 views

Using AWK to pull multiple rows [on hold]

For example if i have a file with multiple rows and columns is it possible to pull specific rows and columns? for example 1 4/8/2016 4/7/2016 4/6/2016 2 john_doe jane_doe sarah_test 3 26 45 20 4 ...
-1
votes
3answers
22 views

changing permission after copy the directory? [on hold]

I have two directory in two different path there are some common subdirectories and files between them I want to copy the content of first directory to the second one meanwhile I need the same ...
0
votes
2answers
57 views

Connect to Linux machine without using SSH or Telnet

I am looking for way to connect to Linux machine without using SSH, Telnet or something similar. The Linux machine stay after a router and I don't have access to it. So opening / closing some ports is ...
0
votes
0answers
20 views

How can I make windows stay opaque when inactive?

I set Xfce to make all windows semi-transparent when they don’t have mouse focus. How can I set a particular window to remain opaque when inactive? Xfce doesn’t have an option to change settings for ...
0
votes
0answers
6 views

Network shares mounted seem to time out

I am running Windows Mint as primary OS on a couple of PCs at home, I also have a server running Windows Server 2008 which serves a couple of Samba shares. I have mounted these drives via /etc/fstab ...
0
votes
0answers
21 views

Ubuntu does not find shared object file; sudo ldconfig -v did not help

I'm on a 32 bit Xubuntu 15.04 installation on which I have to work with a legacy application, which I only have in binary form. That binary requires libstdc++-libc6.2-2.so.3, which I managed to find ...
0
votes
1answer
17 views

setenv within script does not override value set at prompt

trying to do setenv OMP_NUM_THREADS 8 if at the prompt in a shell I do setenv OMP_NUM_THREADS 4 that is successful. And my program runs on 4 cores if i launch it. But I have a file called runme ...
0
votes
0answers
17 views

Multicore benchmark

I'm looking for a way to benchmark a multi-core CPU. I found this #!/bin/bash echo "scale=$1; a(1)*4" | bc -l The first argument is number of digits to calculate. Now we can run in parallel (4 ...
1
vote
1answer
11 views

Listening on tap device for packets written through file descriptor

I have a problem fully understanding how to use tap devices. I've created a tap device and brought it up and running. A user space programs opens its file descriptor and receives the ethernet frames ...
0
votes
0answers
14 views

Linux Mint - No Sound

I'm currently using Linux Mint 17.3 Rosa and when I installed it in the first place months ago the sound and everything worked fine. It still does in fact, the problem is that none of the system sound ...
-1
votes
0answers
12 views

Dual Boot Kali Linux with Windows? [on hold]

dual boot(not virtual box) Kali Linux with windows its not safe ? because my friend tell me that install dual boot kali linux its do not safe for my laptop
1
vote
0answers
8 views

Signal strength average from iw

I was using iw dev wlan0 station dump to get signal strength in an ad-hoc network, and noticed the output has a signal avg row. As average signal strength is actually what I'm interested in, this ...
2
votes
2answers
21 views

User Admin - View Permissions when 750 is used for home

apologies if this question is caused by a fundamental misunderstanding. But as main admin of a server: I want to make it so that users cant see each others home folders. (so I chmod 750 the home ...
0
votes
0answers
16 views

CentOS: yum update Cannot find a valid baseurl for repo

I am trying to do yum update but I'm getting the following error. I have exported http_proxy & https_proxy Have added proxy settings in /etc/yum.conf like: proxy=http://10.44.208.10:8080 ...
0
votes
0answers
9 views

how do i convert .dump back up file to its original form?

I have a .dump-backed up files of 10 personnel but I am having issue reading/converting the .dump file to its original format. I had used restore -i -f f.dump command and it was not successful. I'm ...
0
votes
0answers
14 views

minimum time between two consecutive UDP packets

I am interested in developing a C application which sends UDP packets with minimum delay between two consecutive packets. Is it possible to "book" the UDP stack with the NIC hardware from user space ...
1
vote
4answers
33 views

Install Linux Distro on USB Stick

I'd like to install a full linux distro on my usb stick. I already tried Lili USB Creator, but it did not boot correctly(I had the option "Install" and "Try", but after that I had a black screen). It ...
0
votes
1answer
34 views

How to get the number of threads on the waiting queue for a cpu?

Is there a way to programmatically get the number of threads waiting for cpu on Linux.
1
vote
0answers
26 views

How to run a jar together with faketime

I need run a certain jar file with a mock time for testing purposes. When I execute the jar in the usual way $ java -jar myjar.jar it runs perfectly. But when I try to run it together with ...
3
votes
1answer
29 views

How does APT choose which packages to install?

On my Debian Testing box, I have the following in /etc/apt/sources.list: deb http://ftp.us.debian.org/debian/ testing main contrib non-free deb-src http://ftp.us.debian.org/debian/ testing main ...
0
votes
1answer
34 views

Add n days to a date token

My issue as follows: consider I have a token $d=20140607 and I want to add 7 days to it. I tried date -d "$d+7 days" but it is not working. It throws this error date: invalid date ...
2
votes
1answer
21 views

Is there a KeyHold event in Xorg?

I have a new Macbook Pro and I installed Arch Linux on it. One thing I want to be able to do is use the media keys to seek through a track (in mpd) and goto the next or previous track. This is ...
0
votes
0answers
24 views

GNU Make4.1 Segmentation Fault

During a make check after compiling GNU Make-4.1, the following error occurs. make[2]: Entering directory '/mnt/lfs/sources/make-4.1' cd tests && perl ./run_make_tests.pl -srcdir ...
2
votes
0answers
17 views

Linux usb-drive write cache

Is there any way to change the way the Linux kernel handles external storage and the external storage cache? Every time I copy something to it, the copy process seen from userspace seems really fast. ...
2
votes
3answers
37 views

Open tar-file that ends with .b

I have a tar file that ends with .b and I dont know how to open it. Neither in windows, neither Linux I've been successful to open it. data.ext4.tar.b Another tar that ends with .a could easily be ...
0
votes
1answer
20 views

SFTP, SSH Couldn't read packet: Connection reset by peer [duplicate]

My sftp -v to host returns, Connecting to xxx.xx.xx.xx... OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: ...
1
vote
1answer
22 views

How can I merge 2 disk images into one with 2 partitions?

I have 2 (relatively small) disk images for qemu (raw format) containing different filesystems (say fat and ext4). I want to put them into an usb stick as two different partitions so that I can plug ...
0
votes
0answers
12 views

Mounting CIFS drive between two Linuxes and .smbcredentials: using one user works, another gets “Permission denied”

System A is a Raspberry Pi, named "qfuel-dev". System B is some Debian box locked in a closet named "QQ-GIT". I have created a share on the Raspberry Pi by editing /etc/samba/smb.conf and added the ...
0
votes
0answers
8 views

Is it possible Linux kernel/installer detected maximum keyboard backlight wrong?

I am on Linux Mint 17.3. Hardware laptop ASUS N750JV. Objective: Determine if the maximum allowed keyboard backlight by Linux system is right. /sys/class/leds/asus::kbd_backlight/max_brightness ...
2
votes
2answers
16 views

mount + how to identify if local folder is mounted as read only

In my Linux box – red-hat version – 6.7 /dev/mapper/HOME-export is mounted to /export As the following: df /export Filesystem Size Used Avail Use% Mounted on ...
1
vote
0answers
37 views

Is the reader's linux '/usr/bin/mkdir' file larger than 53504 bytes? Has the reader got a virus?

I installed Fedora 19, and immediately listed the /usr/bin directory and saved the listing to a file. 4 hours later I list it again and all the executables have grown in size by about 1668 bytes. ...
3
votes
1answer
34 views

free command output: gentoo (redhat?) vs debian

I noticed there is a difference between outputs of free command: On debian: $ free -h total used free shared buffers cached Mem: 4.0G 3.4G ...
0
votes
1answer
12 views

linux + configure the checkconfig for new script in /etc/init.d

I want to add new script - doCopy under /etc/init.d /etc/init.d/copy how to add this script for chkconfig so if I will run: chkconfig --list | grep doCopy I will get: doCopy ...
1
vote
1answer
29 views

code to display the text TRUE

I'm a complete newbie and I'm starting to learn the basic for shell scripts. So I apologize if this question is very simple for most users. I'm trying to display the text TRUE to the screen if a file ...
-1
votes
1answer
25 views

Understand sar command output Unix [on hold]

I am trying to analyze my server CPU utilization and processing time .So for that i have taken sar output for the reference.But i am not able to understand it properly i help to understand the output ...
0
votes
0answers
15 views

How the file “.vmlinux.lds.cmd” is produced?

Recently, I want to know how vmlinux.lds is produced, I found a file called .vmlinux.lds.cmd which has: cmd_arch/x86/kernel/vmlinux.lds := gcc -E -Wp,-MD,arch/x86/kernel/.vmlinux.lds.d -nostdinc ...