Tagged Questions

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

3
votes
2answers
3k views

php startup error Invalid library (maybe not a PHP library) 'pcntl.so'

After searching for hours to solve my problem and found nothing helpful I ask my first question here. I want to compile and install php 5.3.17 cli with pcntl extension enabled on a Debian server. The ...
0
votes
2answers
248 views

Set Linux date with ddmmyy

I need to set the date of a Linux box with a string I get from a program. This string is formatted as ddmmyy. Is it possible to use that directly or do I need to reformat it first? Currently I have ...
0
votes
1answer
648 views

Access Ubuntu Host Files from RHEL installed on Virtual Box

Im trying to access Host files (Destop Folder) from RHEL installed on Virtual Box. First I Shared a folder from menu bar of VirtualBox. Then I make a directory in /Media/ubuntushare Then I tried to ...
4
votes
1answer
2k views

Large volume at /mnt on AWS instance

I know this is probably a somewhat 'dumb' question :) I have an AWS (small) instance and I just noticed that there is a ~150gb volume attached at /mnt, is this normal? It kinda freaked me out, I was ...
0
votes
1answer
332 views

AIX auto completion: how to show a whole file name by type in only a few letters

I used to work on Redhat Linux and really enjoy its feature that I can only type a few letters on the command line, and the rest of a file name would show up. I am running AIX 5 or 6 now, and it does ...
-1
votes
1answer
522 views

Using sed, how can I delete all blank lines? [duplicate]

Possible Duplicate: How to remove blank lines in .txt files Using sed, how can I delete all blank lines? Input file: Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA ...
0
votes
1answer
97 views

Using sed, how can I remove lines with salaries ending 500?

Using sed, how can I remove lines with salaries ending 500? Input file: Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300 Betty Boop:245-836-8357:635 Cutesy Lane, ...
4
votes
2answers
543 views

wget recursive limited within subdomain

I want to download the following subdomain with the recursive option using wget: www.example.com/A/B So if that URL has links to www.example.com/A/B/C and www.example.com/A/B/D, these two should ...
2
votes
2answers
971 views

Using sed, how can I append “START” above the first line and “END” below the last line?

Using sed, how can I append "START" above the first line and "END" below the last line? Input file: Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300 Betty ...
2
votes
2answers
591 views

What do I need to make Linux host names resolvable on LAN?

What do I need to get local host names to be resolvable? BIND? DHCP? dnsmasq? With the needed components, how do you configure it? We use Vyatta 6.4 as our router and we have CentOS 6.3 boxes. I ...
0
votes
2answers
1k views

How to suppress “Destination Host Unreachable” when running ping

When I run the ping command, I often do so with the goal in mind to learn when a particular machine has come up, e.g. from rebooting. But recently (read: in the last few years) I have noticed that ...
3
votes
2answers
1k views

How do I align the bottom edges of two monitors with xrandr?

I have two outputs that I'd like to use on my laptop: LVDS1 - 1366x768 HDMI1 - 1920x1080 I set my monitors up like so: xrandr --output LVDS1 --auto --output HDMI1 --auto --right-of LVDS1 This is ...
2
votes
1answer
152 views

Using sed, how to print the contents of the file with the last names and first names reversed?

Using sed, how to print the contents of the file with the last names and first names reversed? Input file: Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300 Betty ...
0
votes
1answer
98 views

How do I find all the symbolic links to a master file? [duplicate]

Possible Duplicate: How can I find out if a symbolic link exists, that points to /tmp? I have an mpeg file that has been linked to in a number of directories. I need to replace all those ...
1
vote
0answers
196 views

ACPI events delayed or not logged in Linux

I have a samsung ultrabook (NP530U3C) that is not working good with ACPI events: lot of ACPI events randomly stop to be logged on kernel messages either in acpid logging. the lid closing is ever ...
0
votes
4answers
540 views

iMacros-like program for terminal?

Is there such a program for Terminal like the iMacros plugin for Firefox, that can record what I did, then automatic do the work I have done? I hope that there is such a program to help me do the ...
1
vote
0answers
34 views

Turn-key hassle-free personal POSIX-complaint backup system [closed]

I don't have the expertise nor the time to learn and setup a backup solution that fits my requirements. I'm looking for a hassle-free offering (commercial or free software) for GNU/Linux that fits the ...
0
votes
2answers
89 views

Why is there user-ownership in Linux? Aren't group/other file permissions enough? [closed]

I think I rather understand how file permissions work in linux. However, I don't really understand why they are split into three levels and not into two: can anyone explain the rationale for why a ...
3
votes
1answer
856 views

Prevent an already running background process from being stopped after closing SSH client

I have a process running on my Linux machine (Debian squeeze) that takes hours (or days) to finish. I don't want to stop it to restart it again with screen, tmux or with an output redirect to nohup. ...
0
votes
2answers
2k views

Cannot resolve dependencies while installing a package

When I try to install mysql-devel package by doing /usr/bin/yum install -y --disablerepo=* --enablerepo=base mysql-devel It fails with the following errors. ... ... --> Finished Dependency ...
3
votes
3answers
279 views

scp/sshfs on a remote 'not direct acessable' machine

Maybe the title must be changed but I have the following situation: I can ssh to a host A From A, I can ssh into a machine B, but this machine cannot be accessed from my computer. The name of the ...
-1
votes
1answer
44 views

Access Data from windows server to linux Server

I want to know how to transfer data from windows server to linux server. I had written one utility in c++ which sends data from windows machine to linux machine using sockets.but its using more ...
1
vote
1answer
291 views

Can't connect to internet from my device using crossover ethernet

I already posted in serverfault, but was closed due off-topic: At this point I can't connect to internet from my RPi. I ask this question here and not in raspberrypi.stackexchange.com because this ...
1
vote
3answers
299 views

Open a new dedicated terminal while running a command in linux

I want to open a new terminal when i enter a user-defined command in linux. Means for an example,when i type a command tcpdump in terminal and this will open a new session terminal for the tcpdump. ...
2
votes
1answer
462 views

How to change the size of Linux terminal

I'm using Fedora on a laptop with external display via VGA. (the internal one is disabled, but will open when it is booting up) Internal 1024*400, External 1920*1080. The resolution is normal under ...
0
votes
2answers
1k views

Chmod 644 on /etc/ any way to fix?

I tried to tab complete something and I guess it wasnt there. I know you are not supposed to set the permissions to /etc/ like that, but my permissions seem to be all messed up. whoami prints out ...
1
vote
2answers
2k views

Copy data from a remote Linux box to my Windows desktop

I use Putty to login to the remote server and then set the environment and change the path to a particular directory. Now from this dir, I need to copy a folder to my desktop which is Windows? How ...
3
votes
2answers
104 views

How practical is it to use ./ in the terminal?

I am new to linux, so far I can navigate through directories easily and change file permissions, I can also do some python/java stuff within the terminal. My question is that when I am using cd/ls/rm ...
0
votes
1answer
77 views

Read a Section of Lines from a File in Linux

I'm trying to export lines 100 to 1,000,100 from a file with 62 million lines. So far I've found this command: head -1100000 input > output But head does not take an offset option. Thoughts?
1
vote
2answers
340 views

file system inconsistency- e2fsck exited with signal 7

After my system is rebooted uncleanly, I faced some file system inconsistency on my 4TB software raid 5 partition (/dev/md3). So I tried fsck -y -f -v /dev/md3 several times. Unfortunately the ...
0
votes
1answer
313 views

Make crontab work at 0 hour

I try to execute some command like this: */10 0,1 * * * $BPY some_script.py Meaning I want to run it every 10 minutes between 0:00 and 1:00. BUT: I see in my /var/log/cron that it is not executed. ...
1
vote
1answer
263 views

Best way to export the full content of a HFS+ partition

My friends MacBook Pro (2008) completely died today. We removed the hard drive, and I'm currently dumping it's whole content into a tar archive with the help of a parted magic live CD, so that he can ...
1
vote
0answers
278 views

Unable to ping machines in same network using Wifi

I am connected to WiFi router , and I am running Linux machine. There are few more machines connected to the same WiFi router, some are Windows and some Linux. I am trying to learn the basics of ...
0
votes
2answers
69 views

Camera's in Linux switch filename on boot

I've got a few camera's for use in Zoneminder. But they tend to switch places upon boot. One tiem camera a will get /dev/video0, the other time it will be /dev/video1. Is there a way to set these ...
1
vote
2answers
836 views

wifi dongle, iwpriv ra0 ATE command not working

Trying to execute ATE commands on ralink rt3070 wifi dongle, # iwpriv ra0 set ATE=ATESTART Interface doesn't accept private ioctl... set (8BE2): Invalid argument Anyone got any idea? It is ...
0
votes
4answers
2k views

Ubuntu not installed-Please Remove installation media and close tray and press enter

I have downloaded Ubuntu 12.04.1 LTS 32 bit, burned it on DVD and tried to install it on my PC. My PC is running in Windows 7 Ultimate 32 bit mounted on the C: drive. Now I want install Ubuntu along ...
3
votes
1answer
8k views

Ubuntu 12.04 compiz - disable all compiz plugin - empty screen

A lots of thanks to terdon who spent so many time on this and finally solve the issue. A friend of mine has installed on my new machine Ubuntu 12.04 (I have always been windows user and have no ...
1
vote
2answers
781 views

How can I make KDE startup faster by removing core startup apps?

I would like to make KDE startup faster; I noticed that there are many applications that run on boot, that maybe I don't really need. Where could I go and change that? (safely)
0
votes
1answer
396 views

Failed to install laser printer samsung ML-1676 on Fedora 17

I downloaded installation packet from official site, but it is not compatible with latest Fedora releases(too many things changed in services,settings,device names et.) Anyway - when i connect the ...
5
votes
1answer
6k views

SSD AES-256 hardware encryption - how to configure?

Recently, I bought Plextor M5 Pro with hardware full-disk AES-256 encryption. Installed it in my laptop, where I have no HDD BIOS password set. From what I read around it seems that the encryption is ...
12
votes
2answers
10k views

bash get home dir by username

I want to obtain home dir of any user with echo echo ~puchuu >> /home/puchuu But I cant use variable echo ~$USER >> ~puchuu echo `echo ~$USER` >> ~puchuu
2
votes
2answers
1k views

Use netcat as a proxy to log traffic

I want to use netcat as a proxy to log http requests and responses to files, then tail these to inspect traffic. Think wireshark. Tried the following where 'fifo' is a named pipe, 'in' and 'out' are ...
1
vote
0answers
215 views

Ctrl-C does not work in tmux window

I have a Mini2440 ARM Board, and I have put a base Debian 6.0 system on it using multistrap. I have used tmux to run several processes in defferent windows from /etc/rc.local. I connect to the board ...
0
votes
1answer
227 views

Which Linux program can be used to view the hard disk map?

On Windows, defragment tools usually show you a preview of your disk: where the file fragment are placed on disk, where is the free space, where is the places that's not movable, etc. Is there a ...
1
vote
0answers
82 views

Cannot open an encrypted file on OS X

I cannot decrypt files on OS X (10.6.8 and 10.8.2) which I have encrypted on Ubuntu (10.04) using ccrypt. As a similar problem, I have a password file created with KeePassX. I just cannot open it on ...
1
vote
2answers
451 views

Archive software for big files and fast index

I'm currently using tar for archiving some files. Problem is: archives are pretty big, contains many data and tar is very slow when listing and extracting. I often need to extract single files or ...
1
vote
1answer
134 views

Get list of all installed software in each Virtual Machine

To manage my all virtual machines, I have purchased VMWare infrastructure but one thing I need eagerly is having: status of machine, a list of installed software and disk usage for each virtual ...
0
votes
2answers
44 views

Is this the correct format for starting a service in linux with command line arguments?

This seems like such a silly question, but I can't seem to find the answer. Usually I start mongo via service mongodb start But I need to increase the namespace size... So I have done this: ...
5
votes
3answers
6k views

Run Windows inside a virtual machine on Linux for gaming

Since making the full time move to using Linux (Fedora) from Windows, I've found the migration fairly easy and haven't had much disruption in how I do my work. However, there are some games I like to ...
1
vote
2answers
577 views

Change filename in zip

Currently I'm doing the following command in PHP exec("zip -j -P pass $zipname $filename"); The thing is the $filename is something like oawigufh.tmp is there any way to have the file in the ...