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
3answers
127 views

Can we boot up our notebook with linux disc and get access to file?

We have found a old notebook in company and are unable to identify who is the previous user. We don't have the user password. We've try all possible password for the administrator but doesn't work. I ...
0
votes
1answer
259 views

Running GUI applications available in the remote CLI based server in a local CentOS based machine

I have two machines connected in LAN. One with CentOS with GUI support (say that's local to me) and other a CLI based server. I would like to run applications available in the remote CLI based server ...
0
votes
2answers
34 views

Finding out the type of drive in a linux computer?

Would any one have any suggestions on how to ascertain the type of disk (ide, sata, scsi) used in a Linux (ubuntu) computer with out opening the case?
1
vote
2answers
7k views

Centos 5, can't restart apache server

I am using Centos 5 to run linux server. I restart the Apache server with this command service httpd restart Usually, it works fine. It didn't work at this time and showed me this error. yum ...
5
votes
2answers
8k views

How to turn my Linux netbook into WiFi AP

I'm trying find out how to make a linux (Fuduntu) netbook with two network interfaces a wireless access point and act as router and share internet connection for a WiFi tablet. one interface is ...
4
votes
3answers
3k views

Live Screencast under Linux

I was having some difficulty with running a Live Screencast under Linux. I've found jtvlc and tried using that, but whenever I use it the stream comes out either blank or lagged with extremely high ...
0
votes
1answer
249 views

iso9660 filesystem when remade with a slight change blows its size by 100M

I have an iso 9660 filesystem image in which I need to edit just one file. I copied the files using cp -avf. When the files reach the destination, the sizes increase. That must be due to the increase ...
4
votes
5answers
4k views

Linux: Install Skype 4.0 but keep 2.2?

Skype 4.0 for Linux has been released. I would like to test the new version but keep the old 2.2 around just in case. I cannot find the 2.2 installation .deb, even though I thought that I did save one ...
16
votes
1answer
11k views

How do I set default group ownership for files in a directory?

I am running a cakephp webapp on Linode LAMP. I am finding that my temp files are created with root:root ownership. But the webapp is running with Apache's permissions (www-data). This causes ...
0
votes
1answer
687 views

Why does phpMyAdmin display an error with this setup?

Trying to setup phpMyAdmin for the first time with MySQL. I just created the config script with the wizard as follows: $i++; $cfg['Servers'][$i]['host'] = 'http://server_name_here.edu'; ...
8
votes
2answers
6k views

What does an empty iptables mean?

I’m using CentOS and when type in the following iptables command: iptables -L -v The output is as follows: Chain INPUT (policy ACCEPT 19614 packets, 2312K bytes) pkts bytes target prot opt in ...
2
votes
1answer
3k views

how to know if video driver is installed?

I've Debian Squeeze installed on my desktop, how do I know if my video card (its driver) is properly installed? This is part of the lspci command output: 00:02.0 VGA compatible controller: Intel ...
7
votes
2answers
11k views

“Emulate” 256 colors in PuTTY terminal

At my job, I ssh into a development server everyday. I usually use exceed XStart to ssh in, but I downloaded PuTTY to see if I could do anything that I couldn't do with XStart. I spend almost the ...
3
votes
1answer
13k views

How do I change the XRDP keyboard layout to en-gb in Ubuntu 12.04?

Does anybody know how to change the keyboard layout to en-gb in an XRDP session on Ubuntu 12.04? I am using mstsc.exe to connect to an XRDP server hosting an XVNC session, however I cannot work out ...
0
votes
1answer
700 views

Loop mount file available through FTP

Using curlftpfs, is it possible to mount a file available through FTP on a loop device? I get a Permission denied error when I try it: $ sudo losetup /dev/loop0 FTPMount/BigFile losetup: failed to ...
0
votes
0answers
539 views

Cannot mount harddrive from HP ProBook via SATA-USB adapter

I'm trying to mount harddrive from HP ProBook 4525s to another computer for data backup from damaged laptop. There are two ext4 and one swap partition on hdd. I'm using SATA-USB adapter, but after I ...
0
votes
2answers
825 views

Wallpaper/background switcher for Linux?

I'm looking for a background switcher that has these features: Add folders to use as source of wallpapers (usually called 'monitor folder') Enable/disable those folders (not just add/remove) Crop ...
0
votes
1answer
777 views

How to install SQLite or other DB besides MySQL on hosted server or local XAMPP

I am on Linux and I do have SQLite 3, but I want to use it with XAMPP. Let's say: Open localhost from browser Fill a small form Send the form to a perl script The perl script should interact with ...
1
vote
2answers
4k views

under which directory can i find the packages installed using yum

where do the packages installed using the yum command go ? For example i installed some dependencies using the command : yum -y install kernel-devel kernel-headers Where can i find these installed ...
1
vote
2answers
14k views

Installing VLC on CentOS 6.2

I'm using CentOS 6.2, and I tried to install VLC Player using yum, but it shows "No package vlc available". I tried below command: [root@localhost ~]# yum install vlc Loaded plugins: fastestmirror, ...
0
votes
1answer
179 views

what is kernel headers 3.3.2-6.fc16.i686.PAE : Unable to start the VMWare

I installed VMWare workstation 6.5.0 for linux (fedora). But when i run it this screen pops up : and i am unable to start vmware. I googled it and couldn't find much except for this : yum install ...
20
votes
7answers
51k views

Why redirect output to 2>&1 and 1>&2?

I have come across several commands that use 2>&1 and 1>&2 but quite can't get my head around the purpose of using it and when I should be using it. What I understand I know that 1 ...
2
votes
1answer
11k views

Setting up Lighttpd and FastCGI for my own web app?

I'm running Gentoo Linux, and I'm trying to get Lighttpd+PHP+FastCGI working. I discovered that Lighttpd doesn't have a FastCGI process manager. So, you're supposed to use spawn-fcgi. I have Lighttpd ...
0
votes
1answer
96 views

Troubleshooting Linux performance — my server has lost its mojo

I have a machine that I'm trying to troubleshoot -- could be a hardware problem, could potentially be a software problem. It's a Dell PowerEdge 2950 (with a couple of dual-core 3.5GHz Xeons) and I've ...
4
votes
1answer
924 views

Recovering data from a RAID 0 array

I have an Intel software RAID 0 setup with two 500GB disks (i.e. "fakeraid"). The metadata on one of the disks has been lost and so the array will no longer activate. I know the order of the disks, ...
3
votes
3answers
4k views

How do you increase the resize border thickness in Xubuntu 12.04?

I want to make the window resize border larger, but do not want to change the window manager or the desktop theme. How do I do so?
1
vote
3answers
1k views

How do I send a command to a Linux box from a Windows box in a script?

The problem: I have a backup program (BackupAssist) that can run scripts automatically after a backup. I want to automatically shut down the computer that stores my offsite backups after the backup ...
0
votes
1answer
464 views

Apple streaming tools on Linux

Can you guys help me. I need to run Apple's http live streaming command line tools on Linux. I've tried different ways to install .dmg itself, then I've tried to extract files from it, then finally I ...
0
votes
1answer
1k views

How to see whats eating my swap space on linux

I have a unique situation here where a Java app I wrote is choking when it forks and creates some child processes. According to the error logs I'm seeing there is a java.lang.UNIXProcess method ...
1
vote
1answer
572 views

What does the output of this “source” command mean?

Unix newbie here, installing MYSQL. Per the directions from the server admin, I just added two lines to the end of my .cshrc file to create 2 new environment variables: setenv MYSQL_UNIX_PORT ...
0
votes
2answers
956 views

Copy every file with a certain extension (recursive)

I need a script (may it be bash, ksh, or whatever) which copies, for backup purposes, all the sub-directories and files of a directory: .znc - but .log files. The structure is like this: ...
0
votes
1answer
2k views

Can't boot into Windows 7 from GRUB

So a while ago I installed Ubuntu. I was hoping I would be able to use Windows boot loader to choose between Windows 7 and Ubuntu every time I booted, but no Linux had to install GRUB. After a while ...
0
votes
3answers
3k views

How to search for a string in a line and return line and line numbers in linux?

I want to search for a string in a file, and the output should give me the line number and line containing that string. How can I do it?
0
votes
2answers
4k views

Can't mount filesystem on HD that came from WD NAS

I have a WD NAS drive, I need to recover some deleted files, so I've taken the drive out and plugged it into an Ubuntu machine to get direct access to the filesystem... When I check the drive in ...
1
vote
1answer
671 views

Specifying startup commands with socat

I'm connecting to a simple server which is offering a basic text-based interface using socat like this socat readline TCP4:localhost:8090 There are some initial commands I have to execute every ...
1
vote
1answer
64 views

VIM in shell triggers d key but GVIM work ok

I have strange problem with my vim. In shell when I edit file my VIM triggers (probably) d key (running vim test.txt). When I press j he deletes first 2 lines. Everything works ok when i run without ...
2
votes
2answers
9k views

Debugging connection timeouts using strace?

I'm trying to figure out why is Eclipse spinning, so I decided to fire up strace. I found the eclipse process using: $ ps ax | grep java 5546 ? Sl 19:04 /usr/bin/java ... [arguments ...
3
votes
1answer
1k views

Can't kill user process

On a Linux system it seems I can't kill my process I just started. ps -ax output: 6731 pts/1 DLl 0:06 ./main I tried kill -9 6731 but it just stays there. I don't have root access. What ...
3
votes
3answers
4k views

Linux CLI: fail-proof way to check temperature

I usually use one of the following to check temperature of Linux-based computers: $ cat /proc/acpi/thermal_zone/THM/temperature $ acpi -V $ sensors However, on the current system I am using (Debian ...
1
vote
1answer
82 views

How to share the environmental variables between windows and linux(Ubuntu)

I have windows 7 and ubuntu installed as dual boot. Till now i was working on Windows and have defined my user environmental variables. How can i import or use those defined in windows to ubuntu?
0
votes
0answers
46 views

How to make a script to download and configure apps?

I need to write a script to avoid the chore of downloading things and having to configure everything, every time I make a fresh install of Ubuntu. Any ideas on how to do that? Is bash the ...
1
vote
1answer
133 views

Do control groups improve system performances?

According to this website, enabling cgroups in the kernel can boost performances by sharing resources in a better way. In particular, the conclusion states that:  Nevertheless, with a little trial ...
34
votes
5answers
238k views

How can I resolve the error “cannot execute binary file”?

When I login using SSH, all I can see is this... -bash: /usr/bin/id: cannot execute binary file -bash: [: : integer expression expected I couldn't do anything in here. Commands such as halt, ...
1
vote
1answer
384 views

How can I set `less` or `more` max lines (scrollable height) limit/boundary in linux?

(Sorry for the title. Any suggestions?) I've set my commandline PS1 to cover 3 lines: white space user, server and pwd $ or # to input I think less (or more?) is configured to break after ...
4
votes
1answer
866 views

Which Linux distribution for vehicle LCD instrument panel

I will be designing an instrument panel for a vehicle to display the common gauges that you would find in a car - (speedometer, rpm, fuel level, oil pressure, etc.). We have selected a 7" LCD and are ...
2
votes
0answers
534 views

XRDP multiple log in sessions

I use xrdp, and I am trying to have multiple sessions with the same user (ABC). I do not have any connection issues. What's happening is when I open the second session it just mirrors whats ...
0
votes
1answer
956 views

VIM zsh, bash and colors in command line on Ubuntu

I have problem with VIM command line when calling system commands. e.g. !ls, all command output colors aren't parsed by VIM. My system is Ubuntu 12.04 LTS with VIM 7.3.429 from Ubuntu repositories. ...
1
vote
2answers
2k views

How to reformat a MacOS X drive for external storage using Linux tools?

I have an old Mac OS X drive that I would like to reuse as external storage. I'm trying to reformat the drive to allow me to do this using Linux parted. I've been successful removing all the old ...
0
votes
3answers
1k views

Customizing BASH output colors?

How do I customize bash colors for command output? For example; I run ls and want directories and files to be a different color. How do I accomplish this? I see that distro's are doing this but I ...
1
vote
0answers
185 views

DLNA hardware player paired with router

I have a powerfull router (ASUS RT-N66) with built-in DLNA server (minidlna) with no transcoding functionality. My Philips TV could play about 60-70% files directly from router's DLNA server. So I ...