Linux – Rename multiple filenames in one compressed file

I have a requirement that I need to compress multiple files and at the same time, when compressing, I have to rename all the files in compressed files together on Linux.

I am currently using one of the following codes.

zip myfile1.txt myfile2.txt; printf "@ myfile1.txt n @ = myfile_1txt n" | zipnote -w

How can I rename multiple files with the same command?
Can someone help me please?


Linux – Update from Samba under CentOS 5.4

We have a box with CentOS 5.4 with Samba 3.0.33-3.14.el5. And according to, I just found that MacOS Catalina can't connect to SMB1. and me too
must update Samba to at least 3.5 and preferably to a supported one

Does anyone know a reason why the latest Samba wouldn't work on it?
Version of CentOS?

It's been a long time since I updated this box. Can anybody
Show me the direction of the easiest way to update the Samba server? – web hosting from $ 2.49 / month, managed SSD Linux VPS from $ 28 / month and more! – Low end box recently submitted four different low end box offerings, including a Linux and Windows based web hosting plan starting at just $ 2.49 / month, a managed VPS offering and a managed dedicated server for just $ 69.30 / Month.

Your WHOIS is public and your ToS / Legal Docs can be viewed. You accept PayPal, credit card through RazorPay Gateway.

You are a India registered company with company identification number U72300MH2013PTC242693.

Here's what they had to say:

“ has been a reliable and affordable provider of web hosting solutions since 2009, providing high quality services. We specialize in offering consistent and affordable web hosting services in all forms such as shared hosting, reseller hosting, VPS hosting, cloud hosting and dedicated server hosting. We guarantee the best 24-hour customer service and thus offer the best price-performance ratio. "

The exclusive offers for our shared hosting offers are as follows:

Linux web hosting

  • 1 domain
  • Unlimited SSD space
  • Unlimited bandwidth
  • Unlimited email accounts
  • Unlimited MySQL
  • PHP 5.x & 7.x.
  • Unlimited FTP accounts
  • Unlimited subdomains
  • Unlimited domain alias
  • POP3 / IMAP / SMTP support
  • cPanel web hosting
  • Free unlimited SSL
  • Free Acronis website backups
  • Voucher: LOWENDBOX50
  • Price: $ 2.49 / month
  • [ORDER]

Windows web hosting

  • 1 domain
  • Unlimited SSD space
  • Unlimited bandwidth
  • Unlimited email accounts
  • Unlimited MsSQL & MySQL
  • ASP.NET 3.5 & 4.7
  • PHP 5.x & 7.x.
  • Unlimited FTP accounts
  • Unlimited subdomains
  • Unlimited domain alias
  • POP3 / IMAP / SMTP support
  • cPanel web hosting
  • Free unlimited SSL
  • Free Acronis website backups
  • Voucher: LOWENDBOX50
  • Price: $ 2.49 / month
  • [ORDER]

Managed SSD Linux VPS

  • 8 GB RAM
  • 4 CPU cores
  • 200 GB SSD storage
  • Unlimited bandwidth
  • 200 Mbit / s uplink port
  • 1 IPv4
  • IPv6 Ready / 64 included
  • CentOS / Ubuntu / Debian
  • SSH access
  • 24/7 technical support
  • Voucher: LOWENDBOX30
  • Price: $ 28 / month
  • [ORDER]

Managed dedicated server

  • Dell R510-2 server
  • 1 x Intel E3-1230v2 CPU
  • 4 cores at 3.30 GHz
  • 2 x 1 TB SATA hard drive
  • 10 TB bandwidth
  • 1000 Mbit / s port
  • 1 IPv4
  • CentOS O / S.
  • Full root SSH access
  • 24/7 technical support
  • Voucher: LOWENDBOX30
  • Price: $ 69.30 / month
  • [ORDER]

Network and hardware information after the break!

If you are a current or past Paceinfonet customer, please leave your comments for others.

More in their own words:

“We offer a fast, reliable and secure web hosting service. Our web hosting servers are located in state-of-the-art Tier 4 data centers with multiple premium bandwidth providers, which enables a super fast average response time. We offer 20x SSD web hosting that is much faster than traditional hard drives and will result in faster and better performance of your application. Our web hosting plans include the latest software and the best hosting control panel for Windows and Linux. Our website hosting plans are best suited for websites and applications aimed at users from all over the world. We strive to keep your business and website online 24/7 and get the maximum value for money.

Our Linux web hosting plans are deployed on hosting servers in premium data centers. Every server is equipped with enterprise hardware to provide a powerful web hosting experience. High performance hosting servers also ensure low latency and faster connectivity between a visitor and the website. Hosting websites on our servers is the best choice for your consumers / visitors who are located worldwide. All of our plans come with superior resources and offer you easy hosting on our servers. In addition, multiple websites can be hosted in a single control panel for hosting servers for ease of use and management. Our web hosting servers also offer the latest cPanel control panel hosting, PHP hosting, WordPress hosting, unlimited Linux web hosting and MySQL database hosting – click. In summary, our web hosting plans are the best mix of performance, reliability, affordability, and technology. So buy your hosting plan now … "

Hardware node:

  • Dual Intel Xeon Hex Core CPU for lightning fast execution.
  • 128 GB DDR4 ECC RAM offer sufficient memory
  • 100% pure SSD storage for 20x fast I / O performance
  • Hardware RAID 10 Disk Controller For fail-safe
  • 1000 Mbit / s duplex uplink ports enable fast data transmission

Please let us know if you have any questions / comments and enjoy!

Managed SSD VPS – 25% discount for life – real-time monitoring – Linux & Windows | Proxies-free

About SolaDrive

SolaDrive has been around since 2009 and offers high quality managed VPS, dedicated servers and advanced solutions. We aim for a response time of 15 minutes or better and can offer a very reliable service with really redundant networks and 100% SLA availability. All of our VPS are also fully managed, so you don't have to worry about setting up and managing your server. Leave it to us!

★ 25% discount on all VPS for life ★
(Voucher: 25WHT)

────────────────────────────────────────────────── ── ───────
Included in all VPS plans
────────────────────────────────────────────────── ── ───────
»VPS locations: Los Angeles, California – New York City – Coventry, UK
»32 core Intel Xeon 4210 server, NVMe SSD Raid-10
»Free VPS migration
»Free backups created twice a week on an external server
»Free script installation and configuration
»Free DirectAdmin license
»Fully managed 24/7 by experienced US technicians
»Immediate VPS activation after receipt of payment
»15-minute response times
»99.9% server availability guarantee
»Free VPS migration
»SolusVM system control with numerous functions
"30 days money back guarantee!

────────────────────────────────────────────────── ── ───────
Linux / Windows VPS hosting plan
────────────────────────────────────────────────── ── ───────


  • 2 CPU cores at 3.0 GHz
  • 50 GB NVMe SSD
  • 2 GB DDR4 RAM
  • 2 TB bandwidth
  • 1000 Mbit / s uplink
  • Fully managed
  • 1 dedicated IPs

Monthly price: $ 26.25 / month – 25% discount on the voucher: 25WHT
Order Linux VPS
Order Windows VPS


  • 4 CPU cores at 3.0 GHz
  • 100 GB NVMe SSD
  • 4 GB DDR4 RAM
  • 4 TB bandwidth
  • 1000 Mbit / s uplink
  • Fully managed
  • 1 dedicated IPs

Monthly price: $ 41.25 / month – 25% discount on the voucher: 25WHT
Order Linux VPS
Order Windows VPS


  • 6 CPU cores at 3.0 GHz
  • 150 GB NVMe SSD
  • 6 GB DDR4 RAM
  • 6 TB bandwidth
  • 1000 Mbit / s uplink
  • Fully managed
  • 2 dedicated IPs

Monthly price: $ 56.25 / month – 25% discount on the voucher: 25WHT
Order Linux VPS
Order Windows VPS


  • 8 CPU cores at 3.0 GHz
  • 200 GB NVMe SSD
  • 8 GB DDR4 RAM
  • 8 TB bandwidth
  • 1000 Mbit / s uplink
  • Fully managed
  • 2 dedicated IPs

Monthly price: $ 71.25 / month – 25% discount on the voucher: 25WHT
Order Linux VPS
Order Windows VPS

Pay annually for a VPS and get 1 month free!

────────────────────────────────────────────────── ── ───────
Location and test IPs
────────────────────────────────────────────────── ── ───────
Los Angeles, CA Test IP: – DC info page
New York City Test IP: – DC info page
Coventry, UK Test IP: – DC Info Page

────────────────────────────────────────────────── ── ───────
VPS Nodes Server Specs
────────────────────────────────────────────────── ── ───────
– Latest dual Intel Xeon 4210 processors (20/40 x 3.2 GHz max. Cores / threads)
– 256 GB DDR4 ECC Ram
– Supermicro chassis, motherboard and power supplies
– Dual redundant power supplies
– Real A + B performance means that an entire power network for "A" could fail and the server in network "B" would still be operational.
– 8 x 2 TB WD NVMe SSDs (speeds up to 6800 MB / s)
– Raid-10 NVMe storage
– Port speeds of 1 Gbit / s

────────────────────────────────────────────────── ── ───────
Contact and payment information
────────────────────────────────────────────────── ── ───────
Payment methods: Paypal, credit / debit cards
Support: (Email protected)
Sales: (Email protected)
Support desk:

────────────────────────────────────────────────── ── ───────
SolaDrive reviews
────────────────────────────────────────────────── ── ───────

iptables – sandbox / firewall process to connect only to a specific IP or host in Debian Linux

On Linux (Debian 10) I want to sandbox a program that was started using a shell script so that it can only connect to a specific IP address or host, but not to another. I'm looking for a general solution that also works with the shell script that starts a program with a GUI.

I know the Bubblewrap tool, which I can use to deactivate all networks for a process --unshare-netA new network namespace is created specifically for the sandbox program.

But here I want to whitelist a single IP address or host that this program can connect to.

Can this be done with bubble wrap or a fire prison?

Or I was thinking about it, but I don't know if it is the right direction to create a new user, especially just to start the specific program while logged in as my regular username in a desktop environment, and a firewall setting to set up in Debian for this particular user with the setting "Whitelist only"?

I would appreciate help in solving this problem.

Linux – How to get a remote switch with username and password SSH?

I want to establish an SSH connection to a remote switch and only have an IP address, a user name and a password. After installing SSH on my Ubuntu computer, I tried to use the following: $SSH username@ip, but it is always asked without an answer. I then used $sshpass -p [Password] ssh Username@IP , but it did the same.

It is a remote switch that works in a friend's laboratory. I only have 3 things about this switch public IP, username and password. My question is: am I using the correct ssh command? Do I have to do other configurations on my computer to ssh this switch?

Networking – securing the insecure Linux system!? Looking for experts with humor?

I use Ubuntu Mate and I really want to make it safe.

Everyone knows that a Linux system is hellishly unsafe after a new installation or like Windows, whatever you want.

So I'm looking for humor experts who share their knowledge with the rest of the world.

It is a project and I want to collect all the little information to configure the system as safely as possible.

Here is the list of what I've found so far:

  1. activate ufw and deny in 1: 65535 / tcp / udp, deny all ports except 53, 80, 443
  2. edit access.conf:
    +: root: LOCAL,
    -: root: ALL
    +: myuser: LOCAL
    -: myuser: ALL
    +: ALL: LOCAL
    add: account / auth required to pam-modules common-account / auth, lightdm and login
  3. Configure lightdm (files in / etc / lightdm and /usr/share/lightdm/lightdm.conf.d):
    xserver-allow-tcp = false
    greeter-allow-guest = false
    greeter-show-remote-login = false
    allow-guest = false
    autologin-guest = false
    Autologin-in-Background = false
    enabled = false
    enabled = false

  4. securetty: only console active

  5. hosts.deny: ALL: ALL
  6. Add the file portmap with OPTIONS = "- i" in etc / default
  7. Deactivate ipv6 via the variable GRUB_CMDLINE_LINUX and the file 99-sysctl.conf
  8. pam.d: set others, ppp, samba, cups all deny
  9. Add the .xserverrc file to the home directory
  10. Stop all monitoring ports to listen on remote ports
  11. Disable LLMNR and MulticastDNS in Resolution.conf
  12. add ftpusers-file to / etc, but I'm not sure I did it correctly. What should it look like?
    So: root: x: 0: 0: root: / root: / usr / sbin / nologin or is just root enough?

Hope for your help to make the system as safe as possible.

Thanks in advance.

Linux virtualization is enabled in the BIOS, but does not work

I have laptop Lenovo v330 ,,, I am updating the BIOS and now there is an error that I can not change any settings in the BIOS
when I open BIOS

when i exit bios

Fortunately, virtualization is enabled, but it doesn't work (give me the deactivation in Task Manager)
Enter the image description here
What can I do because I can't do my job?

Arch Linux – SMB Share cannot be mounted with mount.cifs, but gvfs and smbclient work

I am trying to access a NAS through a Cisco AnyConnect VPN.

I can easily access:

  • Macbook (Finders "Connect to Server")
  • Windows 10 (Map Network Drive)
  • Arch Linux gvfs (thunar and gio mount)
  • Arch Linux smbclient

If I do mount -v -t cifs /// /mnt/share -o rw,user=,uid=,gid=,domain=

I get the following error:

mount.cifs kernel mount options: ip=,unc=\,uid=,gid=,user=,domain=,pass=********
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

I get the error when looking at dmesg

Status returned 0x000005e STATUS_NO_LOGON_SERVERS

Based on the reading, I tried:

  • Add vers=1.0, vers=2.0, vers=3.0
  • I try every iteration of sec including ntlm, ntlmssp, krb5, etc

This also happens after a complete system upgrade (pacman -Syu) and restart. Multiple times.

I even went so far as to boot up an Ubuntu 18 VM to try the same command.
The message is an input / output error, but the dmesg is still the same with STATUS_NO_LOGON_SERVERS

SOS! I'm losing my mind

Here are the issues from my Arch Linux

(bnguyen@PHI-JAS ~)$ uname -a
Linux 5.5.13-arch2-1 #1 SMP PREEMPT Mon, 30 Mar 2020 20:42:41 +0000 x86_64 GNU/Linux
(bnguyen@PHI-JAS ~)$ mount.cifs --version
mount.cifs version: 6.10
(bnguyen@PHI-JAS ~)$ smbclient --version
Version 4.11.3
(bnguyen@PHI-JAS ~)$ gio --version
(bnguyen@PHI-JAS ~)$ pacman -Q linux
linux 5.5.13.arch2-1
(bnguyen@PHI-JAS ~)$ 

Here is from my Mac OS X output

$ smbutil statshares -a

SHARE                         ATTRIBUTE TYPE                VALUE
                              USER_ID                       501
                              SMB_NEGOTIATE                 SMBV_NEG_SMB1_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.0
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              FILE_IDS_SUPPORTED            TRUE
                              QUERYINFO_NOT_SUPPORTED       TRUE
                              DFS_SUPPORTED                 TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              PERSISTENT_HANDLES_SUPPORTED  TRUE
                              ENCRYPTION_SUPPORTED          TRUE
                              DFS_SHARE                     TRUE


Linux – When sending email, check for any live mail protocol errors

I need help with the command to put on my vps. I want to read the email log to check for errors so I can report it to Hotmail. I quickly googled and tried to find the live mail log to look for errors when sending the email.

I use Centos 8 OS and the name of the software I use to send the email is exim.

Do you know what command to use to check for live mail logs to determine if there was an error sending the email or not?

Thanks a lot.