0
votes
1answer
6 views

When can I omit the dot character that indicate the current directory

Should I use dot to indicate the current directory for accessing directories or should I use it for files only? For example, if the current directory is foo and it contains bar directory and baz.txt ...
0
votes
0answers
6 views

Linux Mint 17.3 not connecting to the internet when in terminal but able to connect using firefox, and i'm using proxy

I have installed Linux Mint 17.3 Mate on VirtualBox and have added a proxy, When using firefox I'm able to load webpages but when I try to run update of the system or to ping it fails , The update ...
-3
votes
0answers
17 views

Write file names in to a file

In a directory I have X.txt,Y.txt,Z.txt files. I want to move these filenames into a single file like below: Out_file.txt X.txt Y.txt Z.txt Any unix command to achieve this?
0
votes
0answers
13 views

Include text from other file in screen printf

The original code of main.sh: screen -S myscreenname -p 0 -X stuff "`printf "myabcdefg"`" I want to put only abcdefg (without my) in other file. Below codes works just fine but I need the text.txt ...
0
votes
0answers
12 views

CentOS 7 Full Partition Size Not Available

I am running CentOS 7 on a HyperV virtual server. I recently increased the size of the hard disk from 32GB to 64GB and used GParted Live to extend the partition, which seems to have worked as shown ...
0
votes
0answers
6 views

How to fully delete files in Cinnamon bypassing the trash?

Using Linux Mint with cinnamon. I deleted some files using ShiftDel, so that they wouldn't go to the trash, but hoping they would be deleted immediately. However, the files are still there, but have ...
-2
votes
1answer
10 views

Executing MySql stored proc in Crontab

I have a MySQL stored proc named "item" and I want Cron to run it for me - in server of course. I'm avoiding using MySQL events to unify all my 'jobs' - backup,etc. Any how this is what I did in my ...
-1
votes
0answers
13 views

developement environment setup [on hold]

How do I configure an environment with 2 linux machines so I can transfer files between them through a Ethernet cable, or one can become a test server for the other to connect to and test online ...
0
votes
0answers
10 views

Is it possible to have a dual-headed console?

I'm running Arch Linux with proprietary nvidia driver and two monitors. I do not have a GUI installed on this machine. I want to take advantage of both monitors. How? I know it is possible with the ...
0
votes
0answers
6 views

Mountable deduplicating container

I want a container that I can mount which dedups files within it. Basically, I'd like to have a simple backup solution where I mount it, copy my home folder with the name "Home (Feb 9)" and it only ...
1
vote
4answers
25 views

how to access the next argument of command line parameters in bash?

Say I have the following: for i in $@; do echo ${i+1} done and I run this on shell $ test.sh 3 5 8 4, it outputs 1 1 1 1 why wouldn't ${i+1} work? I am trying to access the next argument for a ...
-1
votes
0answers
10 views

how to upgrade RHEL 5,3 to RHEL 5.5 [on hold]

i'm asked to install kaspersky endpoint security 8 to some linux servers , but in the kaspersky guild they say version 8 is only compatible with RHEL 5.5 , i'm not sure to which version command "yum ...
0
votes
0answers
7 views

Issues with wireless

I am using CentOS7. I have two computers (www.fit-pc.com/web/products/fitlet/fitlet-t/). I am using NetworkManager and both devices are able to ping each other as well as the gateway. The problem is ...
0
votes
0answers
6 views

Why does a Ubuntu Linux Mono-.NET 4.5 C# Program GP Fault upon loading and running a Shared Object?

On my Ubuntu Linux 15.10 Lenovo desktop computer, I wrote a Mono-.NET 4.5 C# program with a BuildIPCameraListLinux.config file which uses DLLImport to load libxmlconverter.so. Only upon point and ...
0
votes
0answers
8 views

Linux - How Can I Play a Sound File Through the Back Jack via Command Line

So recently I came across the old Ubuntu login sound, and I decided I wanted to add it. So I added it, and it plays normally, but I have an issue. Normally, I have my headphones plugged in through the ...
7
votes
1answer
95 views

Bash: && how to replicate in Fish

Using Bash I've often done things like cd /study && ls -la I understand that the double ampersand is telling the terminal don't execute part two of this command unless part one completes ...
1
vote
3answers
28 views

How to order several options of a command (ls)?

Why doesn't ls behave the same after exchanging the order of options -l and -f? $ ls -l -f 0821131236.jpg 0823130821.jpg $ ls -f -l total 33176 -rw-rw-r-- 1 t t 364186 Jan 6 16:06 ...
0
votes
2answers
19 views

Should the operands to a utility always appear after all the options to the utility?

POSIX says utility_name[-a][-b][-c option_argument] [-d|-e][-f[option_argument]][operand...] ... The arguments following the last options and option-arguments are named "operands". ...
0
votes
0answers
2 views

Dropbox Tray Icon Does Not Appear After Boot Linux Mint

I set my Dropbox daemon to start immediately upon startup on my Linux Mint 17.2 Cinnamon. However, after booting and logging into Cinnamon, I do not see Dropbox in the system tray. I am forced to ...
0
votes
3answers
35 views

How is a command following the while command executed over the loops?

In while <command> part of a while loop, is <command> executed in each loop independently of other loops? In the following example, why can the while loop make read read all the lines of ...
0
votes
1answer
24 views

meaning of [$? -ne '0']. (shell script)

could anyone tell me what the following command means? I'm reading a shell script and studying what it does. But at the end of the script, the following commands appeared. I have no idea what it ...
0
votes
0answers
9 views

libvte unicode font handling

I am trying to display some ANSI text which contains characters from the Unicode private use area. I have two fonts which contain these characters. The first is a PCF (bitmap) font, and the second is ...
0
votes
0answers
5 views

Can 99-raid-check weekly cronjob be scheduled to run in increments?

I have a raid5 on UNIX. Can I somehow automatically schedule the weekly 99-raid-check to run in increments? During the day it affects the performance, so I don't want it to be doing its check during ...
1
vote
1answer
19 views

Comparing original & backup folder, then deleting non-existing files

I'm using Raspbian jessie (ubuntu). I made a .sh that makes a backup .img of everything (excluding mnt, tmp, run, dev, boot, etc.) and let this run once a week with crontab. It checks for modified ...
1
vote
1answer
26 views

How does a linux-based operating system handle applications? [on hold]

I was trying to learn how to run an application without an operating system, and I kept coming across this piece of information: In order to run a program without an operating system, that program has ...
0
votes
2answers
27 views

Command to skip process if file exists

I have been using a for loop to run a pipeline for multiple files but unfortunately the terminal froze halfway. I would like to run the pipeline again but because of time I would like to skip the ...
0
votes
1answer
8 views

KDE 5 does not have window decorations

I'm running KDE Plasma 5.4.3 on Debian stretch/sid. I have kwin_wayland 5.4.3 and sddm 0.13.0. I only installed the base system and then ran apt-get install kde-plasma-desktop/testing sddm/testing ...
0
votes
1answer
16 views

Circumvent deletion of screen session and nohup processes on logout

Everywhere I look I see that screen is for keeping a session open so that you can come back to it after disconnection. But this doesn't seem to be the case for a system that I ssh to. Do I ...
0
votes
0answers
4 views

AMD Catalyst proprety driver 15.31 kali rolling 2016.1

I try to install official amd driver , but when I finish to install it not work and when I turn on the comupter I recive black screen, and I can do nothing, someone could help me?? Thanks.
0
votes
1answer
14 views

how to bring back md5deep

I have been using md5deep for a very long time, more than 10 years. It is a natural "go to" tool for me since it offers recursion, matching and missing modes, and even a triage which I do like. I ...
0
votes
0answers
3 views

AutoMount A Windows CIFS Share to CentOS 7 Using Active Directory In A Single SignOn Scenario

I have a CentOS 7 machine I setup which is integrated into a Windows 2k8r2 Active Directory domain using SSSD and RealmD. I am using AD Security Groups to restrict domain user access to the Cent ...
0
votes
0answers
4 views

How does bcma relate to brcmsmac?

I am trying to solve some issues with my wireless connection and trying to learn something on the way. From here and here I got to know two different ways to know my wireless driver. Thing is, I get ...
3
votes
2answers
16 views

kernel configs and dependencies

When a particular kernel config is turned on, e.g. CONFIG_CRYPTO_FIPS=y a bunch of other dependencies (CONFIG_XXX_YYYY) get turned on during compilation. Is there a way to know all the dependencies ...
1
vote
1answer
9 views

change cache location patch for APT

When using apt, can I tell it to use other then /var/cache/apt location? I tried adding the following line in /etc/apt/apt.conf: % cat /etc/apt/apt.conf Dir::Cache /home/apt and re-run apt but it ...
0
votes
1answer
10 views

OpenSSH import configuration from external files

I've been searching around with no luck, so I'm just asking to make sure. Is it possible to import an external config file? Example with ~/.ss/config file : Hosts * IdentityFile ...
0
votes
0answers
4 views

squid3 dependency libnette4 package crashes the entire kali linux os

I try install squid3 with apt-get install squid3 it say faile because dependency libnette4 package when I type apt-get install libnette4 screen comes into black and no response cut the power and ...
0
votes
1answer
28 views

Listing files with a certain extension

I'm suppose to write a command that would list all files that end in .tx with an optional t at the end. So far all I got is listing the files that end in .tx which is: ls *.tx Now my problem is ...
1
vote
1answer
33 views

How do I maintain sudo in a bash script?

If I run this script, how do I pass super user permissions to it? I wrote this just to setup new machines with the basics. I don't want to run every command with elevated permissions, but the commands ...
2
votes
0answers
12 views

Changing fonts in the FreeBSD terminal

How would I change the font of my terminal in FreeBSD to the Noto Sans font? I am interested in Noto's support for a wide variety of Unicode characters. I downloaded the font using the package manager ...
2
votes
0answers
11 views

Acpid action works when ran as root but not when started by systemd

On Fedora 23 I wanted to add custom action when laptop lid is opened. I have installed acpid and created three files: /etc/acpi/events/lidconf event=button/lid action=/etc/acpi/actions/lid.sh "%e" ...
0
votes
1answer
13 views

Help designing an 'extract - store - feed' workflow

Working with a large volume of files, I would like to automate the process of storing stdout info as a variable that I can feed into as an input for my next process. Specifically, when I put... ...
0
votes
0answers
6 views

Execute command on ranger selection [on hold]

I haven't found an advanced tutorial on ranger yet, so my question is: is it possible to execute a command on a selection of files in ranger ? If so, how would I do that ?
0
votes
0answers
8 views

How to setup VLC with gtk file dialog?

My long lasting previous installation somehow tied up VLC and gtk file dialog. I didn't even do anything special, except installing VLC. After update to VLC 2.2.1 the file dialog was replaced to Qt ...
0
votes
0answers
27 views

Essential Packages for a Debian Build System

I am building a Debian Jessie build system running on an arm processor. I use elbe which, to oversimplify, is a bunch of Python scripts that call debootstrap to create the base system: debootstrap ...
0
votes
0answers
5 views

Switching Users in Centos 7 gui

I got CentOS 7 installed with gnome desktop. During set up I set a password for the admin account, and also set guest with no password and without admin rights. When i rebooted and went to login the ...
0
votes
0answers
8 views

Trying to FTP from Remote to EBS server

I am trying to copy files from Remote server to EBS server but nothing is copying. I am using below code. Could anyone please help on this CONNSTR=${1} REQUEST_ID=${4} P_SOURCE_DIR=${5} ...
1
vote
1answer
25 views

How to subtract rows from first row using awk?

My data file looks like: 10 -0.314690785295 20 -0.251967909317 30 -0.215271387106 40 -0.189228416217 The desired output is: 10 -0.0627229 20 -0.0994193 30 -0.1254623 I am really new in bash, so ...
0
votes
0answers
19 views

Can't start Ubuntu VM on VirtualBox 5.0.14 [on hold]

I've been trying to spin up Ubuntu and Xubuntu (14.04.3) VM's on VirtualBox installed on my Windows 7 laptop. For reference, I tried running an older Ubuntu VM (with Spark installed, that worked ...
0
votes
1answer
9 views

NFS server mount options vs. client mount options

On an NFS server, the shares are typically set up in /etc/export, where mount options like rw, root_squash, sync etc. can be set. When mounting the NFS share on the client side, again mount options ...
0
votes
0answers
10 views

Create iso Frame buffer video [on hold]

How to create a ISO and only frame buffer video console? (Example: archlinux, fedora, debian, Ubuntu, etc)

15 30 50 per page