Questions tagged [terminal]

Terminal: 1) A device or program used to talk to a terminal server, usually over Serial or RDP, 2) A synonym for command-shell or command line, 3) A specific OS X program.

Filter by
Sorted by
Tagged with
0 votes
2 answers
17 views

Replace text with sequence of numbers

I have 2250 metadata files that need to have a unique number starting at 0 going to 2249, as the line below. "name": "KF # RENUMBER", I've used the perl command (perl -pi -w -e 's/...
John Fallon's user avatar
0 votes
1 answer
78 views

How to get the IP address of the host that i have ssh'ed into?

I have ssh'ed into a linux host with ssh username@ip. Once logged on, how do I get the IP address of the host? commands such as host name -I or ifconfig are returning an IP address that are different ...
KARTHIK M S's user avatar
0 votes
3 answers
127 views

Terminal emulator - make remote ssh sessions persistent

The classic story goes: I have a terminal emulator with multiple tabs/screens. In each tab, I start an SSH session to a remote server. I start possibly long-running interactive jobs in those sessions. ...
vedran's user avatar
  • 101
0 votes
1 answer
54 views

Ubuntu/Orange Pi5 retrieve open tabs on Chromium (kiosk mode) via terminal - Powershell

I have a problem as of late where I am developing some PowerShell script to manage and update some digital displays. Please see below for my work in progress (By no means done). I am struggling to be ...
M.Atkinson's user avatar
0 votes
0 answers
94 views

My terminal shows other's login information

I acturally asked the same topic on stack overflow and community said that is not suitable there. So I'll try to post it here. I logged in my debian 12 server with Windows Terminal, and hang up there ...
Akron Blim's user avatar
0 votes
0 answers
33 views

Linux VPS Terminal Management

I deployed a small Linux VPS to host a few personal websites and applications. However, due to security and performance concerns, I do not want to install any server management panels. How can I ...
Rawkon's user avatar
  • 11
0 votes
1 answer
194 views

QEMU img convert invalid parameter

Typing the command: qemu-img convert -o vmdk /path/file.VHDX ~/path/file.VMDK Returns response: qemu-img: Invalid parameter 'vmdk' I'm converting a Windows 11 Client ARM64 into a VMDK file for my VM. ...
user17490056's user avatar
0 votes
2 answers
449 views

How to combine two disks (partition and disk) if the partition holds the Ubuntu operating system?

I have a new server that came with two 1 TB SSD NVMe. My goal is to create one drive with 2 TB. So I need to combine the two 1 TB. I installed Ubuntu on SSD 1 with: PART /boot/efi esp 256M PART swap ...
Avatar's user avatar
  • 129
-2 votes
1 answer
822 views

Tomcat Service failed

Hello I am trying to run the status of my Apache tomcat and I keep having it failed. this is what I am getting tomcat.service - Tomcat 10 configuration file Loaded: loaded (/etc/systemd/system/...
Rickson Costa's user avatar
1 vote
1 answer
115 views

Suspicious "find /" command uses ~90% of Disk IO

As I detect my server are very slow, I do some researches and detect in iotop a weird find command uses 80-96% disk io usage. TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND ...
Dominic's user avatar
  • 13
2 votes
1 answer
143 views

Save commands used in shell to a file

Someone is going to connect to my server and type some commands into the terminal. But after finishing his work, he deletes bash_history. I am looking for a way to save every command entered into the ...
Fardin's user avatar
  • 21
0 votes
1 answer
115 views

How to exit from telnet in xterm (ctrl+], ctrl+'+', ctrl+d) don't work

Can't exit from telnet while connected to host. Commands like (Ctrl+], Ctrl+'+', Ctrl+D) etc. don't work. I have tried all the suggestions from keyboard shortcut to quit 'telnet'. Are there ...
Dmitry Tarasov's user avatar
2 votes
0 answers
980 views

No network access from MacOS terminal

A colleague's Macbook refuses to make any remote connections from the terminal. For example: macbook-pro% rvm install "ruby-3.2.2" ...
knirirr's user avatar
  • 141
0 votes
0 answers
92 views

Disable Cisco Router syslog messages

I am trying to disable syslog messages from showing in my cisco 1kv tty. The conundrum is terminal monitor has a single command to set the logging level #logging terminal <severity>, and if I ...
Omera's user avatar
  • 15
0 votes
0 answers
68 views

MacBook: how to edit an existing Terminal remote connection

On my MacBook I have close to a hundred remote connections in the list. Recently, I've changed the user I am using for all those remote connections and was wondering if there is a possibility to edit ...
Milos Cuculovic's user avatar
0 votes
0 answers
269 views

LocalHost Host and Port Unable to Connect

I received feedback from one of the community members who showed me that my disk is full. This is why, I would like to try to use the "Deploy and Access the Kubernetes Dashboard" using my ...
jng77's user avatar
  • 1
0 votes
0 answers
331 views

Stuck at Verify kubectl configuration

I'm using Mac Terminal and I'm stuck at the "Verify kubectl configuration", whereas when I run this command --> kubectl cluster-info as the result:- E0331 23:39:48.601633 27402 memcache....
jng77's user avatar
  • 1
-1 votes
1 answer
377 views

Nohup to run multiple PHP scripts

I have about 5 different PHP scripts that must be run by the server continuously even with the terminal closed. How do I run the 5 scripts once via nohup, each with a log of what it generated, and be ...
Tom's user avatar
  • 289
0 votes
0 answers
908 views

ssh illegal option while trying to connect to remote server

trying to ssh from my macbook pro, to a remote server, ssh ayan@ServerIPAddress gives the following error ssh: illegal option -- ? usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] ...
Ayan Mitra's user avatar
0 votes
1 answer
909 views

Linux find command to return files AND owner of files NOT owned by specified user

I have the following terminal command: find /home/not_this/ \! -user not_this_user_account The goal is to find all the files and directories not owned by the specified user and this version of the ...
John's user avatar
  • 134
0 votes
1 answer
496 views

How are Serial Communications designed to be connected virtually on Dell PowerEdge 12th generation servers?

Im trying to figure out what exactly can be configured by the first three settings on Dell PowerEdge R720 Server BIOS's Serial Communications Screen. Let me explain what (I think) I have understood: ...
ElectricDevDucK's user avatar
1 vote
1 answer
250 views

How to set a proxy for terminal without exporting the environment variable?

How to set a proxy for terminal without exporting the environment variable? I am using a Ubuntu machine and I would like to do that? If it not possible, are there any apps to help me do that? Thank ...
1n4ho12's user avatar
  • 13
0 votes
1 answer
20 views

Globing patterns

How can I make a command string work using globing patterns also in the given arguments? powershell.exe -c "&'c:\wind?ws\System32\more.com' C:\path\to\something.txt | findstr 'something'"...
jagghy's user avatar
  • 3
2 votes
1 answer
4k views

Alacritty throws "E558: Terminal entry not found in terminfo" when running "htop" and "Error opening terminal: alacritty." when opening files with vim

The errors Terminal entry not found in terminfo and Error opening terminal: alacritty happen to me on a legacy server when I ssh'ed to it like: ssh MY_USER@MY_SERVER and use Alacritty to open ...
questionto42's user avatar
2 votes
1 answer
12k views

Why doesnt creating a sym link from python to python 3 work?

My goal is to make sure that python refers to python3 in my mac terminal. What i have tried so far are the following two attempts 1. Adding an alias in .zshrc alias python=python3 after re sourcing ...
Nicola Pedretti's user avatar
1 vote
0 answers
191 views

How to assign a tty to a process?

I can configure a command which will be run without a tty (similar to a cronjob). The problem is that the binary to be run seems to require a terminal. Is there a way to run a process with a new tty ...
Julius's user avatar
  • 111
2 votes
1 answer
604 views

Can't `ssh` and the `docker exec` in a single command

I want to ssh into a remote server that runs a docker engine and then docker exec a bash in my-nice-container, in interactive mode. I want to do all in one shot. I'm doing this from my local computer: ...
Xavi Montero's user avatar
1 vote
1 answer
188 views

rsync -p. why would you want to preserve owner, permissions

basically the title. I'm lacking unix basics but on windows if I backup with robocopy I wouldn't want to preserve ownership bc then I would have to take ownership of it again anyway when replaying the ...
guanza's user avatar
  • 11
0 votes
1 answer
597 views

How can I get RAM frequency from the OS X low-level terminal?

How can I get RAM frequency from the OS X low-level terminal? Which comand can help in this situation?
Scloven's user avatar
0 votes
1 answer
301 views

Error SSH connection. Connection timed ou t

I am not able to connect via SSH to my server and I dont know the reasons. SSHD its running and ports are open in UFW. I tried to change ports but the issue persist. Also tried differents machines and ...
Shugui's user avatar
  • 1
0 votes
0 answers
640 views

System has not been booted with systemd as init system (PID 1). Can't operate. ( Openvpn )

I'm pretty new to Linux and i'm still learning the ropes of it. I tried starting the openvpn service using both "systemd start openvpn@server" and "sudo systemctl start openvpn@server&...
Alin's user avatar
  • 1
3 votes
2 answers
2k views

make systemd pager not do horizontal scroll, and wrap to next line instead

By default systemd (v245) on Ubuntu 20.04 focal, if I do systemctl status $THING, and the output lines are longer than my screen, then the default pager (less?) will do horizontal scrolling. I would ...
Amandasaurus's user avatar
  • 32.3k
0 votes
1 answer
291 views

TC Corruption of Packets Ingress

I’m new to tc & this may be naive question but correct me if I’m wrong tc qdisc change dev eth0 root netem corrupt 5% Does above command corrupt ingress packets only ? If Yes, does outgress ...
Genie's user avatar
  • 13
0 votes
1 answer
182 views

When process writes to pseudoterminal slave, why it doesn't read what it wrote?

Here is my bash session: lrwx------ 1 stas stas 64 Mar 5 18:18 0 -> /dev/pts/0 lrwx------ 1 stas stas 64 Mar 5 18:18 1 -> /dev/pts/0 lrwx------ 1 stas stas 64 Mar 5 18:18 2 -> /dev/pts/0 ...
Stanislav Bashkyrtsev's user avatar
0 votes
1 answer
2k views

MySQL connection via SSH tunnel on MacOS doesn't work [closed]

I've been trying to set up a SSH tunnel with VPN on my macbook with Big Sur 11.2, but it doesn't seem to work. On my linux machine, I can simply turn on the VPN and make a SSH-tunnel. Then I can just ...
Jay Wit's user avatar
  • 103
1 vote
2 answers
519 views

root user terminal slower than non-root in Debian GNU/Linux 10 (buster)

I have to quantify slow here. It is noticeably slow, but not extreme. Here is a test I did. I pasted the below (time in nanoseconds command) on terminal as a non-root user and then as root user (I ...
Senthil's user avatar
  • 21
0 votes
3 answers
201 views

How does the A record change over time by running a DNS query? [closed]

I am running a DNS query on www.wikipedia.org using Google's public resolver @8.8.8.8 using the mac terminal. I have to get the A records for the host and run the query a couple of times to notice any ...
Danny Boy's user avatar
0 votes
1 answer
247 views

ubuntu run multiple commands with one process

On my dev machine, I'm very often starting a lot of services at once (10+), and then at once I kill them using CTRL+C (very important). The problem is that the output will be presented is only for the ...
SexyMF's user avatar
  • 209
1 vote
0 answers
92 views

Ubuntu Serial Console Installer Encoding Issue

I'm trying to install Ubuntu 18.04 LTS via serial console. My PXE boot menu works fine, the initial load of the kernel into the ramdisk is legible, but as soon as the Ubuntu installer menu appears, ...
Gavin Hill's user avatar
0 votes
1 answer
3k views

How to start a gnome-terminal with command from the systemd service on Ubuntu 20.04?

I wrote e service file called /etc/systemd/system/mytest.service . Then I would like to start a new terminal window with some commands that print on the new terminal console. The file mytest.service ...
ywiyogo's user avatar
  • 121
0 votes
1 answer
427 views

Script executes perfectly in command line but failing in cron

I have created a script to know the successful attempts and failed attempts of users,usually everyday the /var/log/secure file goes to syslog and zipped like "secure-20200910.gz" but without ...
Naveen's user avatar
  • 1
1 vote
1 answer
817 views

Running clamscan with the file list function

I am trying to schedule some tasks using ClamAV but it cannot find the find the file that contains the directories I want it to scan.   *Using sudo doesn't work.   *The files are set with permissions ...
NoNo's user avatar
  • 123
0 votes
1 answer
593 views

Bash Script terminates when shell terminal is closed [closed]

I'm able to successfully run the script below from a terminal in ubuntu 14.04. However, when I close the terminal the vlc process also terminates which I don't want. I've tried using "&&...
Malanie's user avatar
0 votes
0 answers
83 views

Read files from an encrypted disk?

Is it possible to read from an LUKS-encrypted disk via the terminal, e.g. by booting from a live Linux system on a USB flash drive and accessing the encrypted host computer's hard drive?
david's user avatar
  • 101
5 votes
1 answer
3k views

Turn off colours temporarily for ansible ad-hoc commands

When I run an ansible (v2.9.9) ad-hoc command, the output is colourized. Green for successful resuilts etc. I am building up a bash pipeline, so how can I tell ansible to not colourize the output?
Amandasaurus's user avatar
  • 32.3k
0 votes
1 answer
98 views

Getting two different results when 'cat'ing a file, and 'cat'ing a file into a variable in zsh? [closed]

The file in question is /sys/class/power_supply/BAT0/status. When I cat it, I receive Full. But when I do status="$(cat /sys/class/power_supply/BAT0/status)" and then echo status, I receive ...
LTWood's user avatar
  • 25
0 votes
1 answer
5k views

Change background color in dialogs bash [closed]

I have a server (without GUI), I would like to create a box message in the tty. Is this possible? Getting the example of htop command UPDATE -----------------------------------------------------------...
Mr Brown's user avatar
0 votes
2 answers
291 views

Change linux shell

On my Centos7 Server I have different shells for my users. For example the terminal as root looks like: [root@hostname www]#. The terminal as a different user looks like bash-4.2$. If I type echo $0 ...
Jonas Heinze's user avatar
2 votes
2 answers
532 views

Is there a linux tool that will print Load Average and CPU percent idle every x seconds?

I cannot seem to find a tool that prints LOAD AVERAGE and CPU PERCENT IDLE every X seconds in a terminal window. I am looking for something along the lines of vmstat but with those two values that top ...
faultintolerant's user avatar
-1 votes
1 answer
2k views

terminal shows percent sign at the end of the path [closed]

Since today, my terminal shows a percent sign (%) at the end of the path. what is this and why this happens? Is it means a special thing?
Pouya Jabbarisani's user avatar

1
2 3 4 5
9