Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

3
votes
1answer
107 views

Move logical volume to a new physical disk

I have three logical volumes in a single volume group using a single physical volume (the whole existing disk /dev/sda). I now want to move one of those logical volumes to a new, faster disk, i.e., ...
0
votes
1answer
59 views

PCI card reader stopped working after upgrading to Ubuntu 14.10

Here's my configuration: sudo lspci 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06) 00:02.0 VGA compatible controller: Intel Corporation 4th Gen ...
0
votes
0answers
7 views

pr_debug not giving any output [migrated]

I have a loadable kernel module and its init is as given below static int __init id_init(void) { struct identity *temp; /* some code which is not relevant to the question */ temp = ...
3
votes
0answers
40 views

Set maximum volume in Arch Linux

Recently, I purchased new over-ear headphones that have some really powerful speakers. I usually have to listen at ~4% volume to use them comfortably. Each time I restart my computer, they move back ...
-1
votes
0answers
27 views

CentOs LINUX Server CPU usage 100% [duplicate]

I have linux centos server and few days before it was working fine. But now my server is not responding. I logged into my server by SSH access and after analyzing the server I found a command which is ...
0
votes
0answers
28 views

The df command shows incorrect data [duplicate]

I installed Linux Mint 17 on my Intel SSD320. Disk size is 80GB. I have root(dev/sda1) partition 79GB and 1GB swap. When I run command df -h, I get strange values. Souborový systém Velikost Užito ...
2
votes
1answer
30 views

Backup partition changed UUID without user interaction

I recently had to purchase a new hard drive. Since I was at it I bought two instead of one as they were on offer (both are the same model). Since there was a lot of space left on the second hard disk ...
1
vote
1answer
16 views

Realtek 8160 not detected on LFS

I completed LFS and it boots but I'm not able to get the networking to work. When I do a ifconfig it list the lo that is the loopback network but doesn't detect eth0 and also says doesn't exist. If i ...
1
vote
2answers
79 views

How to get file permission in octal

I have set of linux folders and I need to get the permissions of the folders numerically. For example in the below directory, I need to what is the permission value of the folder... Whether 755, 644 ...
5
votes
3answers
357 views

Writing a character N times using the printf command

I found the following command to repeat a character in Linux: printf 'H%.0s' {1..5000} > H.txt I want, for example, H to repeat 5000 times. What does %.0s mean here?
-1
votes
1answer
58 views

Linux why do i have to run commands instead of running the bash file [duplicate]

In order to run an executable file, I need to run all the commands in the below bash file first, so I just put those commands in the bash file and run the bash file first, but running the bash file ...
1
vote
2answers
30 views

how to find URLs accessed by a process

Is there a way to monitor and get a listing of URLs accessed over HTTP by a process running in my local machine? Failing that, what would be closer to the above information? My use case is that I have ...
0
votes
2answers
49 views

Will “tail -100 | sed -n 1p” only read one line?

I'm searching backwards from the end of a file, it's probably easiest to explain by showing my code: enough=0 numberOfLines=100 fileName="/path/to.file" # Tail the last $numberOfLines lines; if the ...
0
votes
0answers
24 views

gFTP - Received File Is (Allegedly) Larger Than Original!

I am using gFTP to transfer a large gzip file (the gFTP window says it is ~3.7GB). However an hour after saying it the transfer was 99% completed and had 00:00:00 time remaining and says the received ...
0
votes
3answers
33 views

Why do du's subdirectory values not sum up to total?

I'm trying to use du to investigate disk usage in a directory like so: du -hd1 | sort -rh This gives me a list that starts as follows 61G . 7.9G ./A 5.1G ./B 2.7G ./.C 1.6G ./.D ...
2
votes
3answers
45 views

setting default permission for directory

Before anyone tags this question as duplicate, I would like to emphasize that I would like to know something extra... I found a way to set the default file permissions for all files created in a ...
2
votes
1answer
58 views

Linux user groups and file system permissions

Assume I have groups G1, and G2, and user U. User U is a member of both groups, but G1 is it's primary group. In my file system there is a folder F which is accessible by G2. Now if U wants to ...
2
votes
0answers
20 views

Mounting LUKS from the command line

When in nautilus or caja I click on the icon of an encrypted disk and enter my password, the underlying block device gets mapped to /dev/mapper/luks-$UUID and it gets mounted at/media/$USER/$DISK, no ...
0
votes
0answers
21 views

Forwarding packets through a host

I've setup a Site-to-Site network using this How To This How To fits exactly what I need. But I've a problem. From site wich hosting the OpenVPN AS server (site 2, right in the howto) I can't ping a ...
12
votes
1answer
726 views

Why is architecture listed thrice in uname -a?

$ uname -a Linux 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Running ubuntu 12.04.1 LTS. Why does it have the architecture (x86_64) listed thrice?
1
vote
0answers
37 views

Can't mkdir events No space left on device - EC2 Linux [duplicate]

After put about 5 millions files on a EC2 instance, I can no longer mkdir because inodes are all used. I still have 40Gb space on this EBS! Is there a way to overcome this? Thanks. Filesystem ...
0
votes
0answers
31 views

Re-download Corrupted Part of ISO

I have download an ISO file from one of the public FTP server. It took a lot of time to download the file because of my Internet Connection Issues. I used the wget command to download the ISO in ...
0
votes
1answer
16 views

How to use PPMD with 7z under Linux?

How can I use the 7z compression with PPMD algorithm? It produces better compression than the default in 7z.
2
votes
1answer
34 views

How can I redirect output files to a specific directory/folder

Suppose I have an executable in Unix. Suppose the name of the .exe file is myExe and it takes two parameters. I did not create this executable, this is a freely available one. myExe generates 4 ...
0
votes
1answer
32 views

Installing Node.js on a remote LAMP server with no internet connection

As a part of a student project, I am to host my Node.js-based server application on a server so that other people can try connecting to it and test the integrity of it's functions. The problem is that ...
1
vote
1answer
21 views

How to find process which flood the whole network

I have a laptop with Fedora 21 and TP-Link router with DD-WRT software. Sometimes my whole internet stops for any device. When I reboot my laptop or just I turn off wireless, the internet works fine. ...
0
votes
0answers
15 views

KDE Splash Screen doesn't disappear

Whenever I boot OpenSUSE, The KDE splash screen appears, which is normal. What is not normal, however, is that it never disappears again ! The previous session's windows just appear. KDE is ...
0
votes
0answers
52 views

Get real IP after OpenVPN tunneling

I try to route traffic from one Server to another using OpenVPN. In the end users should only connect to the forwarding machine. It basically works using this iptables rules: iptables -t nat -A ...
0
votes
1answer
24 views

Generate SCP string

Generally when I am copying files from a local instance to a server, I find it difficult to generate the SCP string for the server to copy the files. I need to execute the following three commands ...
0
votes
0answers
9 views

Get static driver from kernel zImage

I have one kernel zImage inside that there is one static modules for touch panel So is it possible to get touch panel module from zImage because I have no kernel source Please guide me
0
votes
1answer
17 views

Scheduling gFTP Download

My current set up involved two HP laptops running Linux Mint 13 (one 32-bit, the other 64-bit) and a Mint 13 server in the cloud. I have been using gFTP for transferring files without problem. However ...
0
votes
1answer
27 views

Debian wired connection static IP wont connect

I've installed Debian with xfce and did some configuring by installing themes, configuring xfce, installing and uninstalling software; the usual. Anyway, after a reboot I can't connect to the ...
0
votes
1answer
60 views

Can't run binary executable on Ubuntu 12.04

I get the following error: ./cataclysm: command not found when trying to run this executable on a Linux server over SSH. When I run ldd cataclysm, I get: linux-gate.so.1 => (0xf7759000) ...
0
votes
0answers
33 views

M17: Trying to mount Windows 10 .iso onto partition via terminal, getting “block device ? is write-protected, mounting read-only”. Can I get a help?"

I have Linux Mint 17.1 and am trying to dual boot Windows 10 Technical Preview OR install it on my other hard drive. Extra easy damage-control for you guys- I do not care if I lose any data, as long ...
0
votes
0answers
23 views

Bluetooth on at startup in openSUSE

I just installed openSUSE (dual boot with Windows) on my thinkpad T420 and after the install for some strange reason my Bluetooth is on when I turn on my computer. Both in Windows and openSUSE my ...
0
votes
1answer
27 views

U-Boot Bootup error

I'm running a Debian Linux on a Cubietruck, running off a SD card. When I power on, I get the following error: Booting kernel from Legacy Image at 46000000 ... ...
0
votes
1answer
30 views

tcpdump -i any and promiscuous mode

From the man page for tcpdump 4.1.1 (yes I know its old) -i Listen on interface. If unspecified, tcpdump searches the system interface list for the lowest numbered, configured ...
1
vote
1answer
26 views

Adding new attribute to existing xml file using sed or awk

I have a xml file which contains below details: <server> <mbean code="WSMQConnectionFactory" name="service=MQQueueConnectionFactory"> <attribute ...
0
votes
0answers
19 views

HW RAID10 without TRIM support with SSD

Recently we purchased new server for Database with 1TB x 4 SSD in Hardware RAID 10, but my Hardward RAID doesn't support TRIM so you think it is going to be big deal? Is there anyway i can do ...
1
vote
3answers
48 views

How to grep over a variable [duplicate]

I have a scenario like VAR = `Some command brings the file path name and assigns it to VAR` For example VAR can have value like /root/user/samp.txt I want to grep command like grep HI $VAR ...
1
vote
0answers
30 views

Handle mouse and keyboard usb device in udev

I'm trying to set up usbip on our thin clients to forward (almost all) USB devices to the server. What I don't want to forward are all input devices and all hub / virtual devices. So I want to ...
1
vote
1answer
53 views

Re-enabling the console once the kernel is up, if silent mode was set in Uboot?

I have enabled the silent mode by setting the U-boot env variable "silent". Uboot-> setenv silent 1 Uboot-> saveenv Now, I would like to re-enable the console once the kernel is up. Can ...
0
votes
2answers
53 views

use `mv` command and my file gone [closed]

i want to move myfile.tar.gz to folder My command is mkdir backup mv myfile.tar.gz /backup arrrgh, and the file gone in /backup directory not exist, try using find command not shown how to ...
0
votes
0answers
22 views

Help filtering logs - auditd

System: RHEL release 6.3 (santiago) Issue: Once I start the audit service I'm starting to get thousands of logs in /var/log/audit/audit.log Most of the logs received are of - sshd Log sample: ...
2
votes
0answers
43 views

Why is traffic matching the public zone instead of the desired zone?

Trying to self-train on firewalld I set up apache and configured the zones as follows: [root@localhost ~]# firewall-cmd --get-active-zones work sources: 192.168.122.1 public interfaces: ens3 ...
0
votes
1answer
31 views

How to find out what the Cinnamon process does

I would like to identify what draws power in Cinnamon (the process not the entire desktop) aka what eats the cpu and causes the context switches. It is not about finding out what draws power overall ...
2
votes
0answers
73 views

Random file showing up in various directories. How to trace its creator?

I am finding a 0 byte file named ^- (that is a caret and a dash) in various directories on my file system. I use zsh with oh-my-zsh and I am pretty sure something in there is creating it but I really ...
0
votes
0answers
57 views

Why doesn't Red Hat detect hard drive on HP BL460C Gen 8?

EDIT: The server I am using is HP BL460C Gen 8 having real hardware RAID. I am trying to install Red Hat Enterprise x86_64 bit on an HP ProLiant (iLO 4) server with an Array of 2 hard drives ...
0
votes
0answers
38 views

Get first day of the month

I need to get the first day of the month in this format "%y%m%d" or 150301 I can get the current day in this format: date +"%y%m%d" But the first day of the month is a lot trickier. Any thoughts? ...
0
votes
0answers
60 views

Executing Minecraft Server Commands via SSH and Screen

I'm extremely new to linux, so please help me out if you can! I have read many of the posts about managing/monitoring servers using SSH and Screen, but have not found anything regarding my particular ...