0
votes
1answer
29 views

Can't terminate / suspend a background job

I am a beginner so I wanted to do a test for the Job Control Commands. So, I ran a cat command and then made it a background job using the bgcommand after stopping it with Ctrl +Z. Now I wanted ...
1
vote
2answers
50 views

`sudo: command not found' when following a tutorial for Let's Encrypt

I'm following a Godaddy help tutorial in order to install Let's Encrypt certificate for my website. So I connected to my server using ssh via Putty. Typing the command sudo git clone https://github....
1
vote
1answer
27 views

Different command outputs

I entered same command with a variable host. During 2nd time I entered blank space between host,= and $. Why it was trying to connect to a server ? Also, when I write like $(host name), I am getting ...
-2
votes
2answers
39 views

How to compare “abc” with abc in bash?

I did not find the answer other location, so seek help here. My code need compare "stop" with stop this is stand bash string. pi@raspberrypi:~/Voice $ ./test.sh | more "stop" stop My code: #!/bin/...
3
votes
1answer
20 views

How can I escape an exclamation point in the PS1 environment variable?

It is substituted with the history number even if I try to escape it with a backslash.
4
votes
2answers
51 views

Compose string of IPs using bash command line

I have a command that returns the following: id1="172" id2="17" id3="136" id4="5" id5="0" /> id1="172" id2="17" id3="128" id4="2" id5="0" /> id1="172" id2="17" id3="128" id4="4" id5="0" />...
2
votes
0answers
18 views

Disable Chrome titlebar in X11 without window manager

I am creating a desktop environment to launch a Chromium-based kiosk, with this set of commands: nitrogen --set-centered /usr/share/$name/$name-logo.png --set-color="#ffffff" xset s off; xset -dpms; ...
-2
votes
0answers
29 views

kali rolling 2016 theme errors after installing new upgrade and dist-upgrade

The new updates and upgrades have bugged all my themes from working any ideas and advice is appreciated, Kali x theme works just about the title text is grey, so hard to see but when applying themes ...
0
votes
0answers
21 views

need creat, open, read write tutorial on the web [on hold]

creat, open, read, read, and lseek are functions used to process binary files in Unix C (cc or gcc), but I'm having trouble finding a tutorial on them on the web. Does anyone know of such a tutorial?
2
votes
1answer
39 views

How do I stream to Chromecast using VLC?

I just downloaded VLC 3.0 Beta (using ubuntu ppa) and I wanted to know how to set it up to stream to chromecast. It's in the repo's NEWS that the feature has been added. Numerous news outlets are ...
1
vote
0answers
21 views

Desktop environment without greeter

I recently installed Arch Linux (for the first time) and now want to install a Desktop Environment. Since I really like the jus terminal feel and would like to keep a non desktop environment for all ...
1
vote
2answers
35 views

accidentally deleted yum.repos.d/ fedora 24

I accidentally ran this command: sudo rm -r /etc/yum.repos.d/ How do I recover the contents of this folder / find out what they were ?
2
votes
2answers
40 views

Pass input file through pipe as argument in bash

I have two issues. I am trying to pass files through a pipe as an argument, and I am trying to use that file as a variable inside the sh function. Here is my command: find . -name 'segment*' | ...
2
votes
2answers
43 views

What are these memory strings? What do they do? [duplicate]

Recently, I dumped my memory strings (just because I could) using sudo cat /dev/mem | strings. Upon reviewing this dump, I noticed some very interesting things: .symtab .strtab .shstrtab .note.gnu....
1
vote
0answers
10 views

Can you unwrap an image prepared for Uboot using mkimage? [duplicate]

I have an image that's currently wrapped in a uboot header from using the Uboot mkimage utility. I don't have the original of that image, so I want to take off the uboot header to turn the uimage back ...
2
votes
1answer
21 views

How do I add another boot entry into grub2?

So I recently switched from Ubuntu to Manjaro but I lost my bootloader. Now I don't have an entry for Windows 7 anymore. Linux and the bootloader are installed on sdb but windows lives on sda. I can'...
1
vote
0answers
18 views

How to fix Eclipse and Caja color in Linux Mint Mate?

I started using Eclipse IDE with Linux Mint. I have darkened Ambiance theme and Eclipse looks extremely ugly and painful to eyes. And it seems I cannot change that white color of file browser ...
0
votes
2answers
33 views

Out-putting the results of a nested for loop to a file in bash

I am new to bash and I have been attempting to create a file out of my loop in bash , I was successful in generating the file with the following code for ((i = 0; i <= 5; i++)); do for ((j = i; ...
2
votes
2answers
34 views

Get only the size of a mounted filesystem

I want to get only the total size of a mounted filesystem. But the catch is that I only know about the mount point. So, I thought of using the df command. To get the size of this mounted filesystem, ...
0
votes
1answer
41 views

How can I remove duplicate entries in linux log

I've turned mysql general log on and I've been logging every transaction that occurs for the last week. I also have a cronjob running every 5 minutes doing some mysql transactions which is polluting ...
0
votes
1answer
13 views

Want to know space consuming by logs

I want to configure my application logs to splunk interface for easy referring. Here i need to provide with how much of amount does my log files are consuming to splunk admins. As i can see my log ...
0
votes
0answers
16 views

Where is the final compiled Linux kernel image located when make vmlinux is ran?

I know this is a rather stupid question, but when I run make vmlinux, where is the final compiled kernel image located? And no, it's not sourcedir/vmlinux (at least for me, neither GRUB nor booting ...
0
votes
0answers
40 views

Help with postfix configuration [on hold]

I started building this with postfix 2.11 and recently upgraded to 3.1.1 I have been working on my postfix configuation for a long time, and I have been wondering if this is right, and by that I mean ...
14
votes
2answers
909 views

What is the difference between “tail -f” and “tail -F”?

I never used tail -F command instead always used tail -f however someone told me that -F is better without much explanation. I looked up man page for tail command. -f output appended data as the ...
1
vote
0answers
13 views

No keycode for F[6-8] keys

I'm running Arch Linux with i3 and I'm unable to map the F6, F7 and F8 keys to anything. The other function keys all work fine. I've used xev to try and diagnose this. If I press one of the ...
0
votes
2answers
30 views

Generating strings of words with space delimiters from cut statement

I am new to bash. When I run the following command: grep "type" /root/myFile | cut-d'=' -f2 I get the following: 102 304 503 442 I want to store the contents of the first command into a ...
0
votes
2answers
21 views

Changing the color of only one directory in ls

Is there a way to change the color of only one of the listed directories in the ls command? I have researched the LS_COLORS variable, but this doesn't solve the issue because you cannot list specific ...
2
votes
1answer
79 views

Universal way to logout from terminal via dbus

I'm new with dbus, and saw different ways to log out from terminal depending on desktop env. But I'm curious is there any way to log out from any desktop env using dbus messages? On GNOME: dbus-send ...
0
votes
1answer
43 views

how to write own shell that works with ssh [on hold]

I tried several tutorials I modified usermod -s shell path_to_binary username it does not work thru winscp, but works if use from Ubuntu terminal I want to own shell, where I can control over ...
-1
votes
1answer
24 views

How can I check if a dd disk image is consistent (i.e. not corrupt)

I have a dd disk image. How can I check if it is consistent? (It doesn't have to be an exact copy.) I am trying to run extundelete, but I don't know if it's failing because the underlying ...
0
votes
0answers
9 views

Setting up SMTP-AUTH & people soft in Postfix

configured SMTP server in people soft -post fix for gmail authentication is not picking up correct sender name- configured in peopesoft- using default sender name as smtp-people soft@org.com this has ...
0
votes
1answer
17 views

Moving VirtualBox disks to cloud services

Currently, the official way of deploying a custom distribution or different operating system on Linode is installing it locally in a virtual machine and copying the resulting disk verbatim to a Linode ...
3
votes
2answers
738 views

Bash - “/” is a directory

This is really confusing... I currently have a Debian 8 computer, and I connect to it using PuTTY (SSH). The default console used is Bash. When I try to pass a path to an alias, it gives the ...
0
votes
0answers
28 views

How can I customize output of a command? [on hold]

One of my friends asked me how to customize the output of a command & I thought a bit but I can't find an acceptable answer. ( For example adding * at the start of every output of the find ...
1
vote
0answers
12 views

Wacom Linux xsetwacom Attach Shell Script to Buttons

Using Inutos Pro with Manjaro. Would like to attach a shell/bash script to one of eight buttons. Script would be something along the lines of 'dolphin Documents'. Can xsetwacom do this?
0
votes
0answers
15 views

how to get a “parent-child” relationship with tmux panes and windows

Essentially I'm trying to mimic fork when I split a window or create a new one from an existing tmux session. For example lets say you enter a shell in gnome-terminal and then launch a new gnome-...
0
votes
1answer
19 views

PROMPT_DIRTRIM not working

I have the following in my .bash_profile: PROMPT_DIRTRIM=3 export PS1='$ \u in \w: ' However, when I navigate deep within a directory, the path doesn't shorten. This is what the prompt shows: $ ...
2
votes
1answer
45 views

sed unterminated `s' command [on hold]

I'm getting: sed: -e expression #1, char 46: unterminated `s' command On this code: sed -i.bak -c 's|net.ipv4.ip_forward.*|net.ipv4.ip_forward = 1|' /etc/sysctl.conf My editor is showing that ...
0
votes
1answer
17 views

How to restore GLIBCXX_3.4.20?

apt-get no longer works. When I try anything with it, I get the error apt-get: /opt/Xilinx/Vivado/2015.4/lib/lnx64.o/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/...
3
votes
5answers
286 views

Add space between files paths

I have a list of folders and inside every folder I have the file " file.txt" which has the same name in all the folders. I wanted to collect the path for this file from all the folders and save it in ...
1
vote
0answers
11 views

qsub launch a job from node

I have a pipeline that is launched using a command. For some admin/server reasons, that tool has to be launched from a node. That tool triggers all the steps from my pipeline in a file called pipeline....
1
vote
0answers
23 views

Shell Hangs After Running cd, ls, vim over ssh

I'm logging onto a computer cluster over ssh. The problem is I can't do much more than that. Whenever I run things, eg: vim, cd, ls the cursor just hangs there and nothing else happens. I've heard ...
1
vote
3answers
49 views

Getting substrings in between delimiters multiple times from one string without looping

I have looked all over for a solution to this, but I couldn't find one. I am using qstat -x to pass a large string of job information. There is only whitespace in this output in certain areas. The ...
3
votes
1answer
32 views

Can I get just the list of network interfaces from ip?

I am looking to retrieve a list of network interfaces. Currently I am returning the results of ip addr and then doing some regex/string searching from output like this: 1: lo: <LOOPBACK,UP,...
0
votes
1answer
17 views

Highlight Vim escape characters e.g. \n

I'm using the Jellybeans vim colorscheme but it doesn't highlight any escape characters. For example if I'm using C++ and have the following... std::string word = "hello\n"; ... the whole string ...
1
vote
1answer
30 views

How to Install LDOM on Solaris 11?

I installed Solaris 11 on VirtualBox. I need to install and configure LDOM. However, I can not find the LDOM software for oracle Solaris 11. I could not find the link also.
0
votes
3answers
31 views

Reformat table - Number of digits

I have some tables were the numbers have too much digits; as follow: MONTH A1 A2 A3 ...... 1 1.54564468 2.48949 6.4984984 ..... Is there a way, using unix, to reformat the table in the following ...
1
vote
2answers
30 views

How to stop “tail -f” within a running script? [duplicate]

How can you stop a tail -f command after seeing a specific string/word? I'm trying to follow an expanding log and stop the tail after finding a specific word. Is there any kill command for that? I'm ...

15 30 50 per page