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

0
votes
0answers
8 views

Ubuntu gets shutdown after unplugging adapter

I have ubuntu 14.04 installed on my laptop Lenovo T430. The problem which I am facing is my machine gets shutdown after I unlug the adapter although the battery is charged 100%. On my machine windows ...
0
votes
1answer
8 views

linux program not running at boot time

I have a few scripts: collection.sh start.sh script1.sh and script2.sh. and here is how I have these set up to run at boot time collection.sh calls start.sh, and start.sh calls both script?.sh. ...
1
vote
1answer
21 views

How to mount a drive from command line

I normally mount my drives just by opening it from filesystem. It automatically mount when I click on a drive. But I wanted to mount a drive from command line. I did ran this command sudo mount -o ...
-2
votes
1answer
27 views

Permission denied when trying to create file in writable directory

I have set 666 permissions to the directory, that means rw for anyone. But when my PHP script tries to create an empty file in it, I get a permission denied error. This is the line that creates the ...
1
vote
1answer
32 views

Can not run executable files from a mounted drive

I have downloaded eclipse and rubymine and previously placed in home folder. Then I used to open both programs by double clicking on eclipse.sh and rubymine.sh. Now I moved these two folders in a ...
-3
votes
1answer
27 views

How does the ps command work?

For an assignment I need to implement my own version of the ps command, but I'm not sure where it gets its information from. Where do I look to find all process information?
-1
votes
0answers
26 views

Strange file cannot be deleted [on hold]

"git status" Untracked files: (use "git add <file>..." to include in what will be committed) "\020\320\350\001" "ls -l" -rw-rw-r-- 1 cf cf 0 Feb 14 07:26 ???? In Dolphin it ...
-2
votes
0answers
12 views

Right now I am working with RPC [on hold]

I am working with RPC, and when i try to run a simple program of displaying a message when the client is invoked the server doesn't respond anything. I am not sure if the issue is with the rpcbind ...
2
votes
0answers
19 views

Linux Mint Login Fail [on hold]

I am running Linux Mint 17.3 Rosa with the cinnamon desktop. Linux Mint has been working fine for me for quite a while, but recently after trying to login to my user account, with the correct ...
1
vote
1answer
17 views

Bourne Shell do while loop returns all the data but has two errors no such file or directory and repeats the shell name

The idea of my loop is to print the first digit of every line of a file. The file being this: 256-56-8411 Bob 3.61 Junior CS 471-44-7458 Tim 3.45 Senior CE ...
1
vote
1answer
33 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
26 views

Are there any memory dump and analysis tools for Wind river Linux? [on hold]

I have received a new Dell Gateway device with Wind river Linux running on it. I want to do a memory dump and analysis of the volatile memory for forensic analysis.(for example using tools like LiME, ...
0
votes
1answer
11 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
9 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
21 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
24 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
32 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 ...
0
votes
0answers
39 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
27 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
32 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
15 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
34 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
14 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
28 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
11 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
26 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
25 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
112 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
24 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
77 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
32 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
28 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
12 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
25 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
20 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?