All Questions
0
votes
0answers
2 views
Opera window does not show window buttons
I am using Fedora 25 (GNOME) and the latest Opera browser. In Opera it does not show window buttons (_ o x). I tried to enable it in gnome-tweak-tool, but in Opera it changes nothing. I do have these ...
0
votes
0answers
2 views
How to mount encrypt partitions on archiso?
I have already searched ArchWiki but the partitions don't mount:
cryptsetup open --type luks /dev/sda2 cryptroot
mount -t btrfs /dev/mapper/cryptroot /mnt
mount -t btrfs /dev/sda1 /mnt/boot
arch-...
0
votes
1answer
18 views
why Permission denied when to write something into a log file? [duplicate]
debian8@hwy:~$ sudo cat /etc/sudoers |grep debian8
debian8 ALL=(ALL:ALL) NOPASSWD:ALL
It means debian8 is a permitted user to execute a command as the superuser.
I want to write something into a log ...
0
votes
1answer
14 views
Aggregate status code from sub-scripts in a script
I have a bash script like this
#!/bin/bash
do-this parm someotherparam
do-something-else $varz $(commands)
and-also-do-this -something
finally-do-something-different -yes
I want this script to ...
0
votes
1answer
17 views
Solaris 9 - Word Count (wc) command gives wrong output
When i use 'ps', 'egrep' and 'wc' command to count number of processes, it gives me wrong value. I am running the command in 'Solaris 9' machine. Please assist in understanding the issue.
MyServer $ ...
0
votes
0answers
11 views
Linux Shadow password
My system using SHA-512 Algo for password.i used openssl with option 6 but did not get same password. Please help .Command is given below:-
openssl passwd -6 -salt ***** *****
0
votes
0answers
6 views
Is it safe to remove KVM from a F25 workstaion with no virtualization needs?
I installed Fedora 25 on some AMD hardware. I noticed a bridge is present after install. It is unusual since I did not install it or ask for a package that would include it. My install is a stock ...
0
votes
0answers
15 views
Problem storing “readlink -f $file” output in variable
path="/my/absolute/path"
echo $path
#echoes path to symlink correctly
real_path="$(readlink -f $path)"
echo $real_path
#no output
BUT when I do the same directly in terminal:
readlink -f "/my/...
0
votes
0answers
5 views
How to install fritzing software permanenlty
Recently i downloaded fritzing software. I can able to execute the software from terminal by using this following commands
some@xx[um]#cd /home/um/Documents/software/fritzing
some@xx[fritzing]#...
0
votes
0answers
14 views
Unable to log in to tty1
Issue
Some strange thing is happening on my system as I try to log in to tty1. After I enter the username and hit Enter, the prompt drops to a newline instead of password. After hitting Enter, the ...
0
votes
0answers
9 views
XServer session some issues
I use debian and ubuntu and I try to understand how xserver works and I have some questions:
What is the relation between terminal session and xserver session? As I understand when some user uses ...
0
votes
0answers
1 view
How do I automatically import a non-root encrypted ZFS pool on boot-up?
I’m running an updated version of Arch Linux with the stock kernel, version 4.9.6, and ZoL version 0.7.0, and I want to import an encrypted non-root pool on boot. The pool is a raid 1 mirror.
The ...
0
votes
0answers
6 views
How does Linux kernel know when to use memory buffer/cache?
When we do a find in linux, I am guessing the kernel will store the result into buffer/cache. Let say after an hour, some changes of the folder and files happened, so my question is, when we do the ...
0
votes
1answer
16 views
Why the iptable rule can't be listed?
To set a iptables rule to drop all packages to input.
debian8@hwy:~$ sudo iptables -P INPUT DROP
To list all rules.
debian8@hwy:~$ sudo iptables -L
Chain INPUT (policy DROP)
target prot opt ...
3
votes
1answer
45 views
Is there a way to print last line of a file then first line of a file in awk only?
I have searched, but have come up short with an answer. I want to print the last line (or record) in a file; then print the first line using only awk. I know how to print first line:
NR == 1{print}
...