A family of Unix-like 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

0
votes
1answer
1k views

Tar up only 3 specific files in command line with linux

Is it possible with one command to tar up 3 files into one tar archive? For example, tar up: public_html.tar.gz dbapp.sql dbwp.sql into a tar file called bak.tar.gz
1
vote
1answer
780 views

Handling bad block in NAND flash memory

Is there any way/tool/utility to correct the badblock on the NAND device ? We are having custom board based on beaglebone but instead of mmc we have NAND flash. MTD partitions on the NAND are as ...
0
votes
0answers
122 views

Linux install nightmare, now video seems to be broken even during installation

It's a long story but I can't keep these details to myself because I have no clue what's going on, it's pretty weird. I have two hard drives. One had windows, and the other one had nothing, it was ...
0
votes
1answer
1k views

Linux On-Demand Streaming Server

I'm looking for a server software for Linux, with which I can stream Video files via the network. I'd prefer a Software with a (web) GUI or one where you only have to point your media player to a URI....
1
vote
0answers
93 views

Error installing rcssserver3d : (MonitorServer) WARNING: SimulationServer not found. and (Light) ERROR: OpenGLServer not found

I'm installing simspark on my Ubuntu 12.04 LTS. I have a slight the same error as in this SimSpark and RCSSServer report "undefined symbol: SDL_Init" (MonitorServer) WARNING: ...
1
vote
2answers
53 views

How to list installed man pages and search in many mans?

I am frustrated that to use man I need to know the exact name of the topic, and usually I need to search on Internet before I can open the man page. How to list installed man pages? How to search for ...
0
votes
1answer
149 views

How to check if mysql server is active in Linux

I'm writing a monitoring script to restart mysql server if it is down in Linux( Centos+Cpanel). Will running the command: "mysqladmin status" be sufficient to be sure that it is fully functional?
0
votes
0answers
282 views

I can't get any internet connection on Crunchbang, how can I download and manually install the drivers?

I recently installed crunchbang on my Lenovo G505 Laptop, it uses broadcom drivers and I can't get any type of connection. I have tried connecting it with an ethernet cable every way that I could and ...
0
votes
2answers
573 views

How to remove all the boot data created by Ubuntu or Fedora?

I'm trying to reinstall Linux in one of my two hard drives. The problem is something went wrong previously and it seems to have been persisted into a boot sector or something. So now when I try to ...
0
votes
3answers
92 views

Removing a pattern from text file

I have a file riddled with this kind of thing: -POEM- >> The big brown fox >> jumps over the >> lazy dog. The end. I want to get rid of "\n>>" and just turn this into a oneliner: ...
0
votes
1answer
313 views

To make sure my IP “changes” regularely

Hostnames of free no-ip DDNS will expire every 30 days. So to avoid expiration of the domain, I found a trick to change the IP every now and then, from https://catbull.com/wiki/index.php/HOWTO:...
1
vote
2answers
854 views

Linux server running out of memory

I have a VPS with a hosting company. I do have some badly written perl scripts tha use MySQL. My MySQL server crashed. The hosting company says the server ran out of memory. At a time when I have ...
3
votes
2answers
4k views

Linux, netstat : how to display the owner of programs using ports?

I'm getting crazy with the command netstat. In the man we can read that, in the output of Active Internet Connections (TCP, UDP, raw) we should have : User : The username or the user id (UID) of ...
1
vote
2answers
238 views

Building/Installing software with external dependencies on linux

This kind of thing tends to happen to me more than it should. Often when I am building the source of some program or even just installing a program that has external dependencies that aren't already ...
-1
votes
1answer
72 views

What would happen after Bitlocker put the system into recovery mode

What would happen after Bitlocker put the system into recovery mode? I find it wasn't clear in all the materials that I read. This one, Bitlocker asks for recovery key and starts automatic recovery, ...
0
votes
1answer
187 views

How to check CPU temperature on BAMT (Debian)

How can I check CPU temperature on BAMT? BAMT is Debian based bitcoin/litecoin mining distribution (kernel is 2.6.32-41 32 bit version). I've tried with lm-sensors, every time I'm using, I'm ...
1
vote
1answer
4k views

How to make VLC server that can communicate with clients

I have VLC 2.0.8 in and I have recently discovered that I can stream movies by using it. So my plan is: - at home I have a computer with a list of 3 movies (for example). - when I am traveling, I ...
0
votes
1answer
623 views

ext4fuse as non-root on FreeBSD10

I have 2 operating systems on my computer, a Arch Linux on a 100GB ext4 partition, a FreeBSD on a 250GB partition and all my data on 2 2TB separated ext4 disks. I wan't to access the files from this ...
-1
votes
3answers
277 views

Create one file per line via shell

I have a file containing list of filenames, like this file1.cfg file2.cfg file3.cfg I want, using the linux terminal, to split this into n files with the given filename, each also containing the ...
0
votes
0answers
626 views

UUID and Drive Cloning

I have a project that I am working on, which involves a USB Storage Device and a boo.table version of linux. The way this project is coming together, I am having multiple partitions on the USB drive ...
0
votes
1answer
118 views

Limiting desktop size in Linux

I have a display and the right-most edge of my monitor is busted! So to make it work, I'm trying to somehow restrict my desktop to the pixels that actually work. This would mean: The pointer ...
0
votes
1answer
1k views

Unable to stop tomcat server

I have tomcat 7 running on a virtual machine running Linux. I started tomcat as foreground process using a script and don't know how to stop it. I have tried stop, restart, start but all of the are ...
2
votes
1answer
1k views

Linux/Bash: Comment every line matching a pattern

sed is foreign to me, to say the least. I'd like to traverse a C project tree and comment out every line calling the function LogMsg(). Something that'd achieve the following: foreach: line within *....
1
vote
1answer
2k views

How to use systemd hybrid-sleep instead of suspend under gnome in linux?

How can I make GNOME 3 use Systemd hybrid-sleep instead of suspend when closing the lid or using suspend from the menu?
0
votes
1answer
2k views

How to mount a iSCSI/SAN storage drive to a stable device name (one that can't change on re-connect)?

We need stable device paths for our Twinstrata SAN drives. Many guides for setting up iSCSI connectors simply say to use a device path like /dev/sda or /dev/sdb. This is far from correct, I doubt ...
2
votes
2answers
865 views

How do you use the run-parts command?

For some reason my crontab is not running the hourly/weekly/etc scripts. It seems to be that run-parts is not working and I cant get it to work on my local machine as well. Is there a mistake in the ...
0
votes
2answers
96 views

Ctrl C breaks the keyboard on Linux

I'm using a USB keyboard which works fine on Windows, but on Linux (Ubuntu and Fedora) this happens. When I press ctrl C to copy some text, the keyboard stops working and I can't type anything ...
1
vote
1answer
299 views

mount.cifs retries causes account lockout

I have a linux system which mounts Windows shares using cifs, configured in /etc/fstab. The Windows fileserver it's connecting to is joined to an Active Directory domain. When I mount the shares, ...
0
votes
1answer
343 views

Secure boot validation failure loading ext4_x64.efi

My setup: - Lenovo U510 with preinstalled Windows 8 - UEFI and Secure Boot enabled - Fedora 20 installed on a new ESP partition Having two ESPs I wasn't able to boot Windows with grub, so I ...
0
votes
1answer
267 views

How to choose gtk version for Eclipse RCP application in linux?

I have an Eclipse RCP application which I want to run in Linux environment that has multiple gtks installed. Is there a way to choose the gtk version against which I can run the application? Linux ...
0
votes
1answer
178 views

Ubuntu kernel upgrade after graphic card driver update

I use Ubuntu 12.04 with an ATI Radeon 5450 graphic card. I use 2 monitors, and I had to update the video driver because the default one doesn't remember its settings after reboot. I have found out ...
0
votes
1answer
434 views

Linux benchmark SSD vs HDD

I wonder if there is any performance difference when using SSD as the main Hard drive rather than mounting it to be used by different applications on the server. For example using a command line ...
2
votes
1answer
2k views

Trying to restore data, usb drive not properly detected?

I am trying to recover files from a usb drive with a corrupted filesystem, thus far I have had no luck. When hooking it up to a machine with Ubuntu I get the following information: Syslog OptiPlex-...
1
vote
1answer
156 views

Crash without Core dump

First of all: I have core dumps enabled and they work most of the time. So one programm crashes every now and then and generates a core dump. But sometimes it crashes without a core dump. Which is ...
1
vote
1answer
258 views

Old Red Hat Linux 5.2 on VirtualBox

I am trying to install and run Redhat 5.2 on a VirtualBox VM. This is NOT RHEL; This is the old Redhat 5.2 from before the Fedora project and was first released in 1997. While going through the ...
0
votes
1answer
4k views

FreeRADIUS fails to start

I don't remember exactly what I changed, but I think I replaced the current Freeradius users file with one from a backup and I guess permissions got messed up somehow. I get this written to the logs ...
1
vote
1answer
177 views

how to run ruby app on startup

I'm trying to run a sinatra app on startup in linux mint. I'm using the startup applications preferences to add the path to the ruby file that I'm trying to execute: shotgun /path/to/file/file.rb ...
0
votes
1answer
236 views

How to get Ubuntu's latest repositories on elementry OS Luna?

I know that ElementryOS luna is based off of the Ubuntu 12.10 LTS, and so the packages are outdated (ex: the sudo apt-get install gimp will get you 2.6 instead of 2.8) so how do i get the latest ...
0
votes
1answer
84 views

Expand bash variables inputted from the read command

I have a tab delimited file like this: table_a "where id IN ($IDS)" table_b "where fk_id IN ($IDS)" table_c "where fk_id IN ($SOME_OTHER_IDS)" And I'm trying to write a script like: IDS="...
2
votes
1answer
2k views

nfs and cifs shares hanging from Linux

I've got a NAS (Dlink DNS-323) that I mount from my linux box. It used to work fine, and then I upgraded my distro (apt-get upgrade). I'm running Linux Mint Debian Edition. Current kernel is: oliver@...
0
votes
0answers
169 views

Are there any human-readable PCI slot management utilities for CentOS / Linux?

I'm looking for a method to determine, in a human-readable way, what kind of PCI device is in which slot on a computer running Linux or a derivative. lspci is somewhat cryptic and impenetrable, and ...
0
votes
1answer
178 views

cwrsync and long file names issue

I am trying to use cwrsync on my windows server to backup to my linux server, but am running into an issue where the file names become too long. So a user on one of the systems will have a mapped ...
0
votes
0answers
376 views

VirtualBox setup fails at compiling modules

I have recently upgraded from Ubuntu 13.04, where everything worked fine, to 13.10, where I cannot get VirtualBox to work any more. I did some googling but could not find a similar error (all involved ...
2
votes
2answers
416 views

How can sed find pattern in one field but append another(same row)

I have a text file that has comma separated values. Field1 has field that needs to be matched, but field two needs substitution based on the match. Example: A,C B,C Result: A,D B,C I'm guessing ...
1
vote
3answers
4k views

how can sed get patterns from a file

I have two files one holds a list of patterns, another need to be changed based on these patterns. So far I have been experimenting with cat patterns.txt| xargs -n1| sed 's/patternfromfile/...
1
vote
2answers
2k views

Copy file from local host to remote host

This answer must exist somewhere as it's so basic, but I can't find it. I have a file on my local computer that I want to copy to a remote host. I know how to use scp, but if I do it from my local ...
0
votes
1answer
10k views

remote desktop to Fedora 20 with xrdp

I was able to setup xrdp on my Fedora 13 machine and access it from my Windows 7 machine by follow the steps on the first post on this thread It was simple and easy. But when i try the same on my ...
3
votes
1answer
215 views

btrfs does not show drive as missing

I am trying out btrfs and I noticed some funny behaviour: I have two drives in a raid 1 configuration. sudo btrfs fi show Label: none uuid: 52b9c6f6-ce5c-4727-861e-e2fd012e475f Total devices 2 ...
0
votes
1answer
23 views

Can I have 'local root' accounts inside a VirtualBox guest OS?

Do you know if I can get a local 'root' inside a VirtualBox guest OS (Linux)? I need this to install the "guest extensions". Should this be the same as my "host" OS root?
0
votes
0answers
462 views

tftp “Successful Transfer” but file incomplete (windows 7 client put to ubuntu tftpd-hpa server)

I'm trying to transfer a file using the Windows 7 tftp client (from the command line: tftp put ) to a tftp server in Ubuntu 12.04 (tftpd-hpa with TFTP_OPTIONS="--secure -c"). The windows client ...