Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

1
vote
1answer
13 views

Apache can't access file while is has permission

I don't want to allow others read access, so I have added my user and the apache user to a group called apachme and then set that group to all the files and folders I want apache to have access to, ...
-4
votes
0answers
15 views

I am unable to figure out how Wind river Linux works [on hold]

I have received a new device with Wind river Linux running on it. I want to do memory dump and analysis on this machine running Wind river Linux. Is there a proper source using which I can figure this ...
0
votes
1answer
9 views

usb0 problems with raspberry pi

i have recently bought a raspberry pi so i can learn "linux" and other stuff with it, i loaded it with noobs and add raspbian and ubuntu mate (this port from xda forums) and everything works well. ...
1
vote
1answer
8 views

Reducing max audio volume without reducing base volume

Is there a way to reduce the maximum possible audio volume without affecting audio that is below that maximum volume? I don't care if audio that would have gone above sounds horrible and distorted as ...
2
votes
1answer
20 views

How to set pointer speed?

I have kali linux 2 installed. And I have a mouse of 8200 cpi. How can I set the minimal mouse pointer speed? If I set minimum in settings, it is still unusable. Also I tried:xset m 0 0, but still ...
1
vote
1answer
23 views

how to create another physical volume/partition with existing unused lvm space without data loss?

I have a 1T USB disk with Fedora 20 installed. It shows as sdd in the first image below. I only used about 50GB. There are 3 logic volumes under the sdd2 and also there are about 620GB of free space ...
1
vote
2answers
29 views

How to check if unmount of USB device is completed?

I once unmounted an USB device using Ubuntu or Debian file manager, and when the icon next to the drive that shows it is mounted disappeared I immediately pulled the USB device out. Turns out that ...
-1
votes
0answers
22 views

Artificially increase traceroute path to my host on Linux unprivileged [on hold]

is there a way to make the path to my host a hop longer than it actually is on unprivileged Linux? I can decrease incoming packets ttl with iptables but only with privileges. For example this is the ...
0
votes
0answers
37 views

How and why is linux well known and important in the hacking and information technology world? [on hold]

Now in the computer world you always hear of linux and to become a computer pro it is expected you have to learn linux. But why and how did linux become so popular in the hacking community? I came ...
-5
votes
0answers
27 views

What does the command mv do? [on hold]

Which of the following things happen when using the command mv? has no impact on the inode table decrements the link count no data is moved places file data blocks on the free list deletes the old ...
2
votes
1answer
24 views

How to set environment variables on server/client?

On some workstations (Debian & Ubuntu) and on a server (CentOS) I need environment variables for some scripts and jobs. What I did was altering ~/.profile: SOMEVARIABLE=/some/custom/path ... Is ...
0
votes
3answers
28 views

Couldn't update or install using apt-get [duplicate]

My system is linux mint 16 - 64 bit when I run sudo apt-get update, it ends with the following errors: Failed to fetch ...
-1
votes
0answers
14 views

Can an Android Governor work on Ubuntu

Technically Android is Linux. Can an Android governor be compiled with Linux (Ubuntu) kernel so that it can work on systems running Linux?
-2
votes
0answers
18 views

Oracle Linux Unexpected Rebooted

I have Oracle Linux Unbreakable 6.5 running as Virtual Machine on Windows Server 2012 Hyper-V having 24 GB RAM and 12 Cores CPU. Oracle ERP is running over it. yesterday it was automatically / ...
0
votes
0answers
27 views

Intel HD 530 not recognised by kernel 4.4.1

After recompiling the kernel (4.4.1 on openSuse leap), i was expecting to, at least, see the gfx listed when lspci: 00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07) ...
2
votes
1answer
11 views

where can I find the disk latency using iostat ( await, svctm, %util )?

I'm using Redhat Linux 6.5 and would like to see the disk latencies for the used disks. Using iostat I get the columns await and svctm ( including %util ). But according to the man page of iostat ...
2
votes
2answers
20 views

Minimal Busybox/Linux Installation - Won't Run C

I'm trying my hand at creating a very minimal custom Busybox/Linux distro, a task that is admittedly above my head, but I figured I'd give it a shot. My issue is that whenever I try to run a C program ...
-1
votes
0answers
8 views

moving directory using relative-to-home pathname [duplicate]

sample_dir1 -- sample_dir |-- admin |-- cambridge | |-- cafeteria |-- library |-- faculty |-- history.exe |-- markham | |-- annex | |-- annex2 | |-- ...
-4
votes
1answer
28 views

How do I copy a directory into its own subdirectory? [on hold]

For example: sample_dir1 has a sub-directory sample_dir. I want to move sample_dir1 to sample_dir, how would I do that? sample_dir1 `-- sample_dir |-- admin |-- cambridge | |-- ...
0
votes
1answer
10 views

Can't access to trash?

Whenever I try to enter into Trash Bin in Nautilus when a file is in it, an error message will display: Sorry, could not display all the contents of trash:///: Operation not supported. Neither sudo or ...
2
votes
0answers
9 views

Verifying kernel modules using a list of hashes

I'm interested in preventing replay attacks on kernel module verification. I feel that using a list of hashes of kernel modules would be better for this than using digital signatures. My Motorola ...
0
votes
2answers
25 views

Help creating script to move files based on date or filename

I have an FTP process that is constantly putting files into a directory. The date created is part of the filename in a format like this: YYYY-MM-DD-HH-MM-SS-xxxxxxxxxx.wav I would like to move the ...
0
votes
1answer
9 views

Photoshop CS2 doesn´t work on Linux Mint 17 via Wine (initializing tools forever)

Currently trying to install Photoshop CS2 via Wine on an Linux Mint 17.3 Cinnamon 64-Bit x86_64. ---------------------------------what I tried so far---------------------------------- I tried ...
1
vote
3answers
20 views

How can i check my running OS in VPS in Debian 8 64Bit

I have installed Debian 8 64Bit in my VPS. If I need to know what the bit of OS install in VPS command is uname -a and for OS information lsb_release -a. But in Debian Linux distribution the uname -a ...
1
vote
1answer
31 views

Bash: Iterating 2 lists using single For In loop

Suppose I have 2 seperate loops for file1 in `ls Dir1/` ; do echo $file1 done for file2 in `ls Dir2/` ; do echo $file2 done I want Single loop to iterate both Directories pseudocode for ...
0
votes
0answers
13 views

Is AWS AMI 'apache' equivalent to Ubuntu 'www-data'?

I'm trying to convert a Chef script thats used in AWS OpsWorks for an Ubuntu system to a script I can use with my AWS OpsWorks setup for my Amazon Linux AMI installation. Their Ubuntu Setup: sudo ...
1
vote
2answers
24 views

Cannot open both root terminal and nautilus (in Debian 7) after updating Intel Graphics Driver

I am a beginner on Linux. I bought a laptop (Asus, i686 architecture) only with pre-installed Debian 7. However, then I found that when I moved mouse horizontally, the screen shakes horizontally as ...
2
votes
2answers
98 views

Which major contributions did GNU make to the GNU/Linux OS?

I read in the GNU/Linux FAQ, that one of the reasons they are asking everyone to call the whole system GNU/Linux is: Principal & major contribution of GNU in developing the operating system. ...
-2
votes
1answer
23 views

System call Execlp() [on hold]

I have created my own shell in Linux.It takes path of file and command. It operates simple commands like grep ls etc. It uses execlp() system call. e.g /bin/ls ls < this command executes properly. ...
6
votes
1answer
67 views

Is it wrong to link /dev/random to /dev/urandom on Linux?

I'm currently testing gpg --genkey on a Linux VM. Unfortunately, this software seems to rely on /dev/random to gather entropy and politely asks the user to manually type screens after screens of ...
0
votes
1answer
30 views

How to hide Login/Pwd into shell?

I've a Shell script(.run) that let me to connect into Oracle sql : echo whenever sqlerror exit | sqlplus Login/Passwd@SERVER @"TABLE1.sql" echo 'return code : ' $? I'd like to hide ...
1
vote
2answers
27 views

What is the default memory allocation for shell process by linux

What is the default memory allocation for shell process by Linux , i mean is there any upper limit for shell process or any process.
0
votes
1answer
10 views

How to use NVIDIA CUDA on poky/yocto based linux os?

I have an NVidia Jetson TK1 Development board (ARM Cortex A15) which has a Keplar GPU that supports CUDA. I want to do same image processing on it with OpenCV 3.0 using CUDA. Reading through the ...
0
votes
2answers
23 views

Extends partition using another disk [on hold]

I have A 100GB SSD that I use for root partitions. I have 1TB disk. I'm running out of space on the SSD partition. Can I extends its size using the other disk. I know I can move the /home partition ...
0
votes
1answer
19 views

Checking Hardware RAID 5 status from Linux

I have a Host in DC (Data Center), I want to check the Hardware RAID status of the below mentioned host. Is there any third party Package which can give me the status of the failed disk or online Disk ...
3
votes
1answer
36 views

How does linux load firmeware for built-in driver modules

I've learned that the firmware-subsystem uses udevd to copy a firmware to the created sysfs 'data' entry. But how does this work in case of a built-in driver module where udevd hasn't started yet? ...
0
votes
3answers
22 views

How to bulk compress different sub-folders?

I have a folder all_folders which contains 5 folders: ./all_folders ./all_folders/folder1 ./all_folders/folder2 ./all_folders/folder3 ./all_folders/folder4 ./all_folders/folder5 Can I compress all ...
3
votes
1answer
32 views

Cgroups Memory Related Questions

1) Why cgroup is showing more number of tasks than actual number of tasks.? Ex : [root@localhost proc]# ps -aux | wc -l 421 [root@localhost proc]# cat /sys/fs/cgroup/memory/tasks | wc -l 539 2) ...
0
votes
0answers
6 views

Start Graphical User Interface mode in oracle linux OracleLinux-R7-U0-BETA-Everything-x86_64

I have gone through oracle's documentation here http://docs.oracle.com/cd/E52668_01/E54695/html/index.html but coundn't find a content where it states starting a gui in oracle linux. I have tried ...
-4
votes
1answer
37 views

Execlp() System Call [on hold]

I have created my own shell in Linux.It takes path of file and command and operates simple commands like grep ls etc. e.g /bin/ls ls < this command executes properly. ls < this command does ...
3
votes
5answers
2k views

What does pwd output?

Does the command pwd in a shell script output the directory the shell script is in?
0
votes
0answers
15 views

Unable to use Nautilus

I've got Trisquel 7 GNU/Linux distro, with GNOME 3.8.4. I'm finding impossible to create a folder in Nautilus, or drag and drop files into the Desktop, out of other options. I find this quite ...
0
votes
0answers
19 views

GRUB2: adding insmod xxxx module in the grub.cfg properly

I want to add my own custom grub2 module, for ex. xxxx.mod into the grub.cfg. How can I do that? For example, here i want to add insmod xxxx.mod below: ### BEGIN /etc/grub.d/10_linux ### menuentry ...
3
votes
0answers
14 views

FIPS mode, signature verification failed

I am building a kernel with FIPS mode on. I followed most of the procedures described on Red Hat documentation here. I also created a hmac signed .vmlinuz file. After installing dracut-fips and ...
0
votes
0answers
8 views

Unexpected single-quotes in file name [duplicate]

Original post over here: http://stackoverflow.com/questions/35350216/unexpected-single-quote-in-file-name Basically, it seems that ever since I accidentally overloaded my filesystem (it's not ...
0
votes
1answer
23 views

nohup nice job aborted when disconnected

I've learned that "nohup" command allows the command to keep running if you lose your connection or need to logout. I'm running "nohup nice my command &" in remoter through shh, and after my lap ...
3
votes
2answers
28 views

Installing Linux on external drive, then booting up a different machine with it

So I have a machine that I want to install Linux on but for some reasons I won't get into, I can't. What would happen if I hook up an external drive to my laptop, install Linux on it, then plug that ...
1
vote
0answers
7 views

Setting umask of libvirt/virt-manager for proper permissions in a directory shared by host and guest

I'm attempting to create a directory that is fully available to both the host and guest systems of a virt-manager/libvirt/QEMU/KVM virtual machine, with read, write and execute permissions for ...
0
votes
2answers
25 views

sed + add comment to IP - only if IP is matched exactly

my target is to add "#" to the IP's with sed, But Only if IP is matched exactly!!! for example: sed 's/72.16.90.12/#72.16.90.12/g' /etc/hosts more /etc/hosts 72.16.90.121 host1 ...
0
votes
1answer
24 views

Reading file using shell script, format of the line has changed

I am reading a file using the following code: displayLine(){ echo $line } filename="SampleFile" while read line do displayLine $line done < "$filename" The format of the file that I am ...