Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
-1 votes
0 answers
16 views

Why do traceroutes start with the same path? [migrated]

I'm curious as to why all traceroutes start with the same path. For example, if I want to do a traceroute from my current location to www.google.com and another one to www.bbc.co.uk, the first few ...
user avatar
0 votes
1 answer
86 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 ...
user avatar
0 votes
0 answers
27 views

I am not able to open SSH in browser Terminal

I also executed the command "gcloud beta compute ssh [your_vm_instance] -- -vvv" in Cloudshell and I got the following output: ERROR: (gcloud.beta.compute.ssh) Could not SSH into the ...
user avatar
0 votes
0 answers
10 views

DSTAT output scrambled on Ubuntu 20.04 LTS using macOS Monterey terminal

The problem When I logon to a machine running Ubuntu 20.04 LTS and run 'dstat' I get this kind of output: garbled dstat output So regular dstat output is ok, but as soon as you enter 'dstat ' things ...
user avatar
0 votes
0 answers
22 views

Linux terminal server

I am getting an error when I sudo dnf repolist: unable to detect release versions (use ‘—- releasever’ to specify release version) No repository Available
user avatar
0 votes
0 answers
13 views

Supervisor Foreground Enters Mangled Arrow Keys

When I run a rails app with byebug enabled I am able to enter commands and navigate up and down my byebug command history with the arrow keys. When I run the same rails app under supervisor and then ...
user avatar
  • 357
0 votes
0 answers
855 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 ...
user avatar
0 votes
0 answers
31 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 ...
user avatar
  • 101
0 votes
0 answers
32 views

After logging into a remote machine via SSH, what could cause terminal commands on the remote machine to not work?

I login to remote linux boxes via ssh to manage them. ssh myname@myremotemachine.com. They are only accessible when I'm logged into the VPN and are not accessible publicly. Sometimes when I try to ...
user avatar
0 votes
1 answer
41 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: ...
user avatar
1 vote
1 answer
58 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 ...
user avatar
  • 11
0 votes
1 answer
40 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?
user avatar
0 votes
1 answer
86 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 ...
user avatar
  • 1
0 votes
0 answers
462 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&...
user avatar
  • 1
1 vote
2 answers
321 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 ...
user avatar
  • 29.9k
0 votes
1 answer
87 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 ...
user avatar
  • 13
0 votes
1 answer
34 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 ...
user avatar
0 votes
1 answer
690 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 ...
user avatar
  • 103
1 vote
2 answers
164 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 ...
user avatar
  • 21
0 votes
3 answers
123 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 ...
user avatar
0 votes
1 answer
70 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 ...
user avatar
  • 209
1 vote
0 answers
26 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, ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 121
0 votes
1 answer
87 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 ...
user avatar
  • 1
1 vote
1 answer
269 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 ...
user avatar
  • 123
0 votes
1 answer
173 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 "&&...
user avatar
0 votes
0 answers
30 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?
user avatar
  • 1
2 votes
1 answer
889 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?
user avatar
  • 29.9k
0 votes
1 answer
40 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 ...
user avatar
  • 25
-2 votes
1 answer
2k 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 -----------------------------------------------------------...
user avatar
0 votes
2 answers
102 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 ...
user avatar
2 votes
2 answers
253 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 ...
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?
user avatar
0 votes
0 answers
177 views

Why is there an error on running host program using git bash terminal?

I am using git bash as a terminal to run code. I doing a course where it has asked us to use the host program to look up host names using DNS. However when I run nslookup it works fine. screenshot of ...
user avatar
  • 101
1 vote
1 answer
883 views

I can't connect to AWS RDS from Terminal with MAC OS X Catalina [closed]

I've been taking a course from Udemy on AWS and I am trying to connect to RDS using an instance. I've installed MySQL and am running MySQL Workbench. I'm trying to access my instance using terminal ...
user avatar
  • 21
1 vote
0 answers
49 views

accessing github in powershell/terminal resolves to localhost

So I live in China and am using shadowsocksR on my router to bypass the Great firewall. Today when i try to update flutter using the powershell in VScode the powershell gives the error "fatal: ...
user avatar
0 votes
2 answers
782 views

Moving files from one folder to another based on specific condition

I have hundreds of thousands of folders of photos. For whatever reason on the export they created several scenarios like this: 2019/01/01 2019/01/01 #2 How do I write a linux command (ideally which ...
user avatar
  • 239
2 votes
1 answer
1k views

How do I convert a plaintext file to a PDF on the command line on Windows 10 without paying money? [closed]

All I want is to turn a .txt with a proportional font (monospace/Courier New/Fixedsys/whatever) and fixed column width (80 chars) to be turned into a correct PDF document, so that it can be printed or ...
user avatar
0 votes
1 answer
103 views

Alternative terminal emulation for Google Cloud browser SSH login?

Can the Google Cloud SSH browser support any other character sets besides ASCII? I go into my Dashboard, then click on SSH. After that, the CLI "gui" uses extended ASCII. Instead of extended ASCII ...
user avatar
  • 295
0 votes
1 answer
117 views

LINUX: is it posible to show on tty1 the same thing I see when logged in via ssh?

I am logged in via ssh int a foreign Linux box, and the owner want to assist me from tty1. I tried to convince him to log also in and share a screen with me. He insists he want to assist me from tty1....
user avatar
1 vote
1 answer
103 views

Accomplishing Ctrl-z + bg in one step?

We can use Ctrl-z to stop the current job followed by bg to send it to the background, but can we do this in one action that doesn't briefly pause the execution of the program? Is there a combined ...
user avatar
  • 113
0 votes
1 answer
543 views

I broke my terminal trying to set up PATH environment to bin the JAVA directory and now nothing works, no bash commands, etc. Can I reset?

Basically I was just trying to set up a PATH environment variable that pointed to the /bin directory inside the main Java directory. I did this by doing: sudo nano /etc/paths. But then couldn't get ...
user avatar
  • 1
1 vote
0 answers
46 views

Terminal command to show a specific line extract from the output, along with the full output

I have a build command that outputs a lot of content, and within it, there's a link that I need to copy & paste. So I'd like to be able to do some terminal acrobatics so that this command does ...
user avatar
0 votes
0 answers
2k views

Remote Desktop : Your Computer can’t connect to the remote computer because a security package error occurred in transport layer

One a customers client machine (Windows 7 x64) we have an issue when we try and connect to the terminal server gateway. The error that comes up is: Your Computer can’t connect to the remote computer ...
user avatar
1 vote
0 answers
57 views

Redirect Console Output ,Terminal (macOS, CentOS) / Cmd (Windows) to Remote Syslog or Server Logs

I have One workstation running multiple instances of Java applications by Console/Terminal for Testing, and I develop an application for Listening Logs, TCP like (http://esus.com/using-java-util-...
user avatar
  • 111
0 votes
1 answer
530 views

"ssh root@ip_address" from powershell to Google cloud instance gives error “Permission denied (publickey)”

I've 2 compute engine instances of Ubuntu 18.04 running on Google Cloud Platform. Although i'm able to connect to them thru Putty's terminal from my Win10 PC, but I'm not able to connect to any of the ...
user avatar
0 votes
1 answer
60 views

Error running commands using shell although successfully run line by line manually

I'm using centos7 RHEL on vagrant virtualbox, I'm making a shell file that when I activate vagrant it runs the commands in the shell file on the virtual OS. When I use SSH and run each line on ...
user avatar
-2 votes
1 answer
62 views

Centos - terminal creates directories/files with no owner/group? [closed]

I'm very new to server admin. I'm having an issue whereby any file or folder I create via the terminal on WHM (Centos 7.6) results in a file/folder with 0/0 user and group stat. Example command: ...
user avatar
  • 99
1 vote
0 answers
41 views

Why is sudo password entering lost

When I use sudo command and pipe it to another command, e.g. sudo dnf search foo | grep bar there is a prompt requiring to enter the password. Following this answer, sudo directly accesses the ...
user avatar
0 votes
2 answers
2k views

Debian 10 Unable to install vim, terminator

Today I noticed that Debian 10 is released, however, I am unable to install terminator and vim as the packages are not found. sources.list was set to cdrom, but I changed it to network http://deb....
user avatar

1
2 3 4 5
9