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

why isnt the inode id of dotdot didnt have the updated inode id?

I have a function that backtracks from the child directory to the root by getting the inode id of the parent from the ".." dentry of the child. The main purpose of this backtracking is to identify the ...
0
votes
0answers
6 views

Make PREROUTING IPTables rule only target incoming requests

I've almost got this rule doing what I need, but I cannot figure out how to only target incoming requests. -A PREROUTING -p tcp -m tcp --dport 80 -m comment --comment "redirect traffic to backend ...
-1
votes
0answers
6 views

It seems partition table got wrecked after running update-grub on a new advanced format HDD (all part sizes got divided by 8)

I have kali linux installed on my laptop. Just've bought new drive (WD 500GB one) for it recently and used combined knowledge from these two guides: http://bremford.org/tips/MigrateDiskInUbuntu.html ...
0
votes
0answers
7 views

Interface can see ARP packets but can't see the ICMP echo requests

Moring SuperUsers, got my self into a pickle. I have to servers, os-net and vmhost3, connected together via a cross-over cable on their respective 10Gbps interfaces. Both servers are running Ubuntu ...
0
votes
0answers
4 views

How to stream MPEG video using RTP using VLC command line

I'm attempting to convert the following vlc command line which is streaming an MPEG video over UDP ( no RTP ): cvlc -vvv /vlc/attract.mpg :norm=ntsc :v4l2-width=320 :v4l2-height=240 ...
0
votes
0answers
6 views

Lost Meta key in RHEL/Gnome

I seem to have lost my meta key... I am running xev, and when I press "meta" (in fact a "Win" key on my keyboard), the following event is seen: KeyRelease event, serial 33, synthetic NO, window ...
0
votes
0answers
6 views

Android desktop environment on a monitor with mouse and keyboard?

I have a chroot'd Arch Linux environment set up on my Android phone (a OnePlus One) and I would like to connect it to a monitor, mouse and keyboard to use as a desktop. How can I do this with low ...
1
vote
2answers
25 views

linux - is there a more advanced version of top?

Is there any type of super-top command that will show the results through time? With regular top, it will tell me for an instant what processes are using what, but is there anything that will show ...
0
votes
0answers
7 views

Ratio of size of single version to size of full distributed version controlled archive

I am considering using Git. What I would like to know is, if I am going to download the full distributed version controlled archive to my local machine rather than checking out a single copy as used ...
0
votes
0answers
11 views

Since the change in chrome 35.0 that makes backspace a shortcut for back on linux, how do you disable this feature?

From reading here it seems that the previously correct behaviour of chrome to not make backspace be a shortcut for back has been removed from chrome on linux. How do I correct this mistake?
0
votes
0answers
11 views

python-gnupg search_keys() returns different result when run as root

I have a python script that needs to be run as root (to access framebuffer on a raspberry pi with a small touchscreen). This script also needs to search for keys on a keyserver. To achieve this, I am ...
0
votes
1answer
10 views

Availability of new apt syntax

I've noticed on Ubuntu >= 14.04, it is possible to use such syntax as apt install mypackage, no longer requiring use of the traditional set of apt tools like apt-get and apt-cache. Not only is the ...
0
votes
0answers
5 views

debian connect to wireless always fails

I am trying to connect my Debian jessie machine to a wireless network with SSID myssid. When I issue the command # iw dev wlan0 connect -w myssid it shows the following: wlan0 (phy #0): connected to ...
0
votes
1answer
20 views

What Windows 8.1 (x64) / Linux SSD/HDD setup should I use?

I have the following drives and their planned usage below. 120GB SSD - Arch Linux or Ubuntu (OS, programs) 240GB SSD - Windows (OS, programs) 1TB HDD - Split in half, one partition per OS ...
0
votes
1answer
12 views

Putty pastes damaging indentation sometimes

Often, when I am pasting from windows to putty, it breaks indentation. Example below: How to fix?
0
votes
0answers
3 views

CENTOS 7 File Browser missing tree and settings

OS: CENTOS 7 with GNOME 3 GUI CENTOS 6.5 offered a File Explorer applet that allowed for the ability to save settings (make list view the default, and save tree view as opposed to Places.). I do not ...
0
votes
0answers
3 views

centos 7: control idle (screen blanking) time?

OS: CENTOS 7 / Gnome 3 GUI How do I the time that must elapse until the OS thinks that the computer is idle and blanks out the screen? I am aware of the new Settings | Privacy | Screen Lock feature, ...
0
votes
1answer
7 views

How to scan using Canon MF3010 in Debian

Recently I bought a Canon MF3010 All in one printer. I got the printing to work after installing the drivers from Canon's website and adding it in CUPS. How ever I am unable to make use of the ...
1
vote
0answers
12 views

Cannot 'make' program in Linux (autoreconf failure)

I want to compile a program called crisprtools. I am supposed to run ./autogen.sh but it says: Preparing the crisprtools build system...please wait Found GNU Autoconf version 2.69 Found ...
-3
votes
0answers
11 views

SQL Database doesn’t work right

I tried increasing the size of one of my disks. I booted using a LiveCD and used gparted to set the desired size. When I rebooted LiLo failed, but I was ready for that and fixed it, but now MySQL ...
1
vote
0answers
12 views

Cannot connect to eth0 using static configuration

My router broke, so I am trying to set up a wired connection using eth0. I am using Crunchbang Waldorf, which is Debian based. I put the correct settings in /etc/network/interfaces and I also created ...
0
votes
0answers
11 views

List of subdirectories that contains a particular file name

I am wondering if i can do this in a single shell command. I am in home directory and want to find a list of subdirectories that contains a particular file. The file name and the depth is always ...
0
votes
0answers
8 views

IPV6 DHCP server configuration

I'm new to IPV6. I'm trying to configure IPV6 server on my Linux VM using isc dhcp. we have the following content dhcpd6.conf file default-lease-time 600; max-lease-time 7200; log-facility local7; ...
0
votes
0answers
16 views

{Debian}External disk unmounting and corrupting on big files upload with seafile

So I recently bought a little dev board (radxa) to use with a spare external drive that I had to create a dropbox clone. At first I was using Owncloud but due to my system limitation (32 bit) php ...
0
votes
0answers
18 views

USB 3 hard drive not mountable on Linux

I am trying to mount an external hard drive with ext2 filesystem. "dmesg" tells me: > dmesg | grep sdb [ 3.436513] sd 6:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) [ ...
0
votes
2answers
25 views

Linux blocks my ports, how to unblock it?

I use Centos 7. I disabled iptables: sudo service iptables stop sudo chkconfig iptables off I also disbaled SeLinux: $sestatus SELinux status: disabled But ports are bolcked. ...
0
votes
1answer
8 views

How do you stop or prevent gitlab from running on startup?

I've installed gitlab on Ubuntu 14.04, from the following deb file: gitlab_6.9.2-omnibus-1_amd64.deb It works beautifully. But I want to perform some maintenance on the box without gitlab running, ...
1
vote
1answer
16 views

Are file systems like SFS and UFS still used today?

I have read the Wikipedia pages for both these file systems: SFS (Smart File System) UFS (Unix File System) but I couldn't find a real answer. For example, for SFS the common Operating Systems ...
10
votes
1answer
1k views

How urgent is a *** System restart required *** for security?

To learn a bit of server administration I've set up a simple Ubuntu 14.04 server on which I run a personal website. I've set it to automatically install security updates, but leave out the other ...
0
votes
1answer
15 views

Setting access rights when using shared folders with vmware fusion

I have CentOS 6.5 minimal guest, and OSX Mavericks 10.9 host. The player is VMWare Fusion. I want to edit files on host and run them on guest. I am trying to use shared folders to achieve this. A ...
0
votes
0answers
13 views

Ignore One of Two Virtual Network Interfaces Based on Same Physical Device Ubuntu

I am currently trying to set a small mesh network and would like to be both connected to my wireless network and on the mesh. This is to provide internet to the mesh network. I have created a virtual ...
-1
votes
0answers
17 views

How to set DNS correctly in a network namespace?

I try to set a network namespace and visit internet inside this network namespace. ip netns add netns1 ip link add A type veth peer name B ip link set B netns netns1 brctl addbr bridge0 ip addr add ...
2
votes
1answer
22 views

Deleting another user's files

Some files are automatically published to a folder on my machine by a scheduled job. The nature of the job is such that the files get published with the owner as xyz. Now I need to create a Python ...
2
votes
0answers
21 views

Can I have a conditional shebang?

I have a script that can be run with different interpreters: #!/usr/bin/env default-interpreter [my script] But I would like to use an alternative-interpreter if it's available, like this: ...
0
votes
0answers
23 views

Replace Linux with Windows via SSH

Is there a way to replace Linux with a Microsoft Server, only by using a shell? I know that there a "easy" ways to install Windows in a virtual maschine, and simply boot form that, but that is not ...
0
votes
0answers
10 views

Preserving existing destination symlinks with rsync

I am using rsync to keep a local debian repository updated. Recently, the disk I am using to store it started running low on space, so I decided to use symlinks to allow me to move some of the ...
0
votes
0answers
8 views

How do I remotely copy a gnome panel configuration from one computer to another?

How do I remotely copy a gnome panel configuration from one computer to another using the commmand line?
2
votes
1answer
49 views

How to diff the redirection of two commands in a shell script

in the command line I can diff the output of two commands with $ diff <(cmd1) <(cmd2) but if I put this in a shell script $ sh do_two_comands_diff.sh It does not work $ diff <(ls) ...
0
votes
0answers
13 views

what is User_Alias Host_Alias Runas_Alias Cmnd_Alias how to configure it

Anyone please help me to solve my problem i am using Centos my kernel version is 2.6.32 i want to know what is User_Alias,Host_Alias,Runas_Alias,Cmnd_Alias in sudoers file. and how does it work how to ...
0
votes
0answers
26 views

How to write a script that accepts input number(1-5) from user and then run the corresponding bash file in same directory?

How to write a script that accepts input number(1-5) from user and then run the corresponding bash file in same directory? Initial scripts asks a user to input a number. Like if a user enters number ...
0
votes
2answers
20 views

How to realocate space from the Swap partition to the ext4 'normal' partition in Ubuntu?

My Linux is running in a VM for which I allocated half of the physical amount of RAM (32 div 2) and 20 GB of disk space. I can see the structure of my disks. The 'linux swap' partition took 16GB. ...
0
votes
1answer
42 views

What prevents my server being contactable from the internet?

I have 3 devices in my home network; a Netgear ReadyNAS, a Raspberry Pi [Pi1] running Raspbian Debian and a Raspberry Pi [Pi2] running XBMC which I think is also based on Debian. I have set up 3 port ...
0
votes
2answers
26 views

How do I log in as admin in ubuntu?

I need to expand one of my disks ( How to expand available disk space in Linux guest (running under VMWare) ) and for this I need admin privileges. How do I log in a admin in ubuntu? I entered su - ...
0
votes
0answers
7 views

Call script from a bash-initialized clean environment

So I've got an executable with conflicting dependencies with the build system it is running in. (AKA Xilinx doesn't play well with others). I'd love to run a cmake script as part of the build process, ...
-1
votes
0answers
16 views

How to expand available disk space in Linux guest (running under VMWare)

I just installed Linux in VMWare. Although the disk reserved for this guest machine is 20gb, Linux uses only 4gb and almost ran out of space. How do I convince Linux to use the entire 20gb? The host ...
2
votes
1answer
8 views

Multiple uplink routing on Linux

Objective I'm trying to setup some kind of "uninterruptible Internet supply" for a Linux machine. For this reason I'm using two uplinks: a standard wired connection via eth0, and additionally a 3G ...
0
votes
2answers
32 views

virtualbox increase cpu cores script wise

1x cpu core is not enough for an SMB filesharing Ubuntu box. How do we poweroff the VM at midnight, increase the cpu cores 1->2, and power on that box (script-wise)? (it's a windows host... but ...
0
votes
1answer
12 views

How to log initialisation script?

I have a certain script that i run to set up services on the machine. When i run script from command line, all services are started, but when it is run during initialisation, some of them fail to do ...
0
votes
0answers
22 views

linux namespace, How to connect internet in network namespace?

I want to test Linux network namespace. The current problem is, I cannot connect internet in the namespace Here is my commands: 1) Create network namespace netns1, create a pair of veths (A and B) ...
0
votes
0answers
10 views

Xkb keycodes to print 2 characters on one key

I'm composing xkb layout for javanese language. I need to create a key code which can print two unicode characters at once. How to make it possible? For example I want Shift+S to print 2 chars: ...