0
votes
0answers
3 views

Disable ELAN touchpad on startup

I don't use my touchpad often and when I'm typing on the keyboard it sometimes happens that my hand touches it and the cursor gets clicked which is annoying. That's why I push the ...
1
vote
0answers
4 views

Error booting kernel 4.5.0-rc1 on Encrypted HDD

I cloned the Git tree of the mainline Linux Kernel and compiled it(version 4.5.0-rc1). After compiling with default configuration (make defconfig) I installed it. In the grub menu I can select this ...
0
votes
0answers
6 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
7 views

Access from multiple users to same directory but can't change directory group to a common one

I need to give full access to user1 and user2 to this directory: drwxr-xr-- 3 oracle dba 4096 feb 9 23:16 scripts I can't change directoy group because probably that group is needed for other ...
0
votes
1answer
6 views

How do I get an acceptable last modified timestamp for my Jekyll site using a shell script?

I would like to be able to provide last modified timestamps to my Jekyll posts and pages using a shell script. The problem is that I do not know how to automatically generate an acceptable timestamp. ...
1
vote
2answers
18 views

List files in your home directory

Im having trouble figuring out that, if I'm in let say the directory /home/test/test2 but I want to find the number of files in the /home directory, how would I do it. I know how to do it if it was ...
0
votes
0answers
6 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) ...
-1
votes
1answer
12 views

Can't set my shell as fish shell due to error when using chsh due to lock file

My problem: I cannot set my default shell for user 'student' on CentOS 7 to fish-shell. I installed fish-shell by downloading the .gz, configuring, make, make install. output of which fish ...
1
vote
1answer
8 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 ...
1
vote
2answers
16 views

Change a string with sed

After using a filter to get a list of process like the next one: FOO_AAAAA_00001 FOO_BBBBB_00001 FOO_ABABAB_0000 FOO_ABCCDAA_00 FOO_12345678_0 FOO_JJJ_00001 FOO_VLLLL_00001 FOO_KKAKAA_00001 The ...
0
votes
1answer
12 views

This organization's certificate has been revoked. error on IE and Chrome Browser

Server type: Apache/2.2.15 (CentOS) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_qos/10.24 No problem on Firefox browser. on IE and Chrome it displays: This organization's certificate has been ...
0
votes
0answers
7 views

Package(s) ignored when I run configure

I have been trying to install vlc for my rhel client for the past couple of days [need it for live streaming]. Anyways, since I don't have direct net connection, I got an rpm for it. On running it, ...
0
votes
0answers
5 views

Xterm and User problem on Linux From Scratch

I made a linux system using LFS book 7.8 and then went to BLFS 7.8. I installed lxdm and xfce4 desktop. All the necessary drivers and libraries are installed. Now when I log in as root, I get no ...
0
votes
1answer
11 views

how do I copy an .iso file to root in Ubuntu

How do I copy a .iso file to root in Ubuntu? Unetbootin does not see my ubuntu.iso unless it is in root. When I attempt to move it, into root, the system tells me I do not have permissions. How do I ...
2
votes
1answer
9 views

NAS attached with fstab

I have successfully mounted my NAS automatically at boot using fstab, however I am noticing that if I modify the files on the NAS from another machine(windows), the linux machine network mounts do not ...
0
votes
0answers
3 views

Samba shares not visible on Kali?

After installing Kali Linux 2016 x64 in a VM and entering the desktop, I followed these steps in an attempt to connect to the samba shares on a computer on my lan. Opened the File Browser Clicked ...
0
votes
1answer
15 views

Why won't the correct new version of Node.js install on CentOS 7?

I am trying to set up Node.js on CentOS 7, but the following commands are failing to install the latest version. What do I have to change in the code below to install the newest version of Node.js on ...
1
vote
2answers
10 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 ...
0
votes
1answer
17 views

How do I remove a line if it begins with a . or a > using sed?

For the life of me I can't get this to work properly (forgive me if this is a trivial question). I have a text file that have lines that begin with either a period, ".", or a right arrow, ">". I need ...
0
votes
0answers
9 views

Debian program ends early (systemd-logind: Removed session)

X-post from stackoverflow. I have a remote debian-jessie server and I sometimes run my programs on it using sftp-client WinSCP through its command line tool. My program sends a bulk of http requests ...
-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 | |-- ...
0
votes
1answer
21 views

C/Unix: How to extract the bits from st_mode?

I am a beginner to Unix programming and C and I have two questions regarding the stat struc and its field st_mode: When accessing the st_mode field as below, what type of number is returned( octal, ...
0
votes
1answer
10 views

How to define a shell variable as equal to the version of Vim presently installed?

I am intending to write a shell script (if specifics are required, it will be executed in Zsh) that will determine the latest Vim patch via running: git pull origin master vernew=$(git describe ...
1
vote
1answer
7 views

Unix FreeBSD scripting sh

How can I strip the time from a ping return? For example: 64 bytes from 10.3.0.1: icmp_seq=0 ttl=63 time=2.610 ms I want to grab the value after time= and pass it to a test like: if time>=50.0; ...
-3
votes
1answer
21 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
0answers
12 views

Protection against in-memory malware [on hold]

What can I do/use to protect my computer against in-memory malware (where the payload is only decrypted in-memory) ?
0
votes
0answers
16 views

Scope of variables in a process substitution

I have a command which takes two arguments. Assume we want to create both arguments by process substitution: cat <(var=123; echo $var) <(echo $var) What has to be done, to make $var available ...
1
vote
0answers
4 views

grub can't find CentOS 7

My desktop was tri-booting between Ubuntu 2.04, CentOS 6, and Windows. I installed CentOS 7 in the space that CentOS 6 used, but update-grub doesn't result in the new CentOS showing up. I can only ...
0
votes
0answers
6 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 ...
1
vote
1answer
29 views

MongoDB authentication failed?

I'm currently trying to set up a secure MongoDB database for my various applications, but whenever I try to login with a username and password, but the shell always replies with Error: Authentication ...
0
votes
0answers
4 views

Centos 7 Gnome, blurry image problems

Sorry for not being very precise, I'm struggling with a problem I fail to identify to be able to find any solution. The image you see above is a screenshot of my problem, every time I need to ...
0
votes
1answer
15 views

specify a tcsh file to source on shell initialization

I am in a shared account, and would like to fire up a tcsh shell from a command line, and specify a custom .tcshrc file to source for this shell. tcsh is being run from a bash shell. An equivalent ...
1
vote
2answers
14 views

How to reverse sort the output from grep -rc

I want to be able to sort the output from the grep -rc command, I am currently using the command: grep -rc "Pattern" . | sort -t: -rk2,2n however the list is still sorted from low to high, ...
0
votes
0answers
10 views

Installation of nginx on Ubuntu 15.10 gives “Inappropriate ioctl for device”

I just installed ubuntu 15.10 in a container on my machine and want to install nginx. I run an apt-get update, and then sudo apt-get install nginx and I get an error message saying Inappropriate ioctl ...
3
votes
1answer
22 views

How can I do a binary search of a text file for a specific character string?

I have a text file that contains a large number of records, each on a single line. Some of the records have special characters that have been corrupted, and I'm attempting to find those by looking for ...
-3
votes
0answers
13 views

No permission for getting the flag [on hold]

when i type flag , i get a message saying You are not admin the possible commande are time,flag and help only.
1
vote
0answers
7 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
1answer
6 views

Using extglob to glob/download over folders titled SRA111 through SRA190

I am trying to download some files on NIH public database via ascp (Aspera Connect). Essentially there are directories SRA111, SRA112, SRA113, SRA114, SRA115,..., SRA190. I need to download all the ...
0
votes
2answers
21 views

Questions about using ssh and how it relates to users

I'm not sure if this is a good question but I wanted to ask here before i resorted to IRC. I dont really understand how SSH works. Can you point me to a good resource to better understand ssh ...
1
vote
2answers
24 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
0answers
19 views

CLI command to start playing inserted DVD in VLC?

I want to add this command into a launcher on the panel or desktop so that I can start the inserted DVD with a single click. I would prefer this to selecting one of the many options my KDE panel ...
2
votes
1answer
15 views

Running maintenance commands in pbuilder chroot using cron

We run an automated build system using pbuilder-dist. We use it to build our open source project Snap Websites to produce nightly builds. Currently we are building against Ubuntu "trusty." The issue ...
0
votes
0answers
11 views

Forced search on specific folders in file manager

I am running Arch using XFCE as a DE. I currently have Thunar as my file manager but I have installed Gentoo and Xfe remotely so I am waiting to have a look at them. My question is: in some file ...
-2
votes
0answers
27 views

make my own Linux OS - Edit Linux Kernel [on hold]

I Want To Edit Linux Kernel To Do An idea in my brain I Want To Make Operating System Based on Linux Kernel
1
vote
1answer
10 views

How is udhcpc executed and how to change it?

I am working on an embedded system and it uses udhcpc as its DHCP client. It seems to be running with the following parameters: /usr/share/udhcpc # ps | grep dhcp 5366 root 2432 S udhcpc -R ...
1
vote
3answers
54 views

sed to remove all after a string?

I'm trying to use sed to remove the rest of a line after: HTTP1.1" 200 I can't figure out how to get sed to understand I want that whole thing as a string to match, including the double quote and ...
2
votes
1answer
12 views

how to open multiple windows in a predefined arrangement with a single command

Sorry, I couldn't find a more explanatory title. I want to write a single bash script/configuration/whatever to open up multiple windows with a predefined arrangement by executing a single command. ...
0
votes
1answer
16 views

How to get pulse sound level

I'm using simple keyboard shortcuts to adjust sound level on my fluxbox 123 :Exec amixer sset Master,0 5+ 122 :Exec amixer sset Master,0 5- However I'd like to add some notification (notify-send) ...
0
votes
1answer
6 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 ...
-2
votes
0answers
7 views

How to capture the GPU video flux [on hold]

I try to capture the output of my gpu.

15 30 50 per page