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

1
vote
1answer
1k views

Using Synergy between two clients with different resolutions

I have two fedora systems (running synergy 1.3.7) each with two displays. The synergy server has two displays arranged horizontally and the client has two displays arranged vertically. When I go ...
16
votes
2answers
8k views

How to rename a BTRFS subvolume?

I have a BTRFS filesystem with a set of subvolumes in it. So far so good. I need to change the name of a subvolume, unfortunately the btrfs program does not allow me to rename a subvolume. Searching ...
7
votes
3answers
2k views

How to list directories names but not their contents, in *N*X?

If I do a simple ls specifying a filename pattern, like ls A*, for directories that match the pattern, it will enter the directory and give the full listing, but how could I get just the listing for ./...
1
vote
3answers
5k views

How to prevent the monitor to turn off in Linux

I have a weird question here but I need an answer as fast as possible :( For a specific project I have to start a QT-Program on the screen on startup in Linux Mint 9. The Monitor which is displaying ...
0
votes
1answer
293 views

unable to run OpenOffice from text mode

I have installed OpenOffice in Redhat5 in text mode. When I tried to start OpenOffice using the command: sudo /usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100; urp;...
8
votes
2answers
10k views

How do I debug an upstart job?

I have the following job in /etc/init/collector: start on runlevel [2345] stop on runlevel [!2345] expect daemon exec /usr/bin/twistd -y /path/to/my/tac/file When I start the job with sudo ...
1
vote
3answers
5k views

grep file for only part of line

I have a rtf file that I'm using grep on like this grep "Order Number" 'Extract Text Output.rtf' which results in lines that look like this \b\fs28 \cf2 Fab Order Number : FAB00772450\ and I ...
1
vote
3answers
3k views

What do slashes “/” mean in crontab?

I'm seeing slashes in some crontab examples, I don't understand what they mean? Check this one out for example */10 * * * * /home/ramesh/check-disk-space http://www.thegeekstuff.com/2009/06/15-...
3
votes
1answer
3k views

How can I compare just the file contents of two zip files

I created these two zip files about 24 hours apart. $ ls -l /tmp/*.zip -rw-rw-r-- 1 scott scott 1401289 Mar 21 20:11 /tmp/inc1.zip -rw-rw-r-- 1 scott scott 1401289 Mar 22 19:29 /tmp/inc2.zip You ...
16
votes
7answers
4k views

Why does Windows not recognize files inside Linux partitions?

I dual booted my Windows XP, installing Linux Mint. I found out that when using Linux Mint, I could see and open files installed on Windows XP, but when using Windows XP, I can't see and open files ...
3
votes
1answer
1k views

Why do two identical zips on Linux have different md5 sum values?

I created these two zip files about 24 hours apart. $ ls -l /tmp/*.zip -rw-rw-r-- 1 scott scott 1401289 Mar 21 20:11 /tmp/inc1.zip -rw-rw-r-- 1 scott scott 1401289 Mar 22 19:29 /tmp/inc2.zip You ...
26
votes
3answers
9k views

How can I make the bash backtick operator keep newlines in output?

Is there a way to make bash not eat newlines in the backtick substitution? For example: var=`echo line one && echo line two` echo $var line one line two What I want is var=`echo line one ...
7
votes
2answers
6k views

Cannot type any special character or umlaut in terminal

Environment: I am using Ubuntu 11.10 with wmii 3.9 as GUI and uxterm as terminal with bash as shell. The hardware is a Lenovo ThinkPad W500 with a Swissgerman keyboard layout (thus I need umlauts). I ...
1
vote
1answer
101 views

Is it possible to fork a symlink?

I have my configuration file (e.g. .zshrc) put into an encfs container. When I log into the system the container is not yet mounted, hence the the symlink is dangling then. Is there a way to let the ...
3
votes
4answers
10k views

Fastest browser to run over a forwarded X11 session

So far I have tried Firefox (latest and greatest) and Chrome (also latest and greatest), and while Chrome runs faster than Firefox over X11 from my CentOS server to my Windows 7 workstation, it's ...
0
votes
1answer
610 views

zombie processes (defunct) problems in my Linux

I came cross an annoying problem lately. I have a set of scripts which will manage and start a certain number of parallel processes on about 10 Linux servers running Redhat. A file is used to keep all ...
-2
votes
2answers
4k views

How to connect MySQL Server and Apache Server [closed]

I have installed two Linux (Fedora 12) systems. One running Apache server or one running MySQL Server. I want to make a connection with each other to run my web server. How can I do that?
0
votes
1answer
538 views

Linux Mint VM in VirtualBox freezes with DISKFULL error

Disk partitioning guide for Linux Mint Debian This guides shows me how to partition my HD for Linux Mint. I'm trying to install Mint as a guest client on Windows 7 hosted VirtualBox. I used to let it ...
3
votes
1answer
1k views

whats the use of 'default' routing table?

This is default routing table database in any linux system; [kumar]$ ip rule list 0: from all lookup local 32766: from all lookup main 32767: from all lookup default I understand about 'main' ...
0
votes
1answer
886 views

Using grep to move files, Mac

I want to do a search using grep inside all the files of a directory for the pattern '@mail.ru>' (to clean up a mess from a spammer). Using Mac OS X's command line, which should be similar to most ...
5
votes
1answer
4k views

Why boot fails with bios SATA Mode as AHCI?

In a nutshell, I am trying to figure out for some Jetway engineers and myself, why the custom bios they made me does not allow SATA devices to boot in AHCI mode. Obviously, this is difficult to ask ...
1
vote
1answer
2k views

Installing R on linux (centos)

I need to install R on centos linux to an upgraded version. Currently we have 2.10 which I compiled from source but the server admin is asking me to move the install to /programs instead of /home/...
3
votes
2answers
9k views

How do I link two serial ports in GNU/Linux?

I need to have one serial port receive data and another to transmit same data. How do I make such setup in GNU/Linux. One will be a port created by bluetooth and another will be a USB to serial ...
3
votes
1answer
831 views

Print only attributes of file in linux

Is there a way to print only the attributes (size in particular) of a file without showing the filename? file -b * is similar to what I want, but . Maybe there is way of combining ls -hs and file -b?
0
votes
2answers
621 views

Ping to router not possible from ssh connected machine

I have a ubuntu pc with openssh server installed in my home network. I can connect via SSH to it without any problems. Being connected, every bunch of minutes this machine is not more able to ping ...
7
votes
3answers
8k views

Difference between mysql, mysql-server, mysql-client in Linux

I've installed mysql, mysql-server or mysql-client on Linux. What is the difference between them?
0
votes
0answers
6k views

Running out of memory, fork can't allocate memory

We are getting out of memory frequently, as well fork cannot allocate memory. I did some investigation. It seems that scripts are not case as I thought before this. I will share information which I ...
6
votes
2answers
10k views

What is a stopped process in linux?

So I had some PHP scripts running from the command line, and wanted to stop them running. I ran $ ps aux | grep php $ sudo kill 8754 $ sudo kill 8767 And then ran $ ps aux | grep php again to ...
2
votes
1answer
1k views

How to resume file upload to FTP in Midnight Commander?

Trying to upload very big file and after some hours connection is lost. When I try to upload one more time, there is only Append option in Midnight Commander, which is not the same as Resume...
5
votes
2answers
8k views

AutoIT script for linux?

As we know we are having AutoIt script for windows XP/2000/..etc. Do we have same AutoIt scripts for linux machines? Thanks in Advance.
2
votes
2answers
5k views

How to determine which process sends UDP packets periodically to an IP address?

I tried looping with netstat and but the packets are small and not frequent so do not get caught (can still see them with tcpdump). Need to know which process sends those packets.
0
votes
2answers
800 views

Replication of an LDAP server

I have a user access to an OpenLDAP server (let's name it A). I would like to replicate it in my OpenLDAP server (B) but without any administrator access to A. How could I do this ? And could I have ...
0
votes
1answer
1k views

allowing others access to specified subdirectories only

I have some folders with pictures and videos that I would like my other family members be able to view. I have added these folders to the family group, like this: chgrp -R family shared_pictures/ ...
0
votes
1answer
552 views

What is the proper way to make a start up script in Linux (Fedora Unbuntu) env?

I am new on LInux I want to make some startup script on my ubuntu machine. the startup script would start my ftp, http server automatically. How can i do it in proper way? Thanks Kit
0
votes
2answers
383 views

Files built with a makefile are disapearing (including the binary)

I am building a program on a TS-7800(SBC), and when I run make (show below), it appears to go through all of the steps normally, but in the end i do not get a binary file. Why is this, and how can I ...
0
votes
1answer
259 views

Windows, Linux login script

I want make som scripts to lock(mute,screen off,lock)/unlock(unmute,screen on,unlock) session, and I want execute it with hotkeys. I have script for lock Windows and Linux. And I need scripts to ...
2
votes
5answers
2k views

Kill program after it outputs a given line, from a shell script

Background: I am writing a test script for a piece of computational biology software. The software I am testing can take days or even weeks to run, so it has a recover functionality built in, in the ...
1
vote
1answer
1k views

Changing Java from OpenJDK to SunJava

I want to change OpenJDK to SunJava in my ubuntu linux desktop , i have downloaded the "jdk-7.tar.gz" from sun's website, but there problem is how to make the system to use the newly downloaded java ? ...
1
vote
2answers
795 views

Can a web server and XBMC HTPC co exist happily? [closed]

I have a machine that is currently dedicated to running my home theatre. It is way more powerful than it needs to be, and spec wise would have no problem running both a few websites and an HTPC What ...
4
votes
2answers
547 views

Wrong linebreak on SSH connection when scrolling back in bash

I have a Bash Terminal via a SSH connection in GNOME terminal. Server is Debian Linux, Client is Ubuntu Linux. The output of long lines is displayed well, but when I use the UP-key to scroll in the ...
0
votes
2answers
4k views

Rate limiting bandwidth per IP

First, I am not that good with computer. I even had problem with Windows PC. Right now I own a restaurant which happened to offer free internet. My ISP has my connection setup using a Ubuntu 11.1 box. ...
11
votes
1answer
18k views

what is run-parts in /etc/crontab, and how do I use it

I have been digging through my Linux system. To try and understand how it all works In the /etc/crontab file. I see the following # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * ...
5
votes
2answers
301 views

modify 128 bytes

I have to replace on a Linux web server, the first 128 bytes of some binary files. The files have a size of ~ 5Gb and I just have to rewrite the header bytes. What would be the best approach to do ...
0
votes
2answers
1k views

Weird RAM Upgrade Experience

I have a laptop, HP EliteBook 8540p having originally 4GB RAM and I've recently bought Corsair Value Select SO-DIMM 16 Go (2x 8 Go) DDR3 1333 MHz. It fits the required RAM specifications perfectly, ...
0
votes
1answer
2k views

Upgrade subversion to 1.7 on opensuse other than build source code

I'm using openSUSE Linux 11.4, it has Subversion 1.6.15 bundled. However, I'd like to upgrade to Subversion 1.7 today. However, the auto software update feature in YaST seems to only allow me to ...
0
votes
1answer
154 views

“File” exists or not

ls -il ls: cannot access éaj/p╬σt.ó∙e: No such file or directory ls: cannot access éaj/p╬σt.ó∙e: No such file or directory ls: cannot access é@j/p╠φt.│∙N: No such file or directory ls: cannot access ...
0
votes
2answers
728 views

Accidently changed the owner/group permissions of linux /

I accidently changed the permissions of linux / sudo chown -R deploy:deploy / and messed up every thing. SSH is not working, web server showing error. And it is a cloud server! (Ubuntu 10.04) There ...
2
votes
2answers
1k views

Is it possible to change the mount point used for external USB devices from /media to something else under GNOME?

I'm using CentOS 5.x and am trying to change the mount point that get's used when I insert a USB thumb drive or external USB drive. They're showing up under /media/KINGSTON for example. I'd like to ...
0
votes
1answer
2k views

System time wrong after running ntpdate because DST ignored

When I run ntpdate, my system clock displays the time as an hour behind what it should be. I know that ntpdate does everything in UTC, so I'm guessing there's a timezone setting wrong and it's ...
3
votes
1answer
1k views

Estimating compressed file size using a list parameter

I am currently compressing a list of files from a directory in the following format: tar -cvjf test_1.tar.gz -T test_1.lst --no-recursion The above command will compress only those files ...