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

3
votes
1answer
444 views

Linux Server: online resize root partition

I have an Ubuntu Server hosted at Aruba Cloud and I want to resize the root partition... The current partition scheme is (roughly): sda1 /boot 300MB sda2 swap ? MB sda3 / 10GB <FREE ...
2
votes
1answer
2k views

rsync cannot delete non-empty directory

When syncing my remote backup I get the error rsync cannot delete non-empty directory. I know the cause: I have excluded some files and when rsync tries to delete a remote directory because it ...
3
votes
2answers
4k views

How would I check the version of vncserver on Redhat?

I want to check which version of vncserver I am using in my linux box. What is the command for that? When I run which vncserver I get /usr/bin/vncserver P.S: I am running Red Hat Enterprise ...
2
votes
2answers
824 views

quick way to adduser and userdel in multiple machines

Currently I just go to each of our servers to type adduser <username> --firstuid 1101 --gid 1001 --disabled-password to add a user. Is there a quicker way to do so on all servers at the ...
0
votes
1answer
330 views

Error reading package lists

I have been trying to get updates on my Quantal Desktop and apt-get update gives me the following: Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with ...
0
votes
3answers
1k views

Samba Server Configured in Fedora 13 ,but unable to access from windows

Configuration file :/etc/samba/smb.conf as follows [global] workgroup = workgroup server string = SambaServer security = user name resolve order = hosts lmhosts ; ...
2
votes
0answers
496 views

Can you run a program using a custom glibc? [closed]

I installed Mathematica 9 on an old Red Hat Enterprise Linux AS release 4 system. After the installation, I tried to start Mathematica, but following message came out: ...
0
votes
1answer
182 views

Passing User's aliases to root while doing “sudo su”

Is it possible? I could make an alias to sudo su -;source .bashrc but it seems like source .bashrc is executed in the earlier shell and not in root's sheel (Why?)
1
vote
2answers
241 views

How to restart a remote x11 program using ssh

Ok I have 2 linux machines, machine A and machine B. Machine A is a server running icecast audio server. Machine B is a desktop in the studio running BUTT(Broadcast Using This Tool) an x11 app that ...
4
votes
2answers
1k views

How do I disable terminal control escape sequences in Linux?

I am writing software that interacts with an embedded device running a version of busybox Linux. Basically, I am just sending commands to the device and parsing the output from the commands . The ...
2
votes
2answers
431 views

Bad interpreter error when executing shell script with the correct shebang line

When executing a script from the path (scriptname, rather than "sh scriptname") I receive the following error: -bash: ./gitup: /bin/bash/: bad interpreter: Not a directory All of the other scripts ...
3
votes
2answers
698 views

vim coding templates

I recently started learning vim and, I'm curious, what's the best way to setup a sort of bare-bones template for specific types of files? For example: say I wanted to automatically load some C ...
1
vote
1answer
740 views

How to disable all Gnome 3 notifications?

A pop up shows up at the bottom on the screen in Gnome 3, when ever there are software updates or when I plug in an USB device. I have disabled notifications in the menu in the top right corner, bit ...
1
vote
1answer
1k views

Edimax EW-7811UN dongle drops connection on ubuntu laptop

I have an Edimax EW-7811UN WiFi dongle which I bought for a raspberry pi. I have not managed to get it to work so am testing on my laptop for easier fault finding and since I know the installation and ...
2
votes
1answer
215 views

Set DPI of individual applications in Linux

In order to test a Qt application I'm working on I need to run it with various DPI settings to see how it looks. I can change the DPI settings globally in a couple of ways (Appearance->Fonts or ...
2
votes
1answer
163 views

How do I grant higher privileges to a user in linux (Ubuntu server)?

First off, yes I am root. I have another account setup without shell privileges, and without a home directory (for icecast), that now I want to be able to run a script from that uses private key based ...
2
votes
1answer
92 views

USB Sound Card with no “native” sound card

On a PC (HP ML110 G60), with no soundcard, Can I achieve sound/microphone plugging a USB sound card? Runnning Linux.
3
votes
1answer
2k views

Error on changing the resolution of a vnc session in linux on the fly

I connect to my workstation which is a linux box(Red Hat Linux) from a my laptop(windows 7 machine) through RealVNC . When I am work I use a docking station and the resolution of it is quite high and ...
0
votes
1answer
2k views

Is there any sound enhancer software for Linux?

one of my biggest attachments to Windows is DFX Audio Enhancer because it enhances audio from all applications before reaching my speakers. Is there any similar software/configuration for Linux? SRS ...
0
votes
1answer
48 views

How to convert charset of a file

I have a file (php file) which is has a charset that I need to convert to us-ascii. How can Ido this on Linux?
1
vote
0answers
288 views

Use a video as an overlay on another video from command line?

MEncoder/FFmpeg can overlay a video with an image from the command line. Is this possible with a video? I want to overlay a video with another dynamic video. Some parts of the overlayed video must be ...
0
votes
1answer
185 views

How to migrate a change in directory structure?

I use rsync to update the remote backup of my digital photos and videos. I have around 100GB data. Now I have heavily reorganized my media folder into a more logical structure. Done manually, not ...
4
votes
1answer
2k views

7-zip files on Linux with AES-256 encryption

I have a requirement to zip up some files in Linux with 7zip using AES-256 encryption. The end user will be opening in Windows with 7zip. I'm using the following command: 7za a myfile.zip test.txt ...
1
vote
4answers
181 views

How to overload a linux command

Every time the user types git commit -a, I want to run it in my own script, Then run original command git commit.. and have it run as it would have normally.
0
votes
2answers
1k views

How can I print the mysql full process list to a file?

After I run the command in mysql SHOW FULL PROCESSLIST\G, it displays me a really long list of mysql processes and I'm only able to read the last 10 processes. Is there any way I could paginate or ...
3
votes
1answer
4k views

How to find size of RAM cache use for ramfs, tmpfs

I'm wondering if there is any way to specify the size of RAM cache used to store ramfs, tmpfs? When I look at /proc/, I can't find anything about ramfs size.
2
votes
1answer
2k views

Linux kernel scheduler for a pen drive - noop or deadline?

I run Debian Live as a persistent system on a 16 GB pen drive. This is my workhorse every day system. I was earlier plagued with continual delays and freezes due to slow write speeds. I have ...
-1
votes
1answer
3k views

Make Live USB with dd

The last time I booted from USB was back in 2006. Ever since, I keep failing at making live usb bootables. I tried getting Fedora 18, Ubuntu, and ton of other distros to boot from USB and never ever ...
0
votes
1answer
188 views

weird alsa problems losing permissions when I plug/unplug usb headset

I have a /etc/udev/rules.d/00-local.rules KERNEL=="pcmC[D0-9cp]*", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#pcmC}; K=$${K%%D*}; echo defaults.ctl.card $$K > /etc/asound.conf; echo ...
5
votes
4answers
9k views

Which linux distributions offer seamless support for UEFI and an LVM root out of the box?

My new ultrabook (an Asus UX32VD) requires UEFI in order to boot from the internal harddisk. I use an LVM partition which contains my root fs and dual-boot Windows 8. I somehow managed to get this ...
1
vote
1answer
553 views

Error : .onLoad failed in loadNamespace() for 'cairoDevice' on a Linux Machine

After spending 1 hour searching for the solution I am posting this here. Does any one know how to install cairoDevice,package on R, Linux Server. R CMD INSTALL cairoDevice_2.19.tar.gz * installing ...
1
vote
0answers
137 views

How to restore Vista from a corrupted install of Xubuntu?

On my laptop, I've decided to get Xubuntu. During the process, my laptop overheated and shutdown during the installation process. As I turn it back on, it has GRUB, not allowing me to go on Xubuntu or ...
3
votes
0answers
218 views

Linux and GT640M (w. Optimus)

Has anyone tried getting the GT640M (Optimus) to run on any linux distro? The last time I tried, bumblebee did not work and was stuck on my HD4000 and my laptop's fan revved up to its max with ...
3
votes
1answer
371 views

Error while installing OpenVZ kernel using yum in Fedora 17

I was trying to install OpenVZ kernel(rhel 6) in Fedora 17.Things worked fine until i issued the 'yum install vzkernel' command.The messages that i get at the end are: Error: systemd conflict with ...
3
votes
2answers
130 views

Very Simple Script to Remove Last 5 Lines of a Series of Text Files

For some reason this script outputs three files for each original, rather than one. Must have made some trivial error - I'm new to this! Much obliged if anyone could explain why this happens. ...
4
votes
1answer
228 views

How to create or convert private key in Unix/Linux in .ppk format which can be used in Windows PuTTY?

Is it possible to create or convert keys in Linux into .ppk format which can be used in PuTTY in Windows? Without downloading any additional software like puttygen, possibly using standard tools like ...
1
vote
0answers
2k views

How to install Linux Mint through terminal?

The issue I'm facing is that the graphical interface provided with Mint 13 Cinnamon isn't detecting my partition table and my other Operating System. However, when I use cfdisk, I do see those ...
-3
votes
3answers
270 views

How to comble find and file command? [closed]

My teacher gave me a homework on combining find and file Use find and file to display all files in the /home subdirectory tree, as well as a guess at what sort of a file they are. I tried ...
2
votes
2answers
132 views

How to Expand partition with a new partition on the left or preceding sectors

I have a situation where I need to expand my Linux partition to a partition that is available above it. I would like to use unallocated 93.31 GiB to expand /dev/sda5. I'd appreciate any help. Here ...
1
vote
0answers
68 views

Windows reboots randomly on battery, linux OK

About a week ago, the Windows partition on my laptop started rebooting randomly. No BSOD, nothing in event logs besides a kernel-power failure. I could still use linux (LuninuxOS) fine, and windows ...
1
vote
1answer
83 views

Use Embeded Video Card and added graphic card at the same time

Looking forward to use 3 monitors at the same time in Fedora 17 in my HP 110 G6 Server. Added a Radeon HD5450 that can support 2 monitors. I want to use the built in video card so I can hook up the ...
0
votes
1answer
800 views

Virtualizing existing Linux partition on the local machine using VMWare Workstation 9.0

I am trying out VM Workstation 9.0 on Windows and I am tried to run the existing linux partition by following steps blow: Create a new VM > Advanced > Choose to install the OS later > select Debian 6 ...
1
vote
2answers
664 views

How to transfer files' ownership on Windows 7?

I switched from Linux to Windows. And I copied some private files (include folders) from ext file system to NTFS file system partition (operated on Linux). Then I logged on Windows as user A (for ...
2
votes
2answers
141 views

Cups without webserver

I have a minimal linux system and I would like to print. It seems the usual approach is to install cups. But what I think is very annoying is that cups comes with its own webserver to do the ...
0
votes
1answer
642 views

virtual network interfaces multiple vpn connections

I have 2 vpn connections and I want to be able to connect on both of them at the same time, running Fedora 18. My main idea was to run VirtualBox with 2 virtual machines, connect each of them on the ...
2
votes
1answer
196 views

'top' output baffles me

top - 18:22:21 up 98 days, 23:26, 4 users, load average: 2.73, 2.85, 2.60 Tasks: 210 total, 1 running, 209 sleeping, 0 stopped, 0 zombie Cpu(s): 3.6%us, 2.5%sy, 0.0%ni, 87.7%id, 5.1%wa, ...
5
votes
5answers
1k views

How can I customize the color of error messages in Bash?

Is it possible to customize the Bash error messages attributes? For example, is it possible to edit the .bash_profile to get the following Bash error message -bash: cd: foo: No such file or ...
0
votes
1answer
451 views

Unable to mount Windows partition from terminal

While trying to mount a Windows partition named work documents I used the following command: [root@Feddy /]# mount /mnt/'work documents' mount: can't find /mnt/work documents in /etc/fstab or ...
0
votes
1answer
409 views

Is there a way to install Samba packages offline for Fedora 14?

need to install samba packages offline to enable sharing of my fedora 14 folders to windows system. is there a place/way to get the offline installation file? ThaNKS!
3
votes
2answers
647 views

Arch Linux - dhcpcd messages at login screen

I have a fresh installation of Arch Linux, and I've enabled dhcpcd on eth0. However, the message output for dhcpcd startup appears after the OS is booted up and is at the login screen, so I get this: ...