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

Prevent mv from overwriting the larger file by the same name

I need to move all files from a directory, discarding the directory structure. Unfortunately, some files have the same file name (Thumbnails). I'm looking for smth. like this: find /tmp/dirtree ...
1
vote
3answers
96 views

Is it possible to have environment variables in the path of the working directory : PS1?

I am on Lubuntu and I am using bash. My PS1 (in .bashrc) is : PS1="\w> " I like it because I need to paste the working directory all the time. The problem is that the path is always very long ...
1
vote
1answer
162 views

Raid system fails to boot after moving from 2.6 kernel to 3.5

I'm running Gentoo Linux with a custom compiled kernel and I've just migrated from a 2.6 kernel to a 3.5. As my HD's are on RAID 0 mode I use a custom initrd file in order to be able to boot. While ...
1
vote
2answers
67 views

Read file not owned by me in a directory owned by me

A daemon process running as a special user has created files which only its user can read. The directory is owned by me and I have write access to the directory. Is there any way that I can read or ...
0
votes
1answer
54 views

Best place to clean up files in linux start up

I have several RHEL Linux servers, but sometimes when the servers hangup, in the restart, a few services don't start because uncleaned lock files. Where is the best place to put a cleanup to be ...
1
vote
2answers
53 views

Is it possible to set the device containing a linux root filesystem to always be detected as a specific block device?

I have a bootable linux thumb drive meant to deploy linux OS images and I've been having problems with the thumb drive occasionally changing the /dev/sd device it mounts as, wreaking havoc with the ...
1
vote
1answer
816 views

Cannot login to fresh Kubuntu installation as admin, but only as guest

I just installed a fresh Kubuntu 12.10 on a machine beside Windows 7. After successful installation, I rebooted and wanted to login. But when I type my password and hit Enter, some command line screen ...
0
votes
2answers
137 views

linux run default program on system start init

Hello I have a small netbook with tegra, and I'm trying to create Image Frame when someone turn on a netbook. If I add to init.d Starting script for my graphic application will it run before GNOME ...
1
vote
1answer
105 views

On Ubuntu wheezy/sid running Gnome how to I move a window partially off the screen?

When I click on another window the moved window springs back to its previous location, so it's fully visible in the current desktop. I don't need to see it all the time, I just need to be able to ...
3
votes
3answers
516 views

create PDF montage in vector format

I have a folder full of images in PDF format, and I would like to merge them all into a single PDF in which there are many images on each page, but still in vector/PDF format. The ImageMagick ...
0
votes
5answers
50 views

My user information was deleted [duplicate]

Possible Duplicate: Undo an “rm -rf ~” command? So I made a stupid error, I did a sudo rm -rf of my ~/ directory. I wasn't thinking of the hidden files in there. Now instead of showing what ...
2
votes
2answers
971 views

Accessing a remote Windows “Git Bash” prompt from a Linux machine?

"Git Bash" is a program that comes with Git for Windows. In order to get to a Git Bash prompt on a remote Windows machine from a linux machine, my usual process is to use remmina to open an RDP ...
0
votes
2answers
543 views

Is there such thing as a software switchboard for Trixbox/freepbx/asterisk? [closed]

We use Trixbox CE and would like something so that we can load a window that tells us which lines are in use around the office. Currently no need to use it to actually make calls or anything, but just ...
1
vote
0answers
52 views

Follow up to “ Is is possible to use only one Xvfb process to serve multiple clients simultaneously?”

I do know that you can use multiple process to one Xvfb, however I am starting to see "User interrupted function" upon a access to the Xvfb. Have I now exceeded some memory limit? This is very ...
1
vote
3answers
2k views

How to maximize GNOME Terminal on Linux

Environment: Red Hat Enterprise Linux, C language , Eclipse IDE for C/C++ Developers Question: I'm programming a typing tutor which run on GNOME terminal, i want to maximize terminal when run ...
3
votes
1answer
330 views

Cannot install any Linux distribution

I have a PC with 2 HDD: 1 of 120 GB SDD (with Windows 7) 1 of 2 TB (for all my data) Now, I partitioned the SDD in two, so I could install my Linux distributions. No problem until here. I write ...
2
votes
1answer
114 views

Do best-practices say to restrict the usage of /var to sudoers?

I wrote a package, and would like to use /var to persist some data. The data I'm storing would perhaps even be thought of as an addition for /var/db. The pattern I observe is that files in /var/db, ...
0
votes
0answers
241 views

Kernel recompilation: mp-bios error 8254 timer not connected to ioapic

After recompiling my kernel I see this error every time I start linux. Os starts fine but I see it is not stable at all: sometimes it freezes and I can just reboot it. I guess it is because of this ...
1
vote
0answers
16 views

How do I log peaks from a mic if they pass one or more thresholds?

I know that the package of xawtv has program call record that can start recording if sound level is over some threshold - but that is not quite the solution. If someone knows how to do it - it could ...
1
vote
2answers
2k views

Play local audio on remote computer (Linux)

Is it possible to transfer audio from my local computer to a remote one, eg through SSH? I know this transfers mic to other computer dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp ...
0
votes
1answer
57 views

Looking at current desktop through ssh

Is there any way for me to look at the current running desktop through ssh? Meaning, if I ssh from machine A to machine B, I get terminal access in machine B. And if I run ssh -X from A to B, I can ...
1
vote
1answer
607 views

Avoid PuTTY SSH terminal to crash when disconnecting from server

I'm connecting via SSH to a remote 'live' server where I have some bash scripts automated via the crontab. When an error happens in some of the automation scripts within the server, the connection ...
3
votes
2answers
1k views

How do I list all of the executables in a Linux (directory, + sub-dirs, $PATH)?

How can I list all executables (programs) and shell scripts in a directory, sub-directory and/or PATH? I am not talking about software that was installed with apt-get or any package manager. Using ...
7
votes
3answers
5k views

recursively copy all files from one directory to another with exceptions

How do i need copy all files except a couple of directories from one directory to another. for eg: cp -R test /www/test2 would copy all But i want to exclude 2 folders called log and logs. I tried ...
0
votes
2answers
393 views

Use test to check for condition with find and execdir option

I think I can keep my question short. Why does the following command produce no output? find /usr/share/themes -mindepth 1 -maxdepth 1 -type d -execdir test -d {}/gnome-shell \; I expected it to ...
2
votes
1answer
390 views

Is there a way to find out what process wrote to a file?

The file /sys/devices/platform/samsung/leds/samsung::kbd_backlight/brightness gets written to by some process each time the screen wakes up from being blank. Is there a way to find out which process ...
5
votes
3answers
3k views

sudo without password when logged in with SSH private keys

Is it possible to make sudo command to support SSH private keys, so that when the user logins using a private key then he/she could sudo without typing a password. This would allow storing the UNIX ...
0
votes
1answer
567 views

How to access IEEE Xplore on Lynx browser?

I tried to access a paper via Lynx as follows- lynx http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=5495638 I've sshed in to my college PC where we have IEEE subscription (Also I have set ...
0
votes
1answer
872 views

Overclocking the E-350 APU on Linux

Is there any way to over/underclock or change the voltages of the AMD E-350 APU on Linux?
0
votes
1answer
53 views

Is there an alternative of TrivialProxy for linux?

Does anyone knows an alternative software of TrivialProxy for linux? iptables is not enough because I need a GUI. Thanks in advance.
3
votes
1answer
181 views

install grub on pendrive containing linux installation, making it system independent

i have a win7 system and i want to install debian 6 on usb flash drive. the problem is grub loader. i want to install the grub loader on usb itself, so i can just plug in the pendrive in any computer ...
0
votes
1answer
2k views

Find out which port the daemon is using [duplicate]

Possible Duplicate: Finding the process that is using a certain port in Linux Suppose I run some daemon but I didn't remember which port it usually use. How can I obtain this information?
1
vote
1answer
272 views

Cisco vpnclient in Linux embedded device causes kernel oops

I tried installing cisco vpnclient in my linux embedded device running vmlinux compiled from linux-2.6.39. I could successfully insert driver 'cisco_ipsec.ko' . however, while inserting it showed the ...
2
votes
1answer
437 views

Can I change local environment variables for a running process?

Suppose I have a continuous process running that reads an environment variable: export APPLE=abc123 watch echo \$APPLE Now, is there any way to change the value that's being read during execution? ...
0
votes
1answer
116 views

adding a device path in linux

I deleted the device path by running the command: echo 1 > /sys/block/sda/device/delete on Redhat Linux. Since it was the only path, I no longer have connectivity to that machine. I am able to ping ...
0
votes
1answer
814 views

Offline access to Google Calendar without Chrome

I use Firefox. Quite often when I'm offline I accidentally try to add an event to my Google Calendar. This always fails and even worse, I lose the data. Also reading access in Firefox only works in ...
0
votes
0answers
32 views

How to find the line containing a string in a file? [duplicate]

Possible Duplicate: How to search for a string in a line and return line and line numbers in linux? I have a file myfile. I will search for a string in this file. I want to see the line ...
0
votes
2answers
467 views

Linux dynamic alias

I am very new to Linux. I just found the alias command which is very useful as I quite often have to dig through log files So I need to regularly open text files they are generally stored in the ...
0
votes
1answer
114 views

Best way to backup Gentoo install from Ubuntu?

I am messing around with Gentoo and I have never done so before but installing takes forever. So when I get a stable base establish I want to back up my Gentoo install to Ubuntu so if I mess it up I ...
3
votes
2answers
2k views

Parted has no 'resize' command available

I'm trying to resize a partition using parted, but it has no the 'resize' command available gchain@archbogchain@archbook:~$ sudo parted /dev/sdb GNU Parted 3.1 Using /dev/sdb Welcome to GNU Parted! ...
0
votes
1answer
150 views

linux find command issue

I have a shell script which was written for Mac OSX and now ported to a linux machine. I don't have access to a linux machine currently( I will be setting up a virtual machine soon) Some statements in ...
0
votes
1answer
451 views

openSSL tutorial not fully working - Can sign but cannot restore original file

I'm writing, and testing, a little tutorial for my groupmates involved in an openSSL homework. We have a bunch of PDF files, I'm the CA and each one should send me a signed PDF for me to be verified. ...
2
votes
1answer
424 views

Correct Method of Utilizing nohup in Batch Process

What would be the best method of using nohup in a batch script with multiple calls inside the script. For example, I have a script called filebuilder.sh and it contains something like: ...
2
votes
1answer
432 views

How to display escaped characters in tmux status bar

i am running tmux from a tty on an embedded linux device. (NOT a terminal emulator) because the screen is rather small, i want to add some "icons" to the tmux status bar. to achieve this, i have ...
1
vote
1answer
276 views

Missing firmware for wired NIC on Debian

I'm trying to install Debian 64bit from a Debian live image using YUMI on my usb drive to an Inspiron 6400. I am missing firmware for the Broadcom BCM4401-B0 100Base-TX. I have tried configuring it ...
-1
votes
1answer
598 views

Can't boot Windows after installing Linux

I have a partition /dev/sdb1, where my old Windows XP resides. All the files are there intact and I can see them, mounting the disk from Linux. Linux is on /dev/sdb2. But when I choose Windows in LILO ...
2
votes
1answer
153 views

How do I prevent my broadband connection from resetting my MTU?

I'm using an old PC as a Linux-based firewall, running Ubuntu and Shorewall among other things. It has 3 discrete network cards in it: one for the internal network, one that connects to a cable modem, ...
0
votes
1answer
2k views

Backtrack startx issue

Downloaded and installed Backtrack 5 R3 Gnome 32 bit into thumbdrive (HBCD). Here is how HBCD menu calls it: title 5) BackTrack\nLinux Distibution for Penetration, Forensics, Hacking, ...
0
votes
3answers
1k views

how to prevent brute force attack on ssh?

i am running centos. how can i best avoid a brute force attack on my ssh server? I found this list: DenyHosts is a Python based security tool for SSH servers. It is intended to prevent brute force ...
2
votes
1answer
219 views

Install CentOS 6 entirely from a script?

After having to manually install CentOS 6 on a few servers, with the same configuration (Software RAID 1, partition size, etc.) is there a way to prepare this to run entirely from a script? Or a ...