Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

-1
votes
0answers
17 views

Become root after login via plink from Windows host

I m trying to connect to a linux server from Windows host via plink. I couldnt figure out how to become root after logon. I have to login with ordinary user first as I can't change config of the ...
0
votes
1answer
38 views

How do I count the total number of unique strings from a file using linux [closed]

In File1: OrderChange[a.1],partition=ORDER OrderChangeResponse[2.b],partition=ORDER I used below cmd getting output as 2 but it should be 1 as OrderChange in above file is 1. cat File1|grep -i ...
0
votes
2answers
32 views

How to set cron job for system

I'm really new on Linux and have no any previous experience on it. And I opened this account to ask this question. I need to install a cron job I've followed the short guide here. Well, I think it ...
-2
votes
0answers
14 views

real scenario about tc command and mangle table of iptables [closed]

I don't have any question, But i have a request: I want to learn mangle table of iptables and tc command But i need to a real scenario, Please define me a real scenario!
1
vote
3answers
43 views

Suppress warning from ps -aux on Linux

When I run the ps command i get a warning saying Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ. How do i suppress this warning? Is there some system setting that i ...
1
vote
0answers
15 views

RTC is not saving time after hwclock

So I'm having quite a bit of trouble trying to get my system to set the hardware clock's time. Here is what I did just now, everything has worked, right? The first and last command seem to indicate ...
0
votes
0answers
13 views

Why would attempts to bind affinities for rcu kthreads fail?

I am trying to get full tickless mode working on my box on Ubuntu kernel 3.10.39. I am running the following command: for i in `pgrep rcu` ; do taskset -pc 0 $i ; done It seems to work on some of ...
0
votes
2answers
39 views

Is it safe to format this extended partition?

On a ubuntu server I own, I am running out of space. When I ran sudo parted /dev/sda -l to find all available drives, I got this: Model: ATA ST31000528AS (scsi) Disk /dev/sda: 1000GB Sector size ...
0
votes
0answers
13 views

Permission denied when trying to write to a file in /sys directory [duplicate]

I'm trying to manually set the speed of the fan on my Macbook Pro 7.1 which is running Crunchbang Linux Waldorf. I'm following the instructions in this blog article ...
0
votes
0answers
11 views

Determin if the currnet terminal has a dark or light theme [duplicate]

I have several (Bash) scripts that uses ASCII color codes. They look good on my dark themed terminal, however on my colleagues light themed terminal the colors I selected don't look that good. Is ...
0
votes
1answer
13 views

Multiple file systems on BeagleBone Black?

I'm trying to put together a BeagleBone Black using Debian on the EMMC, a separate MicroSD card and a flash USB disk (but could ostensibly be platter media on USB). My question, simply put: are there ...
1
vote
0answers
14 views

Setting up touch driver to run through service

We are trying to integrate a touch panel to our Debian system. Touch driver (General touch) I am trying to run this application in Linux service.Below are the steps which i followed Driver ...
2
votes
1answer
23 views

How does chroot's use of qemu for cross compile environments work?

To be able to do cross compiling there's a trick where you copy a static qemu binary into your <different-arch-root-to-be>/usr/bin and when you chroot into that filesystem, which has non-native ...
0
votes
0answers
9 views

Alternatives to Symphony OS Orchestra Application Environment

I just read that Symphony OS has an wonderful concept, called Orchestra, where applications (can be even written HTML + JAVAscript) can be ran via a reduced localhost server and a leaned down mozilla ...
0
votes
1answer
26 views

Battery standby [closed]

I am using a lenovo z570 laptop. In windows I am able to use the laptop for around 2.30 hrs in normal usage.But when I use any Linux distro the battery drains a lot faster. I am able to use only for ...
7
votes
1answer
97 views

Why are rmdir and unlink two separate system calls?

Here's something that kept me wondering for a while: [15:40:50][/tmp]$ mkdir a [15:40:52][/tmp]$ strace rmdir a execve("/usr/bin/rmdir", ["rmdir", "a"], [/* 78 vars */]) = 0 brk(0) ...
1
vote
1answer
32 views

How to migrate from Proxmox to VMWare?

I am wondering how it is possible to migrate a full hardware VM in Proxmox (qemu) to a full hardware VM in VMWare (vmdk). I have been searching all over the place, and it seems almost impossible to ...
1
vote
0answers
25 views

Disable processor speed changes on AC vs battery [closed]

My Toshiba Satellite L300 laptop freezes when I plug in the AC power cord. The problem is, whenever the processor goes in power management or downclocks, the system freezes and shows colorful ...
0
votes
1answer
32 views

What are the differences between socket polling mechanisms of kqueue and epolling?

kqueue socket polling mechanism is used in FreeBSD and epolling in Linux. I would like to know what are the differences between the two mechanisms?
0
votes
0answers
49 views

What are the differences between the network stack of FreeBSD and that of Linux? [closed]

Recently there was a news about facebook trying to hire people with good Linux kernel knowledge so that they can improve the performance of Linux network stack and make it better or comparable to that ...
0
votes
0answers
62 views

Fixing System boot failure due to GRUB Error

We have a Debian based system, which unpredictably goes in to non bootable mode. Listed are the errors that usually occurs in the system. 1 > GRUB RESUE 2 > INTIRAMFS 3 > INIT SCRIPT FAILURE ...
0
votes
0answers
11 views

Arch Linux KMS loading i915 early tty doesn't show

I am on Arch Linux x64, on EFI, Nvidia Optimus with bumblebee (so i am using intel driver) and I am trying to show a splash screen at boot. I have chosen plymouth (other than being the more famous ...
1
vote
1answer
20 views

Wine and parallel processing

I'm quite new to linux, right now, running LMDE on my machine. I was wondering if wine can support the parallel processing needs of some software. Anyone knows any performance benchmark of wine ? ...
0
votes
0answers
12 views

Linux fullscreening video

So I can only fullscreen some certain sites' videos. Youtube works sometimes as does another (entertainment) site. Both are using Flash, I do not have YT set to use HTML5. Clicking fullscreen ...
1
vote
1answer
35 views

Using upstart with stop unknown instance

I'm just getting into upstart so i wrote a very basic script just to print to log file called: vm-service.conf that I put in /etc/init: description "Virtual Images" author "Me" start on ...
3
votes
1answer
23 views

Error with gedit can't save any file

meraj@meraj-SATELLITE-C850-A785:~$ sudo gedit /etc/php5/apache2/php.ini (gedit:16243): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ...
0
votes
0answers
17 views

I am getting nova issue when i ran #nova image-list

I am newer to the openstack, and I am following the link http://openstins.tiddlyspot.com , everything goes smooth but when i ran below command i got error as below. [root@centos6-2 init.d]# nova ...
0
votes
0answers
35 views

/etc/sudoers automatically reverts back [on hold]

I am facing a weird issue. I ran visudo and added 3 new lines and could see that those lines were added to /etc/sudoers as well. But it's not lasting for more than 10 minutes or so. After 10 minutes ...
6
votes
1answer
8 views

Linux kernel 3.10.0-123.4.2 processes [flush] aren't present

I am using CentOS 7 with "3.10.0-123.4.2.el7.x86_64" version, but I don't know why the kernel threads named flush aren't present in this kernel version. I tried to look in the kernel change log, but ...
1
vote
1answer
20 views

Cannot ping machine on eth0; Pings fine on wlan0; Centos 6.5 on Dell D610

I recently installed Centos 6.5 (32 bit) on an old Dell D610. It has both a lan port and a wifi. When I assign the wifi a static IP, I can use it as a server, connect to it from other machines etc ...
3
votes
0answers
31 views

How Does X build its modelist?

I have an embedded board running Linux 3.0.35 and X.Org 1.14.4. I'm modifying an existing framebuffer driver to support a new connector type. I'm reading the EDID, creating a new modelist using the ...
0
votes
0answers
30 views

Installing a D-LINK dwa-131 wireless adaptor on Linux

I am new to Linux and a complete novice, I have just installed Linux Ubuntu on a desktop, I want to use a wireless adapter for my internet connection. The model is a D-Link DWA-131 Nano wireless ...
0
votes
0answers
23 views

Setting fbcon to use a specfic frame buffer device

I am trying to display the output from and SDL based application on to a framebuffer device /dev/fb1. Fb1 is associated with a SM750 based card. When I run my application, the output always appears ...
2
votes
1answer
26 views

mounting/converting v2i image in linux

Is it possible to mount a v2i image in linux? Is there any mount.v2i program? Or is there any convertion tool to convert v2i image to something else like iso ? How can i Mount/Convert a v2i image? ...
0
votes
0answers
14 views

LVM: possible to recover full snapshot?

Accidentally, I have let a LV snapshot created by libvirt/virt-manager run to full. Is there any way I can at least recover (some) data written to the snapshot? Many thanks! lvs ...
1
vote
0answers
22 views

How to customize Linux without sudo/root access? [duplicate]

I'm a newbie in Linux but I love it for its customization potential and want to use it as much as possible. In my company I do not have sudo or root access to the Linux server but I still want to ...
0
votes
0answers
19 views

impossible to make fsck

I'm trying to make a fsck to a pendrive and it says me: e2fsck 1.42.8 (20-Jun-2013) Pass 1: Checking inodes, blocks, and sizes Error reading block 40402759450689 (Invalid argument). Ignore error? ...
0
votes
1answer
31 views

Gallium renderer used instead of Intel Mesa

I have got GPU (Intel Haswell HD4600) performance troubles on my Debian. I installed driconf, because I read it can help. When I ran it from my user account I saw my default renderer is Gallium ...
1
vote
0answers
10 views

Top forest view with filter, can I include all children?

If I'm using top in "forest" mode (V) and I restrict by PID (o PID=12345), can I also get top to show all the child processes in the same view? Ubuntu, top from procps-ng version 3.3.9
-1
votes
1answer
35 views

to make password less login to same linux server with same user [closed]

I have performed below steps to make password less login ssh-keygen -t rsa copy ~/.ssh/id_rsa.pub into authorized_keys chmod 600 ~/.ssh/authorized_keys but still unable to make password less ...
4
votes
3answers
95 views

Passing arguments from one command into the next

I'm trying to write a script to unify two separate commands I run by hand into a single bash script I can then cron. The first command is a simple find on files with a certain name and size find ...
4
votes
1answer
65 views

How to compile programs on Linux systems when I don't have sudo privileges to install the dev dependencies [duplicate]

How should I go about compiling programs that depend on libraries whose development packages (headers and such) aren't pre-installed on the system when I don't have sudo access? In this particular ...
2
votes
0answers
37 views

Difference between 'sar' and 'iostat' commands

With sar and iowait, we can get CPU time utilization. But, when I executed both commands, I could see significant differences in their outputs. > iostat && sar 1 1 Linux ...
2
votes
0answers
18 views

Defining Languages Available at boot - LiveCD

I am trying to create a refined version of the buggy uck for customizing Ubuntu LiveCD ISO, here it is if you're interested in helping. NOTE: The process is straight-forward, except when customizing ...
0
votes
3answers
37 views

how to disable time sync in VM guest?

I have a desktop (centos 6) that has a VM guest (RedHat 5.5). I just try to set the date to past time in VM guest. And it works. However, after 50 minutes, the time is sync to current time. After I ...
3
votes
0answers
51 views

Why are block sizes limited by page size in Linux?

In many (all?) file systems that Linux uses, including ext2/3/4, the maximum block size is the page size of the architecture Linux is running on, ie. 4KiB on x86. Why is there this limit? Might this ...
11
votes
1answer
164 views

How to make a btrfs snapshot writable?

According to the btrfs Readonly snapshots patch it's possible to "set a snapshot readonly/writable on the fly." So I should be able to turn my readonly snapshot (created with btrfs snapshot -r) ...
1
vote
2answers
90 views

How simulate a Windows like admin password prompt in Linux?

I use mint install application a lot but don't think it is safe if I allow the normal user I use to have full privileges over it. I was wondering if there is a way to gain access to this application ...
0
votes
2answers
54 views

RSA keys demanding nonexistant passphrase [closed]

I need to automate a script that logs into a server. I made an RSA key and upload it to the server's authorized_keys file: desktop$ ssh-keygen -f ~/.ssh/id_rsa_marge -P '' -t rsa desktop$ chmod 600 ...
4
votes
1answer
81 views

How to know what to grep for in dmesg?

I recently had some trouble with a wireless card, and an online forum suggested searching dmesg with grep firmware. That helped, I was able to find the problem immediately! However, the previous hour ...