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

1
vote
0answers
3 views

No network in Linux from scratch 7.6 systemd

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

Linux Server Hacked

I received e-mails from google saying that my websites are hacked. This is the e-mail. Dear site owner or webmaster of serenakern.com, We recently discovered that some pages on your site look ...
1
vote
2answers
28 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 ...
4
votes
3answers
74 views

command for writing a character n times in linux

I found this command to repeat a character in linux can anybody please explain this: printf 'H%.0s' {1..5000} > H.txt i want e.g H to repeat 5000 times what does %.0s mean here
-1
votes
1answer
30 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 ...
0
votes
2answers
15 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
34 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
15 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
0answers
20 views

execute the script that received SIGTERM before the parent script that sent the KILL command

I have bash script where it calls kill command kill pid now the script that is mapped to this pid will capture the signal SIGTERM sent by the kill command and performs stop all its sub-processes ...
0
votes
3answers
25 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 ...
1
vote
3answers
29 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
41 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
12 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
18 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 ...
11
votes
1answer
582 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
30 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
9 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
6 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
28 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
11 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 ...
-2
votes
0answers
26 views

flush output of cat [on hold]

Now I'm using cat in a script to write into a file, but it seems the contents will be buffered. What can I do with it? cat >> comments.txt << EOF bla bla bla EOF
1
vote
1answer
18 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
5 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
27 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
18 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
5 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
14 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 ...
-1
votes
0answers
28 views

problem in AWK with Shell scripting [on hold]

Aim : I have 5 .CSV files namely 1. A.CSV 2. B.CSV 3. C.CSV 4. D.CSV 5. E.CSV I just want to copy the header column names from each file and place to another file named Header.csv . Code : ...
0
votes
1answer
11 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
35 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
14 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
8 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
0answers
10 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
23 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
16 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
8 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
43 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
16 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 ...
0
votes
1answer
55 views

Is Linux really more vulnerable than Windows and Mac? [on hold]

These days, I have seen many articles in the internet like this one that are trying to say that Windows is now less vulnerable than Linux. I think this is the number of solved issues so it means more ...
1
vote
1answer
22 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
46 views

use `mv` command and my file gone [on hold]

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
13 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: ...
1
vote
0answers
18 views
+50

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: My expected result is that traffic from the hypervisor would match the "work" zone and since http isn't ...
0
votes
1answer
24 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
31 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
30 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
36 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? ...
-1
votes
0answers
5 views

Samba DC - account is saved only with temponary file [on hold]

I have problem with Samba AD. When I log in to account on Windows computer, account will not be saved. smb.conf: [global] workgroup = miegl server string = Home server netbios name = ...
0
votes
0answers
27 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 ...
1
vote
0answers
14 views

Red Hat Enterprise Linux 6.5 remounts root filesystem read-only after hibernating

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.5, kernel 2.6.32-431.30.1.el6.x86_64, and my filesystem structure consists of a master LUKS partition holding two logical volumes, one ...