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

0
votes
2answers
45 views

Installing Ubuntu/Debian packages on Arch [duplicate]

I am considering switching from Ubuntu Linux to Arch Linux. I have a long list of packages that I've installed using apt-get that I would like to install right after I install Arch itself. Is there ...
0
votes
3answers
36 views

/mnt directory is removed undesirable!

Accidentaly I have removed my /mnt directory... how can I restore it? with the exact permissions and etc??? This directory was empty.
2
votes
0answers
45 views

“Restart” a process in the same terminal?

I put "restart" in quotes because the following question on SO illustrates what I'm trying to do: http://stackoverflow.com/questions/27957091/restarting-a-process-in-the-same-linux-terminal I'm ...
0
votes
1answer
125 views

How to burn debian iso to usb

I downloaded the debian amd 64-bit iso file (apx 650 mb) on a macbook w/retina (i.e. no cd drive) running OS X. I'm trying to dual boot and have already gotten rEFInd working. Set up partition for ...
0
votes
0answers
13 views

Gemalto Cyberflex Access 64k smartcard not being recognized by CoolKey on RHEL?

Since I'm new to smartcard integration, I'm not even sure if Coolkey is the problem, but that is the PKCS #11 module that I am using. I'm running RHEL 6.6 with these modules: ...
1
vote
1answer
52 views

Using cURL command-line tool on Mac, how does one fetch stock data which comes back *without* commas? [duplicate]

The below script is not working. cd desktop/quoteUpdate while true do curl-o quotes.txt -s "http://download.finance.yahoo.com/d/quotes.csv?s=goog,aapl&f=sl1" sed -i '.bak' 's/,/ /g' quotes.txt ...
1
vote
1answer
16 views

gparted moving unallocated to 1st partition

How can I assign unnalocated space to 1st partition /dev/sda1 ?
1
vote
2answers
20 views

Common user to modify files owned by 'other' users

I would like to understand how to use the permission system in CentOS to achieve the following: The system has the following users: user1 user2 user3 And the following directory structure.. ...
0
votes
1answer
36 views

Error openSSL appears to lack for elliptic curve cryptography? What's that mean and how to resolve it?

I followed this step to compile Bitcoin code, but got an error. Could you please explain what the problem is and how can it be resolved? Error: [root@localhost bitcoin-0.10.0rc1]# bitcoind Error: ...
3
votes
2answers
261 views

Replace both disks in a raid 1 mirror

I have a 3 years old server with two same disks. I'm planning to replace both before they fails. Can I add two more new disks to the raid and (after it has been rebuild) eventually remove the two old ...
-1
votes
0answers
8 views

Adding a System call in linux kernel 3.5 [migrated]

I am trying to implement system call to print hello world in linux kernel 3.5 running in virtual box Here is the source of implementation ...
-1
votes
2answers
37 views

Shell script issue when added to cron

I have written a shell script in order to monitor Nagios service status continuously (See this question), which is as follows: #!/bin/bash RCPT="abc@xyz.com" service nagios status | grep [0-9] if ...
1
vote
1answer
50 views

Keeping track of service status continuously

I need to monitor the status of nagios service (Because, whenever I make any changes in configuration and apply the new configuration, I would find nagios service stopped). If found in 'stopped' ...
0
votes
0answers
7 views

Write to ext4 filesystem hang while lazyinit in background

I am running SUSE 12 on a node that has 6TB disks attached with EXT4 filesystem initialized. Lazyinit in the background takes atleast 24 hrs to complete. Write performance to the disk is significantly ...
0
votes
0answers
41 views

Help Installing Linux on Chromebook C720

I'm a bit of a newbie but I've exhausted everything to try to install linux on my Chromebook. I've installed ChrUbuntu and crouton successfully but crouton doesn't offer a way to repartition the ...
2
votes
0answers
85 views

Password protected zip archives open without password

I have a zip archive that is password protected in linux(the password is "secret"). However, whenever I try to open the zip file I am not prompted for a password or anything. I also have a python ...
1
vote
0answers
25 views

CentOS 7 how to EnableBrightnessControl in xorg.conf

How can I set EnableBrightnessControl=1 in xorg.conf of a CentOS 7? File does not exist.
1
vote
1answer
28 views

SQLPLUS value in variable- not working from crontab

I am trying to store sqlplus value to a variable in Linux. Script is working fine when triggered manually. But value in variable is not stored when the script is called from crontab. Code: ...
0
votes
0answers
10 views

Thread that bind()s when terminated does not unbind the UDP listen port number [migrated]

A Google shows that this seems to be a common question with no good answers however I thought I'd ask and maybe someone knows a way to resolve what appears to be a common issue. When a thread is ...
2
votes
1answer
58 views

How can I change “Mount Point” that has been changed to normal?

previously I has been trying to install Kali Linux on my usb. Now here is the problem, I have used the command sudo dd if=kali.dmg of=/dev/rdisk1 bs=512k which I think it changed or replaced my ...
5
votes
2answers
57 views

Introduction of env --null

I have tried to extract environment variables in a Python process with help of env --null, which works even for environment variables containing newline character. But on some machines I have ...
1
vote
1answer
61 views

How to enable systemd's service without waiting?

I'm trying to make fastest boot possible and did run systemd-analyze critical-chain: graphical.target @5.800s └─multi-user.target @5.800s └─NetworkManager.service @4.201s +1.598s └─basic.target ...
1
vote
1answer
31 views

How to manually compile Fedora 20 kernel

I am trying to recreate an environment for debugging purposes. I require Fedora 20 specific kernel version (in this case its 3.17.7-200.fc20.x86_64). I have manually compiled vanilla kernel (3.17.7) ...
0
votes
1answer
42 views

linux + top command

I run the top command on my linux machine and I see that vim command take like 99.5% CPU PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
0
votes
0answers
15 views

Pcmanfm keeps deleting and recreating my thumbnails

I wrote a little shell script to handle cbz/cbr thumbnails in Pcmanfm instead of using Evince and every GNOME thing coming with it. The thumbnails are created and can be used normally BUT they seem to ...
12
votes
2answers
796 views

Is it good to have multiple version of Linux Kernel?

Once, I was installing some kernel patches & something went wrong on a live server where we had hundreds of clients. Only one kernel was there in the system. So, the server was down for some time, ...
0
votes
2answers
36 views

Fetching data from server by FTP command

"Fetching data from server by FTP command" is not a problem .But if I like to fetch the today's file from the server, whose name is like (BACKUP20141210) and if it presents in a folder with previous ...
1
vote
1answer
50 views

Docker container not able to ping host

I am following this tutorial https://docs.docker.com/articles/networking/#between-containers I have used following commands $ sudo brctl addbr bridge0 $ sudo ip addr add 192.168.0.160/24 dev ...
0
votes
1answer
26 views

Creating a live USB without persistence or access to hard drive

I am looking to be able to run a live copy of Linux off of a 4GB usb stick. I would like this to be a sandbox/learning environment, and my requirements are: 1) No persistence. Everything that is ...
0
votes
1answer
9 views

Problems using screen magnifier

I have just started to learn Linux (Centos). I have a visual impairment and I use a screen magnifier to work In my windows laptop, I have been using the Ease of access centre's magnifier. I am ...
-1
votes
1answer
26 views

Jetson TK1 boot issues

Received my Jetson TK1 yesterday. After unboxing it and configuring the Linux GUI, rebooting the device with a mouse (cordless) attached to its USB 3.0 port takes it to some sort of Command line page ...
0
votes
0answers
33 views

FTDI USB Serial Driver Buffer Sizes for Optimizing XBee Radio Throughput

I am attempting to optimize Digi XBee Series 2 Radio throughput. I have 2 XBee radios connected to my Ubuntu machine through USB ports with 2 USB->Serial FTDI cables that show up as /dev/ttyUSB0 and ...
0
votes
1answer
25 views

How can I mount a subfolder of a shared folder?

I'm using this command to mount a shared folder inside my VM: sudo mount -t vboxsf vm_shared ~/shared/ Is it possible to mount a subfolder inside vm_shared to ~/shared/ ?
0
votes
1answer
32 views

/sbin/cryptsetup not found on boot

I've created an encrypted root partition using LUKS which contains a few LVM partitions. I can't boot and get the following output on startup: Begin mounting root file system ... Begin: Running ...
0
votes
4answers
53 views

How does one inspect the directory structure information of a unix/linux file?

In Unix file systems directories are just special files with special directory structures that hold the child filename, filename size and inode reference number. The actual file metadata beyond ...
1
vote
2answers
35 views

last -t in Linux

I'm a little bit surprised on Ubuntu and Cent OS, the last -t actually behaves as showing logins up till the time specified, as opposed to as of the time specified as stated in its man page. Here is ...
0
votes
0answers
52 views

External hard drive can't be mounted on linux(windows says: Format it)

I have a hard disk and I can't mount it on linux. These are information may be helpful: # fdisk -l Device Boot Start End Blocks Id System /dev/sdb1 * 63 1250258624 ...
0
votes
1answer
10 views

Mixing audio tracks in a video file in Linux

I have a video file that has two audio tracks. The first one is background music and the other one is commentary. I want to merge those tracks together. This is the media information I got from ...
3
votes
1answer
21 views

How to create an internal multipath gateway

Basically trying to bend bridging and NATing to my will with quite a unique project. I've simplified what I'm doing below (VM=Kali virtual machine for testing): ZoneX's are network namespaces, ...
2
votes
1answer
44 views

Digital Photograph Forensics Software for Linux

Is there any forensics software that can handle digital Photograph for linux ? An opensource software is preferable
2
votes
1answer
44 views

How is the open file table structured?

I'm starting to read Linux Systems Programming, 2nd Ed., and I was curious about the file table that is a "per-process list of open files." Is the file table like a table in a SQL db with the fds used ...
0
votes
0answers
30 views

how to remove the last two characters of string [duplicate]

I would like to know the more clearly way for remove the last two characters of a string, without calling external commands, I used something like this. A="GOOD MORNING" echo ${A:0:$((${#A}-2))} GOOD ...
0
votes
0answers
15 views

Packaging Windows Application with Wine in deb and rpm format

My Question is can I package a Windows application with WINE in .deb and .rpm file ? Just like TeamViewer and Picasa for Linux. I don't have the source code of the application available with me, so ...
1
vote
1answer
52 views

Is there any command in linux which will force linux machine to not shut-down

I have a very important process which is having a Queue, In Queue i'm storing important data and when if someone trap that process it must have to process the data which is there in the Queue after ...
0
votes
1answer
38 views

WIndows 8.1 in hibernation on boot up can't install Linux

I Have a HP Elitebook 2730p I cannot get Linux to install on it. it will boot up on the SD Card then loses it or dismounts it and cannot find it again to remount it to install Linux. I then tried a ...
1
vote
1answer
26 views

how is cp -f different from cp --remove-destination?

in the cp manpage, it lists the -f/--force option as: if an existing destination file cannot be opened, remove it and try again for the --remove-destination option it says: remove each existing ...
1
vote
1answer
38 views

what is the purpose of cp -s?

as the answer to this question shows, Is there a difference between hardlinking with cp -l or ln? The purpose for creating the -l option for the cp command is to recursively hard-link (the contents ...
0
votes
0answers
14 views

Why http.conf Variations

What is it that determines the contents of a httpd.conf file in a fresh Apache install? I ask because a few months ago I installed one server and the httpd.conf file was as long as a book, however ...
0
votes
1answer
24 views

two NICs in the same subnet— need to set up routing

I have a tricky case: +---+ +----+ |D1 +->eth0---------<-eth0-+D2 | | | | | | +->eth1---------<-eth1-+ | +---+ ...
0
votes
0answers
15 views

netperf: run with no control connection

Trying to run netperf without setting up a control connection between netperf and netserver: client% netperf -N -H 10.0.0.2 ... netperf: send_omni: connect_data_socket failed: No route to ...