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
vote
2answers
13 views

Issue commands on cross-domain files

I have files on another domain. What's the best way to use commands on them like grep? wget http://path/to/file.txt | grep search However this doesn't work. I guess I can use curl but is there a ...
-1
votes
3answers
22 views

How to display contents of mounted /boot and '/' root partitions?

How to display contents of mounted /boot and '/' root partitions of Debian on SSD drive from Linux Live CD? I know ls -1 to list directory contents, but what is exact steps to get this?
0
votes
0answers
12 views

GParted hangs while resizing partition

I decided to shrink a FAT partition on my memory card by 768 MB to make place for a new one. GParted hangs on the fsck step. The progress bar halts and any window above it leaves the part of the ...
2
votes
1answer
6 views

resetting keys changed by xmodmap

I am playing around with xmodmap filename to assign among others, the Euro sign to the number five key on my US keyboard. I have done some wrong assignments and want to reset them, and I don't want ...
0
votes
3answers
31 views

Screen capture application for RHEL6.5

I need some screen capture application for RHEL6.5 and tried few ways to get one but failed. yum install gnmoe-utils and got: Reading Local RPMDB rpmdb time: 0.000 Setting up Install Process ...
0
votes
0answers
24 views

how to insert seperate lines ( elemnts ) in parameter [on hold]

I have the following csv file more file.csv 1,yes,yes,customer1 2,no,yes,customer5 3,yes,yes,customer11 4,no,no,customer14 5,yes,no,customer15 6,yes,yes,customer21 7,no,yes,customer34 ...
1
vote
1answer
38 views

ifconfig ethernet (eth0) no data flow

Hello this is my ifconfig output: eth0 Link encap:Ethernet HWaddr 50:46:5d:44:5e:fe inet addr:10.0.0.6 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: ...
0
votes
0answers
19 views

How fast is a process reading/writting virtual memory?

So, we have top, htop, iotop, iostat, vmstat, etc, to measure many different things on Linux, but how can one measure how much MB/s a process is reading and writting to/from RAM, i.e., virtual memory? ...
1
vote
1answer
30 views

How to force change linux password even if similar as previous

I am trying to change my current password in Red Hat Enterprise Linux Server release 5.10 (Tikanga) but it says my new password is too similar. Is there any way to force change ? $ passwd Changing ...
0
votes
0answers
36 views

Linux server rebooted automatically

I'm not sure whether due to high load or for some other reason my Linux box seems to get auto rebooted. No cron job is configured. Below is the output from /var/log/message. What can be the reason of ...
-4
votes
1answer
67 views

How Linux differs from other scripting languages? [on hold]

I am interested to acquire a small amount of intermediate knowledge in Linux, I would like to learn to write scripts using Linux operation, I am preparing for Red-Hat Certification sometime next year. ...
0
votes
0answers
12 views

Capstone for Python not working

I'm unable to get Capstone (http://www.capstone-engine.org/lang_python.html) for Python to work. I have attempted to install capstone both using pip and compiling and installing from source. Both are ...
0
votes
1answer
17 views

history command - 50 entries threshold [duplicate]

When running history in some distro installation(from boot cd) I noticed the entries only go up to 50, overwriting older entries once reaching that threshold. Is this defined by each distro? or is ...
0
votes
1answer
11 views

sfdisk don't like partitions - want to dump another hard drive to restore software RAID

I'm using Cent OS 6.5. I have two Hard Drive which are exact copies of each others (/dev/sda and /dev/sdb). /dev/sda failed and had to be replaced. I am trying to copies everything from /dev/sdb to ...
4
votes
3answers
362 views

Switching among cli and vim and other files workflow

I saw some kind of workflow in vim: Vim had a file open. Then some combination of keys made vim disappear and the user was in the command line working in cli mode, then opened another file and then ...
0
votes
0answers
16 views

Folding in vimrc does not work as expected

I added these to my vimrc: set foldenable set foldmethod=syntax set foldlevelstart=1 let javaScript_fold=1 " JavaScript let perl_fold=1 " Perl let php_folding=1 ...
1
vote
3answers
34 views

Server running on guest Linux VM will not accept connections from Windows host

I have a simple echo server program running on CentOS 7. If I run both the client and the server in the VM, I can connect to the server. I'm using VirtualBox with the "bridged" network configuration. ...
2
votes
1answer
45 views

How to Mount a Drive with Right Filesystem?

I am trying to mount the device /dev/xvdc on my CentOS system. When I run an fdisk command I get: Device Boot Start End Blocks Id System /dev/xvda1 * 1 33 ...
14
votes
2answers
790 views

Why does `kill -l` not list signal numbers of 32 and 33?

Executing kill -l on linux gives: 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV ...
-1
votes
0answers
19 views

Script for restart web server automatically when machine (server) restart

I am new in Linux, I am working on weblogic server and I have a script to start weblogic server and its all services. My question is where should I write this script or move, so it will call ...
0
votes
2answers
45 views

Removing duplicated files in the rootfs - to speed up booting time, and improve memory usage

With Buildroot I'm making images for my Embedded Linux Hardware. Mainly I'm trying to speed up the boot sequence (and on the way lower the memory usage), where I've tried many techniques successfully. ...
0
votes
1answer
16 views

NAS set-up issue with NFS protocol in linux Mint

I have a Synology NAS that I'm trying to map in my Linux machine as if its like a regular HDD drive. I have looked all over the internet without being able to figure out how this thing works. I have ...
0
votes
0answers
16 views

third party linux auditing software

Linux has a audit system built-in in its kernel and a user space process called auditd reading the system calls intercepted by the kernel. Are there alternate solutions to the Linux Audit system ? I ...
2
votes
0answers
14 views

How can you annotate or club info into ELF core files on Linux?

For debugging core files it would be useful to add additional information into a core file at the time it is generated. I'm currently using /proc/sys/kernel/core_pattern to run a 'dumb' script that ...
2
votes
2answers
34 views

How to use/test pivot_root?

I want to test the pivot_root command which moves the root file system of the current process to the directory put_old and makes new_root the new root file system. But I always get the following ...
0
votes
1answer
10 views

Linux [admin] How to test pivot_root?

I want to test the pivot_root command line, which moves the root file system of the current process to the directory put_old and makes new_root the new root file system. ...
0
votes
1answer
12 views

Linux packages - Separate Python's external libraries from the system

I read this articles (check What About Python CLI Tools?). Well, this is obivous, separate external Python packages from your System Python's site-packages. When doing a sudo apt-get install package ...
-5
votes
0answers
39 views

Best Linux distro? [on hold]

which Linux distro is better for developers !
0
votes
0answers
7 views

How do I rescue Qubes OS?

When logging into Qubes I get a black screen of death (no backlight). After setting up /mnt/sysimage in rescue mode, rebooting fails because exiting shell (ctrl+d) gives a Pane is dead error. ...
1
vote
1answer
34 views

sudo service command not found when installing mongodb

I am currently on OS/X using macbook. I want to stop the instance of mongodb service running. Hence I tried: > sudo service mongodb stop sudo: service: command not found After looking up on ...
0
votes
1answer
36 views

Comparing Windows and Linux machine hardware

I have to compare Linux and Windows machine hardware? In windows system, I can open the My computer properties and see the details like processors, RAM Hard disks etc. Through task manager, I can see ...
0
votes
0answers
19 views

Securing Linux OS - Anonymity [on hold]

I'm attempting to create a secure OS and means of communication using Manjaro Linux and Whonix for a family member. He has no real reason to remain secure, except he's more paranoid about people ...
0
votes
1answer
21 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. ...
0
votes
0answers
21 views

How to list the services I am authorized to start or stop in Linux? [on hold]

I can use the following command in Linux, to list all services: chkconfig --list It lists all services running on that machine. I do not have the privilege to start/stop some of the services. How ...
1
vote
1answer
30 views

Installing linux on an 32bit UEFI only machine

I have a Intel BayTrial Z3735D tablet which comes with a 32bit UEFI BIOS. After some search I've found that most linux distro don't come with a 32bit efi file. How can I insert one (or build a new ...
1
vote
0answers
12 views

Linux 3.x init ramdisk embedded in bzImage?

Is the initial ramdisk embedded in to the bzImage? How to load an rootfs.cpio as a ramdisk and switch the root?
0
votes
0answers
29 views

Problem dual booting windows 8.1 and deepin on 2 different hard drives

I have two internal hard drives, one is 320GB and the other is of 1TB. I've installed windows 8.1 on the first one (the 320GB hdd), and using mini partition tool wizard I've partitioned my 2nd hard ...
-2
votes
1answer
19 views

How to mount a hard disk in Linux mint? [on hold]

I have a laptop with the 298gb hdd but yesterday a mad kid hitted his hand on my laptop and everything got messed up. The windows os which was intalled is not starting so I started using live usb ...
1
vote
0answers
8 views

Compiling drivers for armada 370

I am trying to compile usb_serial drivers for a Mirabox with armada 370. I first tried as followes : Install linux source for 3.2 (running kernel is 3.2.36) Install linux headers for 3.2 Edit the ...
8
votes
1answer
248 views

Linux: Is there handy way to exec a program binding it to IP-address of choice?

In FreeBSD 4.9 it was very easy to accomplish with just a single command like jail [-u username] path hostname ip-number command if path was / you had running just the same program as usual but ...
-4
votes
1answer
35 views

No Package Manager Kali Linux 1.0.9

I have been searching for this problem everywhere from last 6 hours but never came to an answer which I understood I don't have much experience on Kali Linux but I recently installed Kali Linux 1.0.9 ...
1
vote
0answers
46 views

Linux 0.0.1 Kernel - Starting Kernel Programming

To start kernel programming, instead of reading the books, the online references suggested to download the linux 0.0.1 source and find bugs. I have downloaded it and I am going through the code with ...
1
vote
1answer
37 views

Send specific signal number with specific key

I want to set a specific key like F12 to send me a specific signal number that out of linux signals range that I can handle this signal with trap command. How can I do that? NOTE: I'm working with ...
1
vote
1answer
45 views

how to fix key lag on laptop on startup in battery mode?

I have an XPS 13 Developer Edition Dell Laptop running Debian GNU/Linux Jessie (testing). When the laptop starts up on battery power, the keyboard is so unresponsive that it is a real struggle to ...
0
votes
2answers
39 views

Process auto starts itself not by cron

My linux server was hacked. and now there is a file in root directory that generates big traffic. when i kill this process it autostarts itself again. then i did chmod -x. but it returned x option. ...
1
vote
2answers
32 views

Outputting common lines from 2 files and uncommon lines from both the files in one output file

I have 2 text files. Lets name them file1.txt and file2.txt file1.txt is as follows chr10 181144 225933 chr10 181243 225933 chr10 181500 225933 chr10 226069 255828 chr10 255989 267134 ...
0
votes
0answers
26 views

$_GET getting cut off on server but works on local [migrated]

Our developers all work on their local machines and we have an issue where $_GET is getting cut off on the server but not on the local. (MAC, Apache/MySQL build -NOT MAMP) Is there a setting on ...
0
votes
2answers
29 views

how to add wamp feature to lamp

I am used to do web development using wampserver in windows but recently I wanted to move to Linux and I am using LAMP now but I found that some useful feature in wampserver are not available in LAMP ...
1
vote
0answers
19 views

Understanding IRQs usage [migrated]

In the last couple of days, I've trying to implement a simple interrupt handler in C. So far so good, I think I've achieved my initial task. My ultimate goal is to inject some faults in the kernel ...
0
votes
0answers
12 views

Configure Client Computers to Transfer Data Through a Proxy Server [closed]

what is the equal of below text in linux. i read that doesn't have registry. please asnwer only if you know not for post growth. Start the Windows Registry Editor on the local mode client system. ...