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
441 views

create alias to ssh to a server and then connect to mysql

I currently have an alias to connect to a remote server: alias server='ssh user@ec2-00-00-00-000.compute-1.amazonaws.com' I would like to have an alias to connect to this server, and then ...
0
votes
3answers
286 views

What will happen when I 'cat' 'ksh'?

I used the following command in my unix box. $ cat ksh And it gave a rolling log of latin and greek letters and symbols and it kept on going with no signs of stopping. Eventually I had to close my ...
0
votes
1answer
5k views

Steps to install PHP 5.4.3 from rpm and yum?

I got a link saying following steps of installation of PHP 5.4.3. rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm yum install php54w Can i use above method safely? Or any other rpm that i ...
1
vote
1answer
688 views

remove deleted OSs from grub 1.98 boot menu

I am trying to remove entries for deleted operating systems, from grub 1.98 menu. I am using Gnu/Linux Debian 6 ( grub version 1.98+20100804-14+squeeze1 ). I have an Ubuntu partition with 10 kernel ...
2
votes
2answers
304 views

yum/RPM depend on generic package (like “provides” in other package managers)

I'm trying to figure out how to make a package of mine depend on anything that provides "java", but I'm not sure what to even look up. Apparently "yum provides" is a command for finding out which ...
0
votes
1answer
296 views

Is the X Server refresh rate same as the monitor refresh rate?

Is the refresh rate that we set using monitor properties ( in say ubuntu) the actual number of times X will refresh the screen in 1 second ? Or is it just some configuration of the hardware and has ...
2
votes
1answer
764 views

Max temperature setting and automatic throttling-down CPU on linux

I recently have situation where my laptop can heat to 105 degrees and shut down. I think shutting down is some bios/laptop internal protection, because it doesn't just gracefully shut down the system, ...
2
votes
3answers
1k views

Need to move linux Debian from bigger harddrive to a smaller one

I installed Debian Squeeze on a 1.5 TB harddrive. But later found out that there is a smaller, 250 GB drive around here. So, I need to move the installation (maybe around 40-50 GB in total) from ...
3
votes
4answers
285 views

Three computers accessing internet but only two network interfaces showing in ´ifconfig´, why?

My gateway(router) is connected to DSL. The gateway connects to 1 wireless transceiver device. 2 fixed computers connect to the router. At the moment of me doing ifconfig 2 fixed computers were ...
3
votes
1answer
319 views

Why less -F option does not work with -S option

While trying to improve output from hg diff I've noticed that less -F option does not work with -S option. Why is that happening and how to achieve desired effect? Here is handout from man: -F or ...
1
vote
1answer
842 views

Routing HTTP traffic over SSH

I need to access the URL http://REMOTE:54000. My network does not allow outgoing connections on port 54000. However I have SSH access to a host "TRUSTED", which does not have any such restrictions. Is ...
0
votes
2answers
617 views

View old command output from a closed terminal

I ran hg pull hg up to check in my working copy to the Mercurial repository. I got some warning messages in the terminal. I closed the terminal and now I want to see those messages again. Are ...
2
votes
1answer
999 views

GDB debugging tool for linux

I'm executing a pro*c executable in linux and I've got segmentation fault error. But there is no core file dumped. Thus, I want to debug the program using GDB debugging tool. However, I see that it ...
0
votes
3answers
195 views

Avoiding backup partition getting damaged or lost

I have an HP DV6 2005AX laptop, which came pre-installed Windows 7 Home Premium. It has two partitions C: and D:, the latter is a backup partition to restore the laptop to the factory default state. ...
0
votes
0answers
932 views

Speed up my fedora 16 startup

i am quite new to Linux, and recently i happily install fedora 16 on my Acer laptop, it was wonderful in the beginning, but now the startup becomes very lagging. i Google it and run the command ...
0
votes
1answer
243 views

Linux: Automatically restart 3rd party process once pegged at 100%

Is there any generic way to monitor a process and restart it automatically if it's pegged at 100% CPU for over x seconds? I'm battling some bugs in Mono's fastcgi server and while I search for a fix ...
5
votes
3answers
984 views

Different SSH/Login Password From SUDO Password

I'd like to use a different password to elevate my user to sudo status than the password I use to login (either via GUI, shell, or SSH) to my account. Is this possible? EDIT: Since setting the root ...
1
vote
2answers
2k views

udev rule not being executed

I have the following device that udevadm lists as: looking at device '/devices/pci0000:00/0000:00:1c.7/0000:09:00.0/usb6/6-2/6-2:1.0/ttyUSB0/tty/ttyUSB0': KERNEL=="ttyUSB0" ...
4
votes
2answers
303 views

Give user write permissions to directory owned by other group

I have a directory foo with drwxr-x--- someuser somegroup and some files created in that directory foo that have read permissions for the owner, group and other. How can I give user otheruser write ...
5
votes
2answers
891 views

is there a way to read the cumulative size of all files in a folder?

I want to read the size of a folder from the command line. ls -lh shows all folders as being 4k, which presumably is the size of the footprint of the folder itself, rather than the contained files. ...
1
vote
4answers
3k views

can dd be used to wipe clean a directory?

I have a directory on a Mint install that I want to wipe clean (not just delete the pointers, actually zero the info off the drive). is it possible to clear the data by using dd? For example, if the ...
1
vote
1answer
479 views

How to create and deploy Linux images

The goal is to create an image of a Linux operating system with specific scripts, in-house software and OS packages installed which is then put on a CD. This CD is then sent to customer, they put it ...
3
votes
1answer
376 views

How does ArchLinux handle dependency conflicts?

In the traditional release model, all packages in a release are compiled with the same version of the compiler against the same versions of libraries, and the release team carefully pick software ...
1
vote
2answers
2k views

What is file descriptor 10?

What is file descriptor 10? Real-world example (where standard output is ignored, standard error redirected to standard output and data from file descriptor 10 is redirected to standard output) that ...
3
votes
4answers
4k views

Why does apache write its own process ID in httpd.pid?

I am new to Apache and debugging issues caused by it. I have come to understand that when Apache starts up, it writes its own process ID in httpd.pid in a human-readable format as explained here. I ...
4
votes
1answer
116 views

Running a command on all files that contain a string

I'm finding a bunch of files with find . -exec grep -l mypattern {} \; What's the simplest, most elegant way to run a certain command separately on each of the resulting list of files?
0
votes
1answer
261 views

Disable SELinux context

I've a RHEL 5 machine with SELinux disabled. sestatus -v SELinux status: disabled What is the effect of SELinux context on a user's home directory? ls -lZ -d zxtdfg drwx------ zxtdfg dba ...
0
votes
1answer
199 views

What do Inst and Conf refer to when using the command apt-get in Linux?

When I run the command apt-get install flashplugin-installer I am displayed the following lines of details Inst flashplugin-installer [11.2.202.233ubuntu0.11.04.3] (11.2.202.235ubuntu0.11.04.1 ...
0
votes
0answers
315 views

Why do the commands apt-cache showpkg and apt-cache show display different results in Linux?

I am looking to update a particular package on several Linux systems however when I run the commands apt-cache showpkg {name_of_package} it displays a higher version of the package is available e.g. ...
0
votes
2answers
325 views

Bind shortcut switch to a specific application

I usually have several applications running on my workstation. Usually I need VIM, Google Chrome and Terminal and some other applications that I don't always need, e.g. mail client, IM, VLC, etc. It ...
1
vote
2answers
739 views

Can i scp to an sftp-only server with RHEL5?

I have a RHEL5 box with sftp access to a central server. No ssh, not anything else but sftp. SFTP is nice, but it's interactive. I've heard of scp variants that use sftp protocol under the hood, ...
1
vote
1answer
145 views

Mount physical disk with swap included

I'm using VirtualBox and a virtual hard disk, formatted as a swap partition, for booting a virtual machine with a USB key. The guest machine is Ubuntu 10.04. I realized that there's no swap partition ...
0
votes
0answers
416 views

windows crashing after installing fedora 16

I have HP dv6 pavilion. I installed fedora 16 in it along with windows. I installed fedora on a separate partition. After installation I booted to windows, but it crashed. It shows a "starting windows ...
1
vote
4answers
233 views

is there a better way to move folders up a directory than mv?

I downloaded a rather large filestructure (>100GB) to a subfolder of my root directory, lets call it /folder. The problem is, I accidentally copied it into a subfolder of that folder, rather than ...
0
votes
1answer
190 views

network traffic download and upload links and paths

I want to get details of my pc's network traffic in details.. i.e. the urls of the uploads and the downloads.. all the network traffic monitors that I tried show the receiving and sending bytes and ...
1
vote
1answer
938 views

Flash player problems in Chrome on Linux Mint 12

I have pretty funny problem with flash player, I can view movies from youtube, but flash does not save my usage data and don't let me change prefferences. Problem occurs only if I install adblock and ...
0
votes
1answer
1k views

Install any Linux flavor on Macbook Pro early 2011

I am trying to install Linux on my MacBook Pro. I would prefer Fedora but XUbuntu or Ubuntu is fine also. The firmware does not support the last Linux versions. The only OS I could install was ...
3
votes
1answer
2k views

Remove Grub 2 Blockfiles from Partition eg. /dev/sda1

In the process of setting up an encrypted Windows partition along with a dual booting Ubuntu, I have had to install the GRUB bootloader onto a partition /dev/sda1 instead of the MBR. In this setup ...
0
votes
1answer
442 views

emacs won't start due to “No fonts match `Inconsolata-12'”

Several weeks ago, I tried to customize my default font face Emacs 21.4.1 running on CentOS 5.5, and now emacs won't start. emacs will start with the -fn flag. However, I can't find where ...
1
vote
2answers
2k views

How to autostart xbindkeys?

I use xbindkeys for managing my hotkeys in Gnome 3 but it doesn't have a daemon so I added it to .xinitrc. ~$ cat .xinitrc ck-launch-session gnome-session nohup xbindkeys & Strangely, this ...
1
vote
0answers
4k views

Cannot delete a route in redhat linux

I have the following entry in a redhat linux machine to reject the private network route: Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 - ...
3
votes
2answers
3k views

What does mean sudden “Text file busy” when calling a script?

bash: ./myscript: /usr/bin/env: bad interpreter: Text file busy "myscript" begins with #!/usr/bin/env python. Just retrying starting it fixed the problem. Why system program env sporadically ...
0
votes
2answers
203 views

Change Linux System Time Relatively

I need a script which will modify the system time by x amount of minutes. Something like: #time = 12:56 #x = 2 if time_bool: time = time + x #time = 12:58 else: time = time - x #time = ...
1
vote
0answers
708 views

Monitor AMD/ATI GPU memory usage under linux

Is there a way to monitor the GPU memory usage of ATI graphic cards under linux? I found several solutions for nVidia graphic cards, but nothing for ATI graphic cards. It might be possible with ...
3
votes
2answers
13k views

Linux support for Intel GMA 3650

I recently purchased an Intel D2700DC motherboard and I quickly realised there are no Linux drivers for the integrated graphics (Intel GMA 3650). Does anyone know if there will be any driver in the ...
1
vote
1answer
3k views

How to change the memory PAGE_SIZE?

I'd like to know the following: The default memory PAGE_SIZE in linux is 4096 bytes, how to change this size on a running system? How the hugepages work in linux and how to set the hugepage size? ...
0
votes
1answer
70 views

How do I cycle through from top to bottom when passing a pattern in command: in Linux?

I came across the post at Linux 'man' command: How do I search for a word/phrase and cycle through? which explains the ability to cycle to the next pattern but how do I get it cycle through ...
0
votes
2answers
878 views

What is “Sudo -Hiu” for?

I followed a tutorial to install Hudson server. In the tutorial was the following Linux command (hudson is a username in Ubuntu): sudo -Hiu hudson What is sudo -Hiu for? What happens after I ...
0
votes
2answers
445 views

Strange characters in Linux console

I don't know how I've exactly managed to do this, but when I now invoke some commands (like man man or less) I see strange ESC[1 characters on the screen. It looks like this: The interesting part ...
0
votes
1answer
145 views

vsftp on RedHat (CentOS) - Is there a way to disable uploading files by mime/type or extension?

E.g. disable "*.file, .html" uploads? Or enable only ".avi" and "*.mov" etc.