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
0answers
243 views

Workaround for ENOTTY while running a c process from script?

What's the issue? Getting a ENOTTY error on a function call tcgetattr() when the process is invoked from a script. The error comes only when ran from the script. If it is run from an interactive ...
1
vote
0answers
140 views

Debian Squeeze on Jetway J7F5M1G2E-VDE-LF - onboard LAN unusable and disk read/write speed disparity

I'm running Debian Squeeze on a machine based around a Jetway J7F5M1G2E-VDE-LF moherboard. This particular install was transferred from a different machine, but I've tried with a fresh install and it ...
7
votes
2answers
3k views

Add silence to the end of an MP3

Do any of you know of a way of adding silence of a fixed duration to the end of an MP3, in Linux? For example using MEncoder, FFmpeg, etc? It needs to be command line as it will be scripted and ...
1
vote
1answer
111 views

Tunneling ssh traffic to Linux server via multiple windows servers (2k8)

I am looking for a solution to this problem: At the end there are 3 different Linux servers (let's name them probe1,probe2,probe3) There's a win2k8 gateway to access them via ssh (22) (let's name it ...
0
votes
2answers
1k views

Capturing the console output

I am running a Hadoop hive query from shell script. This is how I am doing it in my shell script. echo "SELECT COUNT(*) FROM test" | hive I want to capture the output whatever hive command outputs. ...
1
vote
2answers
1k views

Installing FreeDOS from Linux

I need to install [minimal] FreeDOS in a machine already running Linux, without a CD drive. I already have another FAT32 target partition. I've already runned "sys-freedos-linux" but it just ...
4
votes
2answers
4k views

How to lock device id's to port addresses?

I want to dedicate certain USB ports to certain devices. How can I do that? For example: I want ttyUSB0 to be my mouse and ttyUSB1 to be my keyboard (always). I want to be certain that the startup of ...
0
votes
1answer
1k views

How to route specific network to a virtual machine?

I have the following configuration: Linux machine with ip 10.0.0.99 bridge over a virtual interface with ip 192.168.0.1 linux in a lxc container over the bridge with ip 192.168.0.2 vpn on the ...
3
votes
2answers
565 views

find any script which is running for more than say 30 minutes in Linux System

Please share command to find any script which is running for more than say 30 minutes. in Linux System
1
vote
2answers
83 views

Making the keyboard eject switch work

I am using Linux.My keyboard switch for ejecting the CDROM does not work though it displays an eject button on the screen. I need to make it work. I know ejecting a cdrom using system call is as ...
2
votes
4answers
9k views

How to identify 64 bit processor with cat /proc/cpuinfo

I have intel celeron d 3.06ghz processor . Now I am using 32 bit Ubuntu and I wish to upgrade to 64 bit Ubuntu if my processor allow. My doubt is how to identify 64 bit processor with cat ...
-3
votes
2answers
193 views

Vim ! before execute silent '!mkdir' what is it for?

Make new folder from Vim command line in Windows gVim In this with the mkdir command a '!' is added in front of the command. What does the '!' actually do?
6
votes
3answers
928 views

Grant permission to manage another users processes

I have userA and userB who start processes: userA@server:~$ ./some_command.sh & [1] 30889 I then want userC to be able to manage those processes (suspending, resuming, terminating, and ...
0
votes
1answer
791 views

Make openbox window border transparent

Is there any way to make the windows border/system chrome of a window transparent in openbox?
1
vote
2answers
8k views

How do I boot a Raspberry Pi directly into browser?

I have put the following line in my /etc/bash.bashrc file: chromium--kiosk www.bbc.co.uk However I then get an error at start up: (chromium:2100): Gtk-WARNING **: cannot open display: If I set ...
0
votes
1answer
564 views

Linux: Have terminal run on startup

I would like to have the terminal window open when I start my computer. I think the above is simple, but then I would like it to either load full screen on my second monitor, or I would like it to ...
3
votes
1answer
5k views

Linux - check when crontab file was last amended

How can i get the last updated date/time of the crontab file. not when cron was last run but instead when was the crontab file amended last
-2
votes
3answers
556 views

A file which is not a dir nor a file

This may look like a weird question, but I just got this output for a file (directory?) in my system. This may be a trivial or well-known error, but for me, this file (directory?) called ...
1
vote
1answer
940 views

How to use ip rule and ip route commands for IPv6 addresses?

For IPv4 we use: ip rule add from (ipv4 address) table 60 ip route -net (ipv4 address) mask (ipv4 mask) (interface number) How do I use the ip rule and ip route commands for IPv6 addresses?
0
votes
2answers
148 views

linux map folders by size to compare disk usage

I have AWS linux instance, Currently there are many folders in the instance. I would like to map all the folders and their size, so i could come back in 1 month and check which folder occupy high ...
3
votes
2answers
5k views

why can't I umount /home?

I'm trying to create a new partition on my Linux system, my intent is to take a small amount of my /home filesystem and change the type for experimentation. I'm using OpenSuse 12.1 in a virtual box. ...
0
votes
0answers
402 views

Network interface does not become active although onboot enabled, Linux

Due to some other conflicts, I disabled/stopped NetworkManager in Fedora 15. Now, for network configuration I used system-config-network-gui to config & enable Ethernet interface. Problem is, ...
2
votes
1answer
566 views

wierd drive errors on dual-boot system with sharedpartition and shared dropbox folder. How do I debug this?

My system I have a dual-boot setup with windows 8 and linux debian testing on a lenovo X1-carbon laptop with a 256GB SSD drive. I've made a shared partition in the NTFS format, and use this partition ...
0
votes
1answer
412 views

getting the USB number of a network interface (ra0)

i'm using Linux (similar to ubuntu, 2.6.38) and connect multiple network adapters via USB. i want to find the USB number of where the adapter is currently connected. - usb-serial devices, for ...
6
votes
5answers
11k views

rsync using regex to include only some files

I am trying to run rsync to copy some files recursively down a path based on their file name pattern, case insensitive. This is what I have done to run rsync: $ rsync -avvz --include ='*/' ...
1
vote
0answers
78 views

vboxnet shows wrong traffic count

I'm a little bit confused in traffic count between virtual machine (using VirtualBox on Linux x86, 3.2.0). Internet access from virtual machine is through NAT (iptables). VM using host only adapter, ...
-1
votes
1answer
300 views

excuting from terminal configure fails

I am trying to install XFe 1.33 downloaded from http://roland65.free.fr/xfe/index.php?page=docs But when I am doing ./configure checking for a BSD-compatible install... /usr/bin/install -c ...
8
votes
2answers
24k views

How to style window borders in Linux Mint w/ Cinnamon?

I've noticed that all the themes leave me with those large gray/metal window borders, which I really don't like. How can I edit this, and why do most themes simply change how the taskbar looks?
1
vote
2answers
481 views

Why does find. -maxdepth 1 with the -a option/flag not return any results on Linux?

I would like to find all png AND jpg files and used the following command and no results are returned however if I replace -a with -o it shows me the list of files. Why is that? `find . -maxdepth 1 ...
1
vote
1answer
139 views

Faulty partitions: Format a hard disk completely

A long story originally my Windows 8 in my ssd failed and I try to install ubuntu but unfortunately the installation is disrupted. I end up installing centos on my disk. Now I just want to install ...
0
votes
1answer
779 views

Running tcpdump on remote machine with no tty using ssh

I'm trying to start tcpdump on several remote machines to perform some network analysis with a script, but I'm failing to run it correctly. The command I would like to use is: ssh user@host ...
-1
votes
1answer
614 views

CentOS and icewm

I'm using CentOS 6.3 32bit with 512MB memory and 8GB in a test environment. What would be the command to install icewm desktop in CentOS 6 minimal?
2
votes
3answers
152 views

How to enable passwordless ssh for a particular program only

I have a requirement where I want that user of my C++ program is able to do passwordless ssh on to a particular machine but the same user should not be able to do ssh on the same machine through a ...
0
votes
2answers
1k views

mounting local filesystems — failed

When I start guest OS which is Oracle Linux 5 running on Virtual Box 4.2, I am getting mounting local filesystems --- failed How can I resolve the issue? Thanks etc/fstab ...
0
votes
4answers
89 views

Starting Guest OS slows down computer

I have virtual box 4.2.4 installed in Windows XP SP 3 and Oracle Linux is installed in Virtual box. When I start linux on Virtual box, I have noticed that both my host and guest machines becomes ...
1
vote
2answers
294 views

Run an executable as different user in linux without knowing the password

There's an executable that's usually run by user A and writers in a directory only readable, writable, etc. by user A. Is it possible to allow user B in the same group to run the executable as user A ...
1
vote
1answer
373 views

allowing only certain commands in a ssh session

I am a lazy linux user and often use very short passwords for my main user account(s). Now, hopefully my firewall takes care of blocking most unsolicited access attempts and the OS (as far as it ...
4
votes
1answer
811 views

How to trigger an action on double-tap of a keyboard button?

I'd like to learn how to trigger something in my debian box on double-tap of a key (let's say l-shift). My setup is X11 based. Should I look into doing in my MW (xmonad) or on a lower level? Forgive ...
-2
votes
3answers
398 views

Random Number in Linux

In linux /dev/random is based of "environmental variables" and /dev/urandom is based off an algorithm and the time. My questions are: Where does /dev/random gather these variables from. And if you ...
4
votes
2answers
513 views

Shutdown Ubuntu Command

What is the command or application that allows a user to shutdown the computer from gnome. And how does it have privileges while halt requires superuser?
0
votes
1answer
64 views

sharing executable software with multiple users in local network [closed]

In somewhat near future I'll be preparing an infrastructure for a small shop hiring around 10 people. All of them use a couple times a day some computer applications (windows based). Using computers ...
2
votes
1answer
232 views

Text no longer shows after killing program, using tmux

I'm running a Minecraft server and whenever I "sh rtoolkit.sh" to start the server, everything works fine however once I stop the server and return to the command line ready to enter a command, text I ...
1
vote
1answer
330 views

Are there any GNU/Linux distributions which use a stable core and the latest and greatest software? [closed]

With "stable core" I mean the kernel, grub, init system, x server, audio server, et cetera. Basically everything that is essential for the OS to function. Some distributions that I have looked into: ...
12
votes
4answers
25k views

Should I format USB sticks and SD cards to FAT, FAT32, exFAT or NTFS? (Windows files, live Linux distors)

Does it depend on the media size which one to chose or on some other parameters? In Windows 7 FAT16 is the default. In pendrivelinux.com's Universal USB Installer FAT32. Which one to chose? How about ...
0
votes
1answer
59 views

Hard drives working on Linux but no so much on Windows

there, I am having this problem: I have 3 sata hard drives that are working perfectly on Ubuntu but on Windows 7 two of them work awful (very very often it hangs for like 2 minutes to load the ...
1
vote
1answer
519 views

Grant root permissions to application, so won't prompt again

In startos (with the ypkg packages), their app store somehow can download and install packages, without the prompt of any root or user password, to the root protected folders of /usr ...etc. However ...
0
votes
2answers
119 views

dd /dev/sda to img on drive

If I run: sudo dd if=/dev/sda1 of=~/image.img bs=1M Will the image.img (which is located on /dev/sda1) be continuously copied onto itself? As it gets bigger from data, will that additional data be ...
2
votes
1answer
1k views

Best way to mount a remote ZFS share in Windows and make it appear local, or close to local

I primarily use Linux and Mac, where sharing folders and block devices is easy and just works. I have a 38TB ZFS-backed Ubuntu fileserver that pretty much stores all of my data for all of my devices. ...
2
votes
1answer
772 views

Rsync copied binary files still differ?

I copied some FLV video files to my Android sdcard with rsync, but later found that some of these videos were unplayable (halted after some number of seconds of playing). Upon further examination, ...
0
votes
3answers
158 views

In Linux, how to ensure a process is making good use of all proc cores

On CentOs, I have a task that converts files. It runs day and night and I want to ensure its using all 4 cores most of the time. In Windows I can just look at the performance histograms in Task ...