These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
1answer
8 views

The last log for reboot appeard twice

Does anyone know what's the meaning of my last command? reboot system boot 2.6.32-431.11.2. Sat May 28 15:06 - 05:01 (1+13:54) reboot system boot 2.6.32-431.11.2. Sat May 28 05:03 - 05:01 ...
2
votes
3answers
130 views

Root, home and boot partitions

So I had been considering that partition is like a separate section of space. Recently, I decided to experiment with partitions and found a flaw in my understanding. Some examples refer to a case ...
5
votes
1answer
4k views

Understand the Route table

I just setup the OpenVPN and it is working as expected. However, the routing table of the client is confusing me to no end. Here is the route table: # route -n Kernel IP routing table Destination ...
1
vote
0answers
13 views

Why group-writable file works “unidirectionally”?

Users vi and rust share group rust and want to use some file in shared manner. rust$ ls -l myfile -rw-rw-r-- 1 vi rust 0 May 30 03:48 myfile rust$ id uid=1048(rust) gid=1057(rust) ...
-1
votes
0answers
27 views

Install a package from SSH

This is my first experience with Linux. I want to install a package (named screen) and I have access to a SSH login which I use putty on Windows to do so. Is there a way to install screen from putty ...
0
votes
0answers
11 views

Cloud Linux Reboot Fail

I have recently installed cloud linux, When I reboot the server by initiating the reboot command through ssh, the server does not work. I cannot access the server through SSH or anything.
1
vote
1answer
820 views

Accessing Macintosh HD from Ubuntu

So after I upgraded my MBP to Yosemite, I have lost dualboot. After a long struggle, I finally reinstalled refind to work properly. Unfortuantelly, when I use Ubuntu, I cannot access Macintosh HD ...
1
vote
0answers
14 views

Typing { } on Debian in VirtualBox on OSX

I have a OSX with VirtualBox and a virtual machine with Debian. In the virtual machine I'm not able to type those brackets {}. Any help ? I have an Italian keyboard on my Mac.
0
votes
0answers
12 views

Mouse double clicking when I only single click

My mouse registers a double click sometimes when I only single click. I don't want to buy a new mouse. Is there a software fix for this on Linux? I have been looking for a shell script, but no luck. ...
2
votes
2answers
26 views

Multiple tmpfs partitions

[mayur@mayur311-pc ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 50G 3.6G 47G 8% / devtmpfs 3.9G 0 3.9G 0% /dev tmpfs ...
2
votes
3answers
31 views

Get file modification time in yyyymmddhh24miss format

I want to get the modification time of a file in a specific format. How can I do that ? I know about stat -c %x find.txt but I need this format: yyyymmddhh24miss I'm using ksh on Linux ...
0
votes
3answers
25 views

How do non-interactive programs get the permission to edit files in /etc

I'm writing a program in python that needs to edit some files in /etc. Some system some its own. How do I get those permissions from within the program itself without running sudo as the program ...
1
vote
1answer
18 views

Why the 1MiB should be used when setting the first partition?

As the arch install guide suggests (using parted to do the partitioning) (parted) mkpart primary ext4 1MiB 100MiB However, when checking the output of fdisk, the start of the partition is not ...
0
votes
0answers
22 views

Why is a 'Trusted Network' Port More Secure?

I'm working through this tutorial ATM. http://www.cyberciti.biz/tips/using-nginx-as-reverse-proxy.html I'm planning on using NGINX for a simpler scenario but I'm curious as to why the tutorial ...
1
vote
0answers
14 views

GPU pass-through KVM Fedora 23

I am attempting to pass a GPU to a windows 10 VM running on a Fedora 23 host: Virt-manager Host: Fedora 23 Guest: Windows 10 64 bit guest UEFI OVMF GPU: R7 AMD Radon 250 is the GPU that I am ...
33
votes
2answers
29k views

What is difference between User space and Kernel space?

Is Kernel space used when Kernel is executing on the behalf of the user program i.e. System Call? Or is it the address space for all the Kernel threads (for example scheduler)? If it is the first ...
0
votes
1answer
33 views

Functionality of first version Linux? [on hold]

When Linus posted the very first original version of Linux (that he sent to a mailing list) - how much functionality did it have? What could it do and what couldn't it? I supposed that it didn't have ...
1
vote
1answer
15 views

What does a “Synchronous” type detail mean in dmidecode?

I'm curious if my 2 DIMMs are running dual-channel or not and use: dmidecode -t 17 ... Type Detail: Synchronous ... What does a "Synchronous" type detail mean? Dual-channel?
0
votes
0answers
22 views

how to read all bios settings in linux programmatically

I don't think that dmidecode shows all the bios settings . Is there a way to read all the bios settings programatically in SLES?
3
votes
1answer
2k views

SOLVED: Useradd fails: useradd: cannot lock /etc/passwd; try again later

When I attempt to add a user or delete a user, as root, I get the following error: useradd: cannot lock /etc/passwd; try again later. After looking thru many posts I don't have any of the usual ...
0
votes
1answer
861 views

Samba share open for all to all

thanks for viewing at this question. I have a CentOS 6.5 server with a share that is and should be accessable for and from everyone. All content placed on that share should be accessable by everyone. ...
-1
votes
0answers
7 views

Linux mint 7.1 problrm

I can't change the desktop background and can't change the folder icon Totally changed the UI of my Linux OS... It's taking more time while booting.. Somebody please help me An my OS is 32 bit
-1
votes
0answers
10 views

PTRACE_TRACEME without parent [on hold]

I'm trying for fun to exploit a code which uses ptrace to prevent debugging. This executable is suid, therefore there's no use in cracking it. It have also the stack segment executable. This ...
0
votes
1answer
11 views

want to create an offline bitcoin wallet on a live persistence linux help me choose best distro [on hold]

the important part is that i want a distro that any newbie can use easily because i am a newbie and in the end i want to create a walkthrough so everybody can use it too. ==SHORT VERSION== want to ...
21
votes
6answers
269k views

How to mount a device in Linux?

I read some resources about the mount command for mounting devices on Linux, but none of them is clear enough (at least for me). On the whole this what most guides state: $ mount (lists all ...
0
votes
1answer
21 views

redhat + how to find the oracle JRE version 1.7 from redhat site

I am searching the JRE 1.7.x version from red-hat site by yum command bot not find anything yum list | grep java | grep "1.7" | grep -i jre no such patch or maybe redhat not hold JRE 1,7 ...
2
votes
1answer
24 views

Process name post killing

I am getting OOM error and killed process error in logs. In the logs, I can see the process ID which has been killed by kernel but not able to find out which process is actually been killed. Can we ...
1
vote
3answers
51 views

Remove all the rows below a specific row number from one specific column

I've asked a question before on true row deletion, and got some great answers, but I'm now interested to know how you would remove all the rows below a specific row number from one specific column. ...
4
votes
1answer
26 views

how to reliably determine processes using files after `umount -l` on linux

The Question After umount -l was performed on some mounted filesystem, and this filesystem remains still mounted (albeit hidden) because of some process maintaining (at least) one open file handle to ...
0
votes
1answer
22 views

extract two columns and add at a specific location to another file that is already full of columns

I have a file where I want to extract two columns and add at a specific location to another file that is already full of columns. Could I cat file 1 and make it a variable and then cat file 2 and ...
5
votes
1answer
13k views

How to execute Windows commands remotely from Linux machine using rdesktop command?

Is it possible to run Windows commands using rdesktop tool in Linux? I tried with rdesktop -s option: rdesktop -u user -p 10.0.0.2 -s "cmd.exe" but I'm not able to open the cmd.exe using the above ...
1
vote
1answer
59 views

Version Magic in Linux?

Recently I have encountered new words "Version magic" & "Partition magic" in Linux. Can anyone brief me what do they mean?
3
votes
3answers
192 views

Atomic removal of directory

Because rename(2) is called by mv, is it safe to assume the following would be atomic? $ mv /home/me/someDir /tmp/toBeDeleted $ rm -rf /tmp/toBeDeleted
1
vote
0answers
12 views

How to build GTK2 on the Mac OS X EI Captain?

I tried to build GTK2 to Mac OS X EI Captain from source code. But by the environment variable (INCLUDE?), an error occurred and I failed to build. Please help me by advices? Doesn't someone have the ...
1
vote
0answers
32 views

Touchscreen on embedded Linux can't tap / click

I use a 7" display with resistive touchscreen, embedded Linux for ARM CPU. Manufacturer Engicam, design is similar to Freescale / NXP i.MX6 Sabre board. With Yocto 1.7.3 and Engicam board support ...
1
vote
1answer
2k views

CentOS custom ISO installation - /dev/root does not exist

I am building a custom ISO for CentOS 7 and for now I am just intending for this to be an absolute minimal install (a proof of concept basically). I am re-creating the ISO via using mkisofs. The ...
4
votes
2answers
1k views

Increasing Accuracy of Synaptics Touchpad - Arch Linux

Here's my current problem with my Arch Linux installation. The touchpad is horribly inaccurate. And by that, I mean, I cannot click links without having to sway back and forth. I've been resorting to ...
4
votes
2answers
269 views

How can I grep two things where one has option -w?

I have a json file from where I want to get the value of two items which are in an array using grep. Let's say I'm trying to get data from values foo and bar, the problem is that baralso matches ...
12
votes
3answers
311 views

Untrusting an intermediate CA in Linux?

From this blog. Intermediate CAs are certificates signed by a root CA that can sign arbitrary certificates for any websites. They are just as powerful as root CAs, but there's no full list of ...
9
votes
1answer
278 views

Linux iptables ssh port forwarding (martian rejection)

I have a Linux gateway performing NAT for my home network. I have another network which I'd like to transparently forward packets to, but only to/from specific IP/ports (ie. not a VPN). Here's some ...
10
votes
1answer
944 views

Why are there two different values for the size of a drive and how to reconcile them with device-mapper and LVM?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
3
votes
1answer
149 views

How to check if reading from /dev/random will block

I have found information that /proc/sys/kernel//random/entropy_avail indicates number of bits available in /dev/random. I wanted to check whether the next reading from /dev/random will block and my ...
1
vote
3answers
58 views

Discover Static IP of connected ethernet cable

Ok, so my question is a bit out there, and I've read a lot of similar questions but they never actually are doing what I am trying to accomplish. So the best way to describe it is with this scenario: ...
10
votes
1answer
10k views

Dual boot windows on second harddrive, UEFI/GPT system

I'd like to install linux, but I don't want to risk damaging my current windows installation as I have heard a lot of horror stories. Fortunately, I have an extra hard drive. Can I install linux ...
0
votes
1answer
8k views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
0
votes
2answers
752 views

Unresponsive desktop after resume from hibernation

After booting up my computer after hibernation (suspend to disk), my desktop is unresponsive for up to 15 minutes. I've found that the slowness is caused by the fact that all running applications seem ...
3
votes
1answer
26 views

Detemine “which device a file is in” in chroot environment?

According to this: Determine what device a directory is located on I can find which device a file is in by df command in a normal environment: fpemud-workstation / # df /bin Filesystem ...
0
votes
1answer
1k views

openSuse, not running the cron job

I have created a cron job in the /etc/cron.d/dispatchingEmail_I the permissions of dispatchingEmail_I are the following: -rw-r--r-- 1 root root 84 Sep 11 19:52 dispatchingEmail_I content of ...
0
votes
1answer
24 views

Execute a process always and continuosly in a single CPU Core [duplicate]

I would like to execute a process, which always has to use only one of the CPU core, and continuously run on that single core only. I am using Ubuntu 14.04, How can i achieve this?
0
votes
3answers
38 views

RTC and System clock not in sync

How to set the system clock sync with RTC (Hardware Clock / BIOS). I am writing a script that uses a system clock in order to start the system with alarm. For this the sole requirement is to have a ...