Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

8
votes
5answers
14k views

Cannot lock /etc/passwd; try again later

With several commands I get the error "cannot lock /etc/passwd; try again later". Does anybody know how to solve it? Also I don't get in my /etc/shadow directory.
0
votes
0answers
6 views

New to Linux, cannot get my internet to connect in VMWare

I installed CentOS today and did a minimal install. I got everything set up and got Gnome installed but I simply cannot connect to the internet. I can ping my loopback address and everything looks ...
21
votes
2answers
21k views

How can I create a non-login user?

I'd like to create a user and a group both called subversion on a RHEL 5 system. I looked at the man page for useradd and I guess the command would be just be... useradd subversion However, not ...
1
vote
2answers
555 views

How to install Emoji on linux?

I am using Fedora 17. I want to view Emoji icons on my computer. Currently I am seeing square tiles on most of the symbols in this Wikipedia page. Not sure if this has got to do with Character Map and ...
1
vote
1answer
10 views

Replaced a RAID 10 drive on my Debian server - what do I do next?

I have 4 x 3TB drives in a RAID 10 array. One failed, so is now removed. /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md127 : active ...
0
votes
0answers
5 views

Bash files open terminal when opened

This seems like something simple to do but for the life of me I cannot figure out how to do it. I would like all bash (*.sh, *.bash) files to open with a terminal to show their output in.
0
votes
2answers
2k views

how to install bitcoin-qt wallet on debian 7

WARNING: Complete noob to linux (somewhat noob - if something can be installed w/ a package manager, I'm ok, else completely lost). I loaded debian 7 on a VBox VM (took 2 days to get everything to run ...
0
votes
0answers
13 views

Difference between connecting to 127.0.0.1 and server ip

I am brand new to php, databases, and linux and had a problem where I could not connect to mysql databse with the php mysql_connection function. When I used the ip address of my VM I kepy getting a ...
0
votes
1answer
64 views

Colorize ls-output by filetype [duplicate]

Every once in a while I have to list some files (~20-50) in Bash on Linux || Mac. These files are from four different file types. ls nand2tetris/myChips/ And16.**hdl** And16.**cmp** ...
1
vote
1answer
53 views

Linux - Output to Folder that Yet Exists (in one command)

Is it possible to achieve this in one command without requiring a script: echo "test" > /folder/that/does/not/exist/newFile.txt
0
votes
1answer
14 views

Can't get Ubuntu boot from Windows 7 boot loader

I have a HP Envy Laptop which was shipped with Win 8. Since I am not very comfortable with Win 8, I wanted to install the Win 7 + Ubuntu 14 combination with dual boot option. I have successfully ...
1
vote
2answers
22 views

Download self-signed server certicate

Summary I need to download a self-signed certificate from a server, to create a .JKS-file to use as truststore in an application. How can I do that from a Red Hat server? What I have tried I have ...
1
vote
0answers
450 views

How to disable CD-ROM/DVD-ROM pooling during boot in Linux?

I have a Dell XPS L501X laptop dual-booting Linux Mint 12 "Lisa" (x64) and Windows 7. It has a TSSTcorp DVD+-RW TS-L633J DVD drive, which generates a lot of vibrations and noise whenever data is being ...
0
votes
1answer
586 views

Simple terminal command: Permanently turn off/on monitor display. (no screensaver, no lockscreen)

The following command should do this at execution: Screen turns off display permanently, nothing like(screensaver, lockscreen). Just a simple turn off display command, everything else keeps ...
0
votes
2answers
23 views

Unable to SSH, cannot create /dev/null/.ssh

I am trying to deploy hadoop with a master and slave node. But the master fails to start tasttracker and datanode processes in slaves, as it is not able to ssh into slaves. The error message is 'Could ...
0
votes
0answers
8 views

prevent make full re-run between two projects

I am working on Linux Mint 16 and I have working with two copies of a git project in two different directories. Every time I run make in one of the project it and I switch to other project, it will ...
1
vote
1answer
3k views

Wirelss card not being detected in backtrack 5

I just installed backtrack 5 and I am unable to detect my wireless card. iwconfig doesn't list my interface. I can see that the hardware is present in lspci -vnn (see below) but I can't get the ...
0
votes
0answers
5 views

Multiple idle stages

I am currently setting up my new debian installation on a T430s with gnome as DE and i3 as window manager. Many gnome functions do not work because of the missing gnome-shell. I want to create the ...
0
votes
1answer
404 views

How to execute a part of a (text)file?

So I'm looking for a command on Linux that would let me execute a file as binary, but skipping the first x bytes, so: $ echo "some text" > file $ cat /bin/bash >> file $ ??? file # should ...
1
vote
4answers
4k views

How to output file from the specified offset, but not “dd bs=1 skip=N”?

How to do thing like dd if=somefile bs=1 skip=1337 count=31337000, but efficiently, not using not 1-byte reads and writes? The solution is expected: To be simple (for non-simple I can write some ...
0
votes
0answers
5 views

Blank screen, CentOS 6.5

I'm on a Dell PowerEdge 2850, and I recently installed CentOS 6.5, and it worked well for a while, then recently whenever I booted into the OS like after the BIOS screen, everything went blank and it ...
0
votes
0answers
50 views

yum install gcc fails with invalid linux.dropbox.com/fedora directory

I am relatively new to Linux administration. I have installed Centos 6.5 (under VirtualBox on a Win7pro system). When I try to install gcc to the system using yum, I get the following results: ...
0
votes
1answer
17 views

install in /usr/local/ using apt-get

Is there way to specifically install in path /usr/local using apt-get ? I am using Linux Mint 16 and I want to install some libraries in this path. All of my installed libraries are installed in /usr/ ...
8
votes
4answers
720 views

why ./ is needed to run a runnable file?

I'm using ubuntu and I notice many of my runnable scripts won't run unless I precede theme by ./. For example, if I have a perl script: /home/me/script.pl and I'm currently in /home/me, typing ...
1
vote
1answer
2k views

VLC tv card streaming

I'm trying to stream the output of my desktop's tv card to my laptop using vlc without success. I have on both pcs ArchLinux installed. I'm stuck here: $ cvlc ...
7
votes
2answers
2k views

Bad results converting PDF to EPS on Linux

I'm having some trouble converting PDFs (created by Adobe Illustrator on a Mac) to EPS. I have tried several things but I am wondering if there is a better option. The following list is ordered by ...
16
votes
3answers
7k views

Why won't windows exe's work on Linux?

I'm not asking about how to make a Windows exe work in Linux. I'm asking WHY it does not work. What is different about the way Windows runs an executable and Linux runs an executable? Why did they ...
4
votes
1answer
2k views

Why is Ubuntu trying to open my Mono app with Wine instead of Mono?

So, I have compiled a C# program on Linux using MonoDevelop. When I try to execute the resulting binary, my system tries and fails to run it as a windows executable, with wine. Wine gives me the ...
1
vote
1answer
2k views

How to disable USB devices based on vendor ID in Linux?

I want to disable USB devices based on vendor ID in Linux, and allow only specific devices to be used. How can I do that?
0
votes
0answers
8 views

How to install 32Bit Windows game Floyd on Debian AMD64

I'm stuck at running install for Floyed, which is an 32Bit application on a Debian 64Bit x86 system (unstable). I've installed wine32 as well as a bunch of :i386 libraries, but getting these errors ...
-1
votes
1answer
12 views

how to copy contents from current tty to a file in Linux RHEL 6.3

I am trying to copy the contents of on the current tty to a file by using command ls -l > ls-l.txt but I'm unable to get the output Can any one help me how to copy content from screen(terminal) ...
1
vote
3answers
912 views

iptables LOG actio writes to STDOUT

when I use LOG action in some chane of iptables rules, I get the output both in STDOUT or STDERR of the xm console and in /var/log/messages. Is there way to make iptables to write only to log ...
0
votes
2answers
3k views

Filtering output by OR condition in Linux

is there some way to filter output of command by OR condition in Linux? There is filtering by AND condition with grep in way like: ls -l | grep "^a" | grep "z$" That says: list all files that ...
32
votes
8answers
24k views

ffmpeg: create a video from images

Is it possible to use ffmpeg create a video from a set of sequences, where the number does not start from zero? For example, I have some images [test_100.jpg, test_101.jpg, test_102.jpg, ..., ...
0
votes
1answer
10 views

How to give apache ownership rights when creating a new file? [Centos 6]

So, is it possible to make multiple users the owner of a file when created? I mean, I know you can do chown -R apache:permissions /var/www/ (48:500) but that is only temporary because even if I decide ...
0
votes
0answers
4 views

Can I / how can I setup postfix to send mail through an outllook.com account?

What I'm trying to do Allow root- and only root- to send e-mails from an outlook.com address to individual recipients selected from an infrequently updated (once every few months) list via postfix on ...
0
votes
0answers
17 views

CLI tools/ways for dynamically constructed DOM structure parsing HTML Javascript

I'm planning to make a tool which recognizes HTML using DOM structure in CLI. As many sites produce many DOM elements using JavaScript these days, it's becoming difficult to extract information from ...
1
vote
0answers
30 views

How do I configure routing on a dual-homed Linux server?

Please open this Google Drawing for reference. Client C1 will connect to LB/APP through RT1, and C2 will connect through RT2. RT1 and RT2 have performed simple NAT, so that the packets arriving at LB ...
1
vote
1answer
182 views

install screen from source code

I tried to install the screen command on RedHat from source code. But when I run the configure, it returned configure: error: !!! no tgetent - no screen So does anyone know how to fix it?
2
votes
0answers
39 views

How to register shutdown script on Amazon Linux in AWS EC2

I am using Amazon Linux (RH-based distro) in AWS EC2. I followed the structure of /usr/share/doc/initscripts-*/sysvinitfiles to create an init script in /etc/init.d. /etc/init.d/do_something ...
0
votes
0answers
11 views

kernel configuration: select specific drivers or symbols regardless of dependencies?

Is there a way in "make menuconfig" et al. to start with enabling device drivers that you want included, and have it enable the necessary (dependent) generic options and APIs automatically? As it is, ...
0
votes
0answers
18 views

Debian Boot Problems: Cannot get back into windows

I am having a sincere problem. I'm not experienced in Linux, but my friend said I should try Debian, so I installed it. This is bugging me because I don't really like it, but I cannot get back to ...
0
votes
2answers
43 views

ddrescue attempt ends with drive disappearing from dev

I have been trying to recover data from a Seagate 7200.11 1.5TB drive (2 ext4 partitions_ for 3 days now, predominantly with ddrescue and testdisk, but because of some critical error on the disk ...
0
votes
0answers
7 views

mc-wrapper does not exit to MC_PWD directory

I recently installed openSUSE 13.1 and set up the mc in typical why by aliasing mc with mc-wrapper.sh to have it exit into the last working directory in mc instance. However this does not seem to be ...
8
votes
3answers
667 views

How to disable kernel probing for drive?

I have samsung laptop with 30GB ExpressCache SanDisk SSD soldered on mainbord. SSD died (gives tons of errors when i try to access it somehow), but it is still probed on kernel boot, i see it's ...
2
votes
1answer
484 views

Cleared vs. Unformatted partition in GParted

I am running a database-like application that writes and reads data directly to and from a raw block device. I would like to create a new partition for this purpose, and I am using GParted. I've ...
1
vote
1answer
55 views

How to get Alfa awus036nha to work with Kali Linux?

Im running Kali linux 64bit 1.07 as a guest os through virtualbox 4.3.12 r93733. Ive also installed the VirtualBox 4.3.12 Oracle VM VirtualBox Extension Pack. I have bridged my hosts network ...
0
votes
0answers
20 views

How to find username and password of a mounted Windows share?

I'd like to use cifs from Linux to mount a Windows shared drive. That shared drive is provided by a NAS running Linux / Samba. There are several Windows computer successfully using that shared drive ...
0
votes
1answer
26 views

can not load private key using ssh-add

I tried to create a ssh key by doing following command: ssh-keygen -t dsa then it prompts me to enter store path: Enter file in which to save the key (/Users/KesongXie/.ssh/id_dsa): id_dsa after ...
1
vote
1answer
29 views

Should my server ever need to directly communicate with the NAT gateway?

What I mean by ``directly communicate'' Does it ever need to receive packets with the gateway's IP address as the source IP address, or send packets with the gateway's IP address as the destination ...