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

2
votes
2answers
24 views

How can I select and copy file names in the command line without using the mouse?

Typically, when I want to perform an action on a file I discovered in the terminal after calling [ls], I would have to - with my mouse - highlight, left click, copy file name, type the command in then ...
0
votes
0answers
7 views

deepin 2014 Starting LightDM Display Manager fail

Upon rebooting my machine The deepin splash screen began to pulsate. I looked at the boot log and found: "* Starting LightDM Display Manager [fail]" Upon looking at the lightdm log I found the error: ...
-1
votes
1answer
18 views

Fastest version of Ubuntu? [on hold]

So I'm new to Linux and would like to use it for at least 30 days without touching windows. I currently have a very old laptop with 512Mb of ram and have tried out Ubuntu 14.10 and Linux Mint 17.1 ...
0
votes
0answers
13 views

Windows Complete Backup [migrated]

I'm looking to try Linux. How do I completely backup my Windows computer and put it into something like an ISO so I can boot from it later if I ever want to switch back from Linux to Windows? Will ...
0
votes
0answers
14 views

Cannot use EPEL repo, get NSS error -5990 (PR_IO_TIMEOUT_ERROR)

I'm using vagrant to start up a centOS 7.0 VM. My provisioner is trying to set up EPEL 7 via yum install epel-release -y and then trying to install ansible via yum install ansible -y It installs ...
1
vote
1answer
16 views

How do I change which monitor the TTY shows up on?

When I boot, or when I press CtrlAltF*, I am taken to a physical terminal/TTY. The problem is that the TTY shows up on my HDMI monitor, which is actually not even in the same room as me. Is it ...
3
votes
1answer
14 views

Set the affinity of a process from a shell script as it is being launched

I have a script (.sh) where I launch applications like this #!/bin/sh ./application1 configuration1.cfg param1 param2 param3 & sleep 2 ./application2 configuration2.cfg param1 param2 param3 ...
1
vote
0answers
11 views

Does all applications which show graphics without an X server has to use the frame buffer device on linux?

I am using limelight embedded on my raspberry pi 2. The application streams games from your Windows PC. It is not an X application because no X server is running. So does this application has to ...
0
votes
0answers
21 views

echo `“hello terminal” > /dev/terminal` - works for /dev/tty[2-5] but not for /dev/pts/n

I'm trying to get to know the input output systems of unix/linux systems better. Since terminals and devices are implemented to interface as ordinary files, I assumed I could on any desired terminal ...
1
vote
0answers
30 views

bash scripting : using expect

I am facing an issue when I run simply these commands. The remote server want to pass "yes" to add the key in RSA file because first time connection established with scp. commands are given below ...
1
vote
2answers
25 views

how to automate creating firewall rules?

There is a complex live system - few vlans. In each of them there are linux servers, and on every server there are services. Services connect together - for example service http on host A connect to ...
0
votes
1answer
38 views

Yum Corrupted on RHEL 6

I really need help. I am encountering the issue with my yum command. It seems to be exactly the same as the issue described on this site, Yum corrupted on CentOS 6.2, Problem importing one the python ...
0
votes
0answers
14 views

Starting Daemons in specified order

I would like to load some custom daemons I have made in a certain order. One daemon starts xflux and one starts the x server. Is it possible to make the xflux daemon run only after the startx daemon? ...
0
votes
2answers
50 views

How to print an element from the corresponding immediate next column after searching the element in the current column?

I have thousands of lines as seen in the following list. file name = "textfile" 3 2 3 1 4 7 5 8 6 8 9 8 8 9 4 7 3 9 2 3 4 4 9 2 2 2 0 9 4 0 0 9 8 2 4 0 I have to search a particular element – ...
0
votes
1answer
38 views

FIle hole - how is it represented? [on hold]

The linux programming interface says, file hole don't take up disk space in general, I did google but didn't found answer to following question: If it don't take up space, then how the file system ...
0
votes
1answer
20 views

Error: you do not appear to have the sources for the 2.6.32-042stab102.9 kernel installed

I've just bought a new VPS with Cent OS 6.6 installed. I'm attempting to install Asterisk 11 on this VPS via command line remotely. I've used the directions here however I get this error: you do not ...
0
votes
0answers
21 views

Fedora 20 won't boot

It flashes to a blank screen a few times, perhaps trying to load cinammon desktop, then hangs here I accidentally chowned the ownership of everything in /var to the apache group, which caused a few ...
0
votes
3answers
31 views

I have to run `startx` on boot to have a window manager, how can I fix this?

I've had Debian Wheezy for a long time and decided to upgrade yesterday to Jessie, a few things I did wrong, I ran autoremove because I was careless and a few things happened. 1) I have to run startx ...
-1
votes
0answers
14 views

Partition suggestions for dual boot 2 different linux distros? [on hold]

I want to partition my hard disk manually for installing more than 1 os. (2 different distros of linux). I am using Gparted to do the job. My Hard drive is 1 TB or 1000 GB. My first partition was ...
0
votes
0answers
6 views

how to configure codeigniter based website for password protected apache basic auth codeigniter

Actually I want to 'password protect' my website as its still in development. My requirement is simple if anyone try to access my site http://xxxxx.com it should prompt for password (Basic apache auth ...
0
votes
0answers
21 views

trouble booting from cd on very old computer [on hold]

I've been trying to boot from a windows 98 boot cd. I start the computer and get press to boot and press f1 to enter setup. I go into setup and set the cd to boot first. But still I don't notice any ...
1
vote
0answers
41 views

Reading the program header contents of an ELF file

How is it possible to extract loadable program headers individually from ELF files? By examining a binary using readelf one can get output similar to: $ readelf -l helloworld Elf file type is EXEC ...
-1
votes
0answers
35 views

tail command doesn't work for heavy files?

I have NAS reindexed log which is almost 6GB. Output is human readable and text format. When i use tail -100f filename.txt It doesn't show anything. I though it was due to file size is ...
1
vote
1answer
24 views

Linux boot hangs: [Firmware bug] ACPI: No _BQC method, cannot determine initial brightness

I have an old Win XP NEC laptop and I tried to boot a live usb with Lubuntu 14.10 to install Lubuntu, but when I tried to boot the live USB, after about a minute the boot process hangs at a line that ...
0
votes
1answer
17 views

Error I get when I try install IDE Anjuta

sudo apt-get install anjuta Error I get while installing the IDE. What is this error about? However, I am able to successfully install the IDE Unknown media type in type 'all/all' Unknown media ...
1
vote
1answer
36 views

Can't access my apache server from outside LAN (Raspberry Pi)

I know this question was asked a lot, but unfortunately none of the posts really helped.. I'm trying to set up an Apache server on my Raspberry Pi. I managed to set it up correctly I think, but I ...
0
votes
1answer
33 views

Correct way to delete unnecessary files from /boot directory (Ubuntu)

Currently there is not enough space on by /boot partition/folder and the sofware update can not be performed. Question: how should I correctly free-up some space in that directory? Here is the ...
0
votes
0answers
28 views

Warnings/Errors when running clamav/clamscan, scanning 3TB hard-drive

Questions: What am I doing wrong here? What do those errors and warnings mean? Is there a fix for this behavior? My case: I've been trying to scan two 3TB hard-drives with clamscan for a week now ...
-1
votes
1answer
39 views

Erratic behavior with gzip on unix

I am compressing log files daily and very recently I have been seeing some crazy results on the file type of the file after compression. Normally you would expect file filename.gz returning gzip ...
0
votes
0answers
9 views

Fast TSC calibration failed in TAILS whch pauses boot

I have several flash drives which have TAILS installed onto them. I have tried to boot from each of them, both on safe mode and off of safe mode, and I get a "Fast TSC calibration failed" warning ...
3
votes
1answer
32 views

Change the root password of a Linux image

I'm building a jessie build of Debian. Passwords are saved in /etc/shadow in the build tree, but they are salted obviously so I cannot change it just by editing the file. If this was my installed ...
0
votes
2answers
37 views

selectively moving partially matched files to different directories

I am working in linux server where a parent directory I has 100s of partially numbered files, e.g GGG12345_abb.txt GGG12346_abc.txt GGG12347_cbx.txt . . GGG19045_jha.txt each of which is ...
0
votes
1answer
23 views

Debian E: unable to locate package [duplicate]

I am attempting to install the lxdm package for debian (wheezy). Running apt-get update does not yield any errors, and my sources.list file is as follows: deb http://ftp.us.debian.org/debian/ wheezy ...
1
vote
1answer
37 views

Is there any disadvantage of executing a shell script using nohup?

To execute a shell script in background and without an interruption, we use nohup command. For example: $nohup mytest.sh & Press ALT Press Enter Is there any drawback or disadvantage of this ...
2
votes
1answer
35 views

User without a password - how can one login into that account from a non-root account

I have just started to use Scientific Linux (7.0) (although I assume this question might be distribution neutral..). The kernel version is 3.10.0-123.20.1.el7.x86_64. Coming back to my question. I ...
2
votes
1answer
22 views

How to make sshd listen to two ports, but restrict one of them to a single source address?

I need sshd to listen both on port 22225 (allowing connections on that port from any IP) and port 22 (allowing just a single static IP on that port). In other words, listen on two ports at the same ...
0
votes
0answers
17 views

Map characters to key-combinations

Is there a way to map special characters to the keyboard, using a combination of keys? For example, having Alt+A print out a Greek alpha letter, or having Alt+⇨ print out an implication arrow.
0
votes
0answers
13 views

Java JRE 6 installation

I installed Java 6 (jre-6u45-linux-x64.bin) on a Ubuntu 12.04 machine following the procedure from this link: http://ubuntuforums.org/showthread.php?t=1904467. When I later installed Java 7 and ...
-2
votes
3answers
38 views

what is the difference between “ssh user@ip” and “ssh ip user”?

I am facing problem with one of the above. Only ssh user@ip works not the other way round. And I am getting the following error when I run ssh ip user sh: root: not found Because of this I GUESS ...
0
votes
2answers
29 views

output in iptables

I have added the rule to iptables file, however the command does not show it. $ sudo less /etc/sysconfig/iptables Generated by iptables-save v1.4.7 on Fri Oct 24 13:28:48 2014 *filter :INPUT ...
2
votes
1answer
70 views

bash: how to save state on prompt evaluation [duplicate]

I want to put duration of last running command in command prompt, f.ex: user@host$ sleep 360 6m user@host$ Also, I want duration to not show up if it is less than some minimum threshold (say 30 ...
0
votes
0answers
12 views

Monitor not indentity

I use Debian 7.x and have two same monitors NEC MultiSync LCD2090UXi. But only one of them is detected as NEC. I used xrandr for change resolution of unidentified monitor and all was ok, but after ...
0
votes
1answer
23 views

iptables | redirect from local [interface:port] to local [interface:port]

0 down vote favorite I have two interfaces eth0 (192.168.1.95) and eth0:1 (10.0.0.100) i want all packet for 192.168.1.95:9900 (from any 192.168/24) will be redirect/forward to 10.0.0.100:9900 and ...
0
votes
0answers
24 views

Where can we find a good Linux System Administrator? [on hold]

Where can we find a good Linux System Administrator? What are the websites to post a position that Administrators visit? Do System Administrators like to work as contractors? Or do they prefer to work ...
2
votes
1answer
58 views

sudo -i returns an error [on hold]

When I try to switch to root using sudo -i i get the error /var/tmp/sclDvf3Vx: line 8: -i: command not found... However, su - works which I will continue to use. I'm by no means a linux system ...
2
votes
2answers
66 views

Print file contents and delete the printed content* from the file

In Linux, from a bash shell, how can I print the contents of a file and remove the content I just printed content from the file? I have a program writing texts to a file repeatedly. On a Linux shell ...
0
votes
0answers
13 views

Keyboard merely plugged in greatly increases kernel boot time

Specs are here. I am using a K65 RGB. I am using the ckb-git package from the AUR to provide basic input functionality. With Keyboard and with driver: Startup finished in 3.100s (firmware) + ...
2
votes
4answers
45 views

Does the inode change when renaming or moving a file?

in PHP the fileinode() functions returns the inode of a file. I was wondering if I can use it to determine if a file was renamed, moved or modified. I did some tests and it seems the inode stays the ...
0
votes
0answers
24 views

Two monitors work as if they were a single one

I have 3 monitors (1 on an Intel card, 2 on Nvidia). After some magic with xorg.conf they started to work, but the two Nvidia monitors work as if they were a single, wide monitor (any maximized window ...
0
votes
1answer
10 views

Porting Binder IPC to Linux

Android provides a device driver based IPC mechanism called Binder. I see it as one of the staging drivers in Linux. Although I can have a linux kernel running with this device driver, if I want to ...