Hot answers tagged

21 votes
Accepted

How do I install a system-wide SSL certificate on openSUSE?

As already mentioned SUSE supports ca-certificates starting with openSUSE 13.1 / SLES 12. The difference to debian/Ubuntu is the directory for your certififcates. The SLES man page to update-ca-...
Christian's user avatar
  • 1,581
10 votes
Accepted

What harm would there be in running strip on all files?

It's not the case for Linux (just checked...), but on other systems (such as BSDs, e.g., OSX) doing this will remove any setuid/setgid permissions as a side-effect. Also (still looking at OSX), the ...
Thomas Dickey's user avatar
9 votes

How can I build a rpm for i386 target on a x86-64 machine?

Since you are using "-bb" flag which means you are building from binary so you don't need to install compilers for other architectures. Just get rid of the "Buildarch" line in your spec file and pass ...
adnan kamili's user avatar
7 votes

Disable screen blanking on text console

I was really buffled by this problem. All tricks above with using setterm and redirect from/to /dev/tty0 didn't worked from my ssh. Then I realized a way to disable it: TERM=linux setterm -blank 0 -...
George Shuklin's user avatar
7 votes

Change some file names (prefix to postfix)

Given the filename pattern t_00xx_000xxx.png where the x's could be any single character, the following loop uses the ? globbing character substitute for the variable characters. The loop picks up ...
Jeff Schaller's user avatar
  • 67.1k
6 votes

RTC and System clock not in sync

You can use the hwclock command to set the hardware clock. From the man hwclock page : --set Set the Hardware Clock to the time given by the --date option. You can apply the current system time to ...
magor's user avatar
  • 3,742
6 votes

What harm would there be in running strip on all files?

Most distributions, including OpenSUSE, strip executables as part of their build scripts. You don't need to strip on the system's executables because it's already been done. There are binaries that ...
Gilles 'SO- stop being evil''s user avatar
6 votes

Someone is locking /etc/group for a very long time - what to do?

Try lslocks will show files locked with flock manually or by apps. Try using lsof to get the user who locked the file. lsof /etc/.group.swp Should show similar too. ~]# lsof /etc/.group....
Mark Stewart's user avatar
5 votes

cat command is not working inside shell script

Try this as an alternative solution, which will invoke cat only when it finds a file find /home/peter/databases -type f -name 'cells.txt' -exec cat {} + (If your version of find does not understand ...
Chris Davies's user avatar
5 votes

Change some file names (prefix to postfix)

In sh syntax: for f in t_*.*; do dest=${f#t_} dest=${dest%.*}_t.${dest##*.} echo mv -i -- "$f" "$dest" done
Stéphane Chazelas's user avatar
5 votes

Change some file names (prefix to postfix)

If SuSE SLES12 has mcp/mmv command in its repository, then it would be simple use of mmv: mmv 't_*.png' '#1_t.png' Or, if the number of characters and specific numbers was issue, you could be more ...
Matija Nalis's user avatar
  • 3,091
4 votes

How can I download a rpm to a local repository?

Search the repositories and see the details (all versions and architectures, repositories) - example for python-base: zypper search --details python-base Download the specified version of the RPM ...
L.R.'s user avatar
  • 293
4 votes
Accepted

How to switch to GUI mode form console mode in Suse Linux Enterprise Server 10?

To switch to Console mode Press ‘Ctrl + Alt + F1' (F2 -- F6) To switch between consoles in Console mode Press ‘Alt + F1' (F2 -- F6) To switch to GUI mode Press ‘Alt + F7'
GAD3R's user avatar
  • 66.3k
4 votes
Accepted

How to find out how is curl getting its proxy

Your curl config file may be forcing a proxy even if the environment isn't. Look for the file ~/.curlrc and see if it has a proxy = .... line in it. You can also try using curl without a config file:...
Chindraba's user avatar
  • 1,478
4 votes

Suse equivalent of Solaris' ls -V

As per man ls in solaris -V The same as -l, except that compact ACL information is displayed after the -l output. The -V option is only applicable to file systems that support NFSv4 ACLs, such ...
Archemar's user avatar
  • 31.5k
4 votes

How do I install Kubernetes on Linux SUSE?

The canonical instructions are avaiable at (Opensuse.org) The page contains install instructions for kubernetes on openSUSE and SLE 12.
e.blanchard's user avatar
4 votes
Accepted

Use Yast with a administrator account instead of the root account

Update: On KDE Plasma desktop it is possible to launch YaST and other tools which need root permission as non root user using the launcher. Disclaimer: This won't let you run YaST from the launcher ...
Maximilian Tandler's user avatar
4 votes
Accepted

Change some file names (prefix to postfix)

This will work if we assume everything up to the first underscore to be the prefix. for f in *.png; do new=$(echo "$f" | sed -r 's/^([^_]*)_(.*)\.(.*)$/\2_\1.\3/'); echo "Renaming: $f => $...
pLumo's user avatar
  • 22.5k
4 votes

configure: error: mcrypt.h not found. Please reinstall libmcrypt

In case you still need it, it may help yum install epel-release yum install libmcrypt-devel Ref: https://www.omniweb.com/wordpress/?p=1285
Arvind K.'s user avatar
  • 141
4 votes
Accepted

how to translate this bashrc code to suse 11 commands

The commands you show are specific to the csh and tcsh shells, not to any Linux distribution in particular. The commands set two environment variables, and in a standard POSIX sh shell, such as bash, ...
Kusalananda's user avatar
  • 331k
3 votes

Starting Apache as service quits with SIGWINCH

systemd is instructing Apache to stop with graceful-stop, which generates a SIGWINCH signal, and hence the log caught SIGWINCH, shutting down gracefully. (the SIGWINCH signal is (ab)used by Apache) ...
Rui F Ribeiro's user avatar
3 votes

Change hostname on SUSE Linux Enterprise Server 11 SP3 for VMware

Just use the hostnamectl set-hostname (hostname) command. Do not include the brackets that is a placeholder for the hostname. Then restart your terminal for it to take effect.
AfricanBantu's user avatar
3 votes

xterm no absolute path found for shell

xterm makes a few (different) checks for the pathnames involved in executing a command. Here is a synposis: if you say "xterm -e command", xterm will rely upon your existing $SHELL setting and/or ...
Thomas Dickey's user avatar
3 votes

setting 'x' (executable) bit using ACL

I don't think you can use ACLs to forcibly set a permission bit. Using the Linux ACL man page as reference, the default ACL is copied to the file's permissions, but The access ACL entries ...
ilkkachu's user avatar
  • 138k
3 votes

SLES 12.2 can't enable org.gnome.Vino - No such key 'enabled'

Here is what I had to do on CentOS 7 (I know it's not SLES 12.2). @Sebastian answer helped a lot, but I still needed to find one more setting "org.gnome.settings-daemon.plugins.sharing active true". ...
proximous's user avatar
  • 271
3 votes
Accepted

ps command return nothing in function

You need to use pgrep instead of ps axf if you want to use it with watch command. There is more extended explanation here
evilsun's user avatar
  • 46
3 votes

SUSE Linux Enterprise 12: Change Hostname permanently

Since SLES 12 should be running systemd, use: hostnamectl set-hostname <hostname>
Raman Sailopal's user avatar
3 votes
Accepted

SUSE Linux Enterprise - Python3 error with readline in /etc/inputrc

Indeed, it looks like SuSE ships an /etc/inputrc that has this set term in it which doesn't seem to be a valid variable in readline, at least from the documentation and the man page, both of which ...
filbranden's user avatar
  • 21.7k
3 votes
Accepted

How do I install 32 bit package in a 64 bit SUSE machine using zypper?

If you have a repository enabled that contains 32-Bit packages you would be able to install them. Regarding firefox you have to download the 32-Bit package from the mozilla website as openSUSE is 64-...
eblock's user avatar
  • 966
3 votes
Accepted

xargs usage syntax

for filename in "$HOST-mail-2018$1"[0-9][0-9]*; do case $filename in *.gz) g=zgrep ;; *.bz2) g=bzgrep ;; *.xz) g=xzgrep ;; *) printf 'Unknown filetype for "%s"\n'...
Kusalananda's user avatar
  • 331k

Only top scored, non community-wiki answers of a minimum length are eligible