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

0
votes
1answer
727 views

Redirect a url to another url

I need to redirect a url to another url. THe PC where this should be done has Linux but no server program such as Apache. When the user type www.mycomerp.com, it should redirect it to ...
3
votes
2answers
874 views

How can I create keyboard shortcuts to run commands in a terminal?

I was wondering is it possible to bind say F5 to output sudo apt-get update so I can press one key to write this into the terminal?
4
votes
1answer
12k views

How to configure ALSA?

After switching from Unity to XFCE, I ran into difficulties with my sound configuration. I have multiple sound cards on my system, the one that I want to use is the last one to be loaded by the ...
0
votes
0answers
47 views

Unable to install Windows 7/8 on VirtualBox

I am running a Debian-based linux OS called CrunchBang. I am trying to install Windows 7 or 8 (doesn't matter) on VirtualBox. However when I get to the installation phase sometimes copying files ...
0
votes
1answer
327 views

Redirect PROXY traffic to test box using IPTABLES

Marked this as answered. I'm going to pass on trying to get this to work. It was only for testing. I'm currently using a proxy server (squid) that's listening on port 8080. Users' browsers are ...
0
votes
1answer
4k views

Where are logs of MySQL ? Fedora

Hello I just installed MySQL on my Fedora from Source, with cmake,make,make install etc. It's working, but where can I find logs of the server? I have looked into /var/log, but there is nothing with ...
5
votes
2answers
2k views

How does one enable --write-mostly with Linux RAID?

Unfortunately the mdadm and mdadm.conf man pages are not quite up to par. I would like to enable the --write-mostly flag for my RAID, but neither the man pages nor the internet will tell me how. I am ...
1
vote
1answer
51 views

Filtering out incomplete log entries

I'm trying to get some garbage collection logs into Splunk. However, when java starts garbage collection, it starts the log entry, then when it's done it puts in the end of the entry. Splunk treats ...
1
vote
3answers
812 views

linux routing outbound port 80 traffic via ssh tunnel, iptables, or a simple route

I have two hosts, A and B. Host A hosts services on port 8080 and has outbound internet firewall rules allowing port 80 and 443 access to Host C. Host B is on the same subnet as Host A. Host B is ...
3
votes
1answer
1k views

3 monitors, 2 X screens, Twinview not working as expected

I have 3 monitors on 2 graphics cards (both nvidia) to get all 3 working i set 2 as twinview and one to have its own x screen. but when i do this, the twinview screens (which previously worked like ...
2
votes
1answer
1k views

Linux SSD Performance with Luks / LVM

I've recently obtained a Samsung EVO 840 1TB SSD as a hard disk replacement for my laptop (Lenovo X220t, core-i5-2520m, 8GB RAM). So far, I'm not impressed with the resulting performance and request ...
1
vote
1answer
1k views

Make Linux taskbar show preview like Windows 7 taskbar

In Windows 7 when you hover over an open application in the taskbar, it shows a small image of that application. Is there a way this can be done in Linux?
0
votes
2answers
147 views

Which Linux Desktop Environments show a listing of favorite apps in the start menu, aka. similar to Windows? [closed]

currently I'm using Linux Mint Cinnamon. Is there a way to show a listing of favorite apps in the menu of linux mint Cinnamon? Or if this is not possible, what other versions of Linux have this ...
1
vote
2answers
247 views

Ping isn't acting accurate?

I've been trying to diagnose some latency issues with my internet connection. I've been lagging out of online video games and such, which of course could be their server's fault. So, I've been ...
0
votes
0answers
666 views

Unable to update libc6:armhf 2.13-38+rpi2

I'm trying to install PION package and I'm unable to do this on RaspberryPi: pi@raspberrypi ~ $ sudo aptitude install libpion-dev The following NEW packages will be installed: libc-dev-bin{a} ...
0
votes
1answer
258 views

Creating virtual network attached storage with VMware

I have recently began using VMware virtual machines to develop kernel modules for Linux. Currently, I am working on a module that requires a storage device attached over the network. I do not actually ...
0
votes
1answer
372 views

Check if WebSphere server is up

Is it possible to check from Java code whether a Linux server (websphere) is up or not? I use the command below (from Java with Runtime.getRuntime().exec) in order to open SSH session to my Websphere ...
0
votes
1answer
341 views

Fedora 19 fails to start

I had updated fedora 17 to fedora 19 (kernel 3.10.11-200) on my laptop using fedup a ~2-3 weeks back. Everything was fine until yesterday night. All of a sudden while shutting down I got some ...
1
vote
1answer
258 views

Installing archlinux

Hello I am trying to install arch linux on a virtual machine. But when I import the iso and go through every step and get into the actual shell everything is ok but when I reboot the installation ...
2
votes
1answer
125 views

Is it safe to delete empty directories recursively on Linux?

Using the find command, it is easy to recursively delete all empty directories. Which empty directories are safe to delete, and which ones are not?
0
votes
1answer
120 views

Why nothing happens after crontab?

After executing fllowing command cursor skips to new line and nothing happens user@machine:~$ sudo crontab Why?
1
vote
3answers
385 views

Debian winbind name resolution giving multiple addresses - how to select one?

I'm trying to get winbind set up on a Debian installation as a fallback for when our DNS server fails to work. I have to use winbind (instead of an alternatives like mDNS/Avahi) since I have to use a ...
0
votes
1answer
239 views

How to decide if a VPS server can handle the current traffic? [closed]

I recently moved my site from a shared hosting to a VPS. When it was in the shared hosting, actually nothing went wrong, but now, the VPS server became unresponsive 4 times in 2 weeks (and I need to ...
3
votes
2answers
1k views

Is it possible to have Grub2's boot.img in the MBR and have it load core.img from a separate boot partition?

I have a multiboot system that I would like to use Grub to manage. The version of Grub shipping with my Linux distro is Grub2, and it installs its equivalent of stage 1.5-2, core.img, into the ...
0
votes
1answer
80 views

linux - installed wordpress lack write problems

I have recently installed wordpress but I have run into the problem that when i try to install plugins and themes i lack the permissions to write files. My OS is linux ofc, running thru ssh terminal. ...
4
votes
4answers
223 views

What's the importance of / in the following Linux command

What's the difference between cd abc/xyz/ and cd abc/xyz What's the importance of / at the end? Which is the right way of using it? Because both seem to work properly.
1
vote
1answer
3k views

Find where packages have been installed using rpm

CentOS 5.3 I have been installing some packages using rpm -ivh package However, I am just wondering what command I can use to find the path of where the packages are installed. Many thanks,
4
votes
7answers
10k views

Copying large number of files from one directory to another in Linux

I have a directory containing around 2.8 lacs of files. I want to move them to another directory. If I use cp or mv then I get an error 'argument list too long'. If I write a script like for file ...
2
votes
2answers
1k views

autobench in ubuntu 8.10

I'm using ubuntu 8.10. I want to do benchmarking using autobench. I could install httperf by the command sudo apt-get install httperf I thought I should be installing autobench in the same way ...
2
votes
1answer
360 views

Options of the ‘ps’ utility [closed]

Can someone please enlighten on what the difference is when passing the 'j' and '-l -y' options to the 'ps' utility. An other good 'ps' resource is welcome too.
2
votes
1answer
6k views

Grub makeactive command in Grub2?

Currently i have GRUB2 with Ubuntu 9.10 installed, including 2 other O/S. I have an entry for an o/s in my grub.cfg: menuentry "My OS" { insmod ntfs rootnoverify (hd0,6) makeactive ...
3
votes
4answers
614 views

Unix command to empty logfile from within “less”?

I prefer using "less" to reading logfiles. As opposed to "tail -f" I can both follow (Shift + F), stop (Ctrl + C), and navigate up and down u and d, etc. Now what I really would like is the ability ...
0
votes
1answer
322 views

unable to assign external static IP ( /etc/init.d/networking restart hangs )

I'm trying assign a static IP for my web server. I purchased a static IP from my isp, and the isp entered DNS, subnet, and static IP settings in my linksys Wireless-G broadband router. I was able to ...
1
vote
0answers
397 views

No notification on a remote computer with notify-send

I can't send a notification with notify-send over ssh, even though I have no problem launching other GUI programs from the same ssh connection The command I use is: ssh -X user@remote "DISPLAY=:0.0 ...
0
votes
1answer
399 views

mqtt kafka bridge install - 'annotations are not supported in source 1.3' error

I am trying to install MQTT KAFKA on Ubuntu and getting an 'annotations are not supported in source 1.3' error when we run ANT cmd. From researching the issue we see that a few fixes are out there ...
0
votes
0answers
35 views

Allow HTTPD service to create folders and make changes in the files

I am running drupal on a host, the problem is it can not create directories or update files. I have tried to apply the 775 permissions to all the folders but still the problem is not solved. After ...
10
votes
1answer
11k 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 * * * ...
1
vote
1answer
457 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 ...
4
votes
4answers
15k views

Windows to Linux Remote Desktop

I'd like to remote into my Linux (Ubuntu) desktop from a Windows desktop. Of course there is VNC, among others. The trick is that I just want to have a remote session without having any local screen ...
1
vote
1answer
1k views

How To install [lshw] command on XenServer 5.5?

I have to collect hardware information from my hardware, especially the Hard Disk. So I need to use the Linux command-line lshw in order to have what I want.
0
votes
1answer
31 views

Setting up shared logins for web and system users

I'm looking to create a web automation and administration area that users who have permissions to do system tasks can do them via them web, such as creating/editing users. I thought about making a ...
1
vote
1answer
38 views

Accessing Ubuntu-Made file on Windows

I have a dual partition on my computer and frequently use both sides. Whenever I mount my windows partition and save a file that I made in the linux environment, I always make sure to make the command ...
2
votes
1answer
1k views

Giving permissions to apache user

I've developed a web application that lets the users to upload images and transform them to later download them again transformed. I obviously had to give apache user permissions to the directory ...
2
votes
2answers
4k views

Alternative to NFS or better configuration - instable network, simple to set up

We are currently using NFSv4 for file sharing in a small office. Unfortunately the network is not very stable and it seems to have huge impact on the Ubuntu clients if the network is gone: The whole ...
0
votes
0answers
49 views

Two SSDs,which are exactly same, but sequential write performance varied widely?

I bought two SSDs,which are exactly same, but sequential write performance varied widely? sdb is the first SSD, sdc is the second SSD, and partitions are same(both sd*1 and sd*2) and the sdb1's ...
0
votes
2answers
527 views

Automatically mount Truecrypt volume on login using account password

I am using an Linux Mint Debian Edition. I would like to have a Truecrypt volume (either a file in my home directory or a separate partition) be automatically mounted on login using my login password. ...
0
votes
2answers
183 views

How to close firefox service from putty?

How can i close firefox service from putty?? I have tried using service command.. But i don't know the exact syntax.. I am getting following warning box Firefox is already running, but is not ...
1
vote
1answer
87 views

Folder to put under revision control linux workstation

I have several Linux workstations, including servers on which I often make critical changes and would be happy to be able to roll back them in case I break something. I therefore consider versioning ...
0
votes
1answer
284 views

How can I define a Hebrew/Latin layout + Compose Key in Mageia 2?

I'm on Mageia Linux Cauldron (what will become Mageia 2), where Mageia Linux is a recent community fork of Mandriva Linux. This script gives me the Xkb layout that I need: #!/bin/sh setxkbmap \ ...
1
vote
0answers
68 views

Huge file input/output

My question is a bit general, but the application is very practical. I wonder, how does system (Linux in particular, but general mechanisms are interesting too) handles reading/writing of huge (larger ...