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
1answer
21 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 ...
0
votes
0answers
12 views

How to update all paths references and entries in all apps and locations in Mac OS Big Sur 11.2.3?

So We recently changed the name of our macOS user account and home folder in our environment following this article https://support.apple.com/en-us/HT201548 . It worked successfully. But, Now some ...
-1
votes
0answers
19 views

Start getty on pty

I'm trying to write a ascii to baudot converter (for a teletype, obviously with dropped characters) using pseudoterminals. The idea is to have a pty master/slave pair, write to the slave, read from ...
0
votes
0answers
18 views

Output to log file from Script not working

I have an interactive script example.sh for updates, part of which is something like this: echo "Performing Backup of Old software" zip -r backup/backup-$now.zip /var/www/html/...
0
votes
1answer
24 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 ...
0
votes
0answers
24 views

How to register Windows “Terminal Preview” as default terminal for cmd

I used ConEmu for several years and now I try to work with the new "Terminal Preview" in Windows. I'm wondering if, and how, i can register this terminal wrapper for cmd/powershell/... as ...
0
votes
1answer
96 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 ...
1
vote
2answers
65 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 ...
0
votes
0answers
83 views

Unable to launch application from terminal

On Ubuntu 18, I can open a terminal window and run /usr/bin/obs and launch the app. I wanted to do this from another computer (over ssh). When I run the same command over ssh, I get the following ...
0
votes
3answers
93 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 ...
0
votes
0answers
15 views

df -h shows disk mounted in /mnt but /mnt size doesnt add up [duplicate]

If i run df -h i see the following Filesystem Size Used Avail Use% Mounted on udev 15G 12K 15G 1% /dev tmpfs 3.0G 388K 3.0G 1% /run /dev/xvda1 40G 16G ...
0
votes
0answers
13 views

How to display a multi-line color text file in Linux Terminal?

I have a log file where the output blocks are colored depending on the message type (blue, green etc.). Each block can be one or multiple lines long. While more displays the blocks just fine, less -r (...
0
votes
1answer
38 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 ...
1
vote
0answers
15 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, ...
0
votes
1answer
299 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 ...
0
votes
1answer
52 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 ...
1
vote
1answer
65 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 ...
0
votes
0answers
193 views

Node.js version is not compatible in App Engine deployment with webpacker: Rails 6

I have been strugling a lot with this problem. In context, I've been deploying my rails app to GAE with 'gcloud app deploy' around 2 months ago and I've never had an issue with it. However, today I ...
0
votes
1answer
92 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 "&&...
0
votes
0answers
303 views

Syntax for using systemd-run to limit CPU and memory usage of multiple processes?

I would like to use Linux control groups (cgroups) to limit CPU and RAM usage of multiple processes. If the processes are Process 1 and Process 2 with child process Process 2 Sub, would this be the ...
0
votes
0answers
268 views

dial tcp: lookup *** no such host. Kafka connect issue

I'm struggling to understand what might be the problem with my system here. I have a service with a pretty basic workflow: connect to the kafka cluster, generate some messages, send them in a few ...
0
votes
0answers
22 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?
0
votes
1answer
138 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?
0
votes
1answer
24 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 ...
-2
votes
1answer
968 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 -----------------------------------------------------------...
0
votes
2answers
77 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 ...
2
votes
2answers
113 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 ...
0
votes
0answers
78 views

mintty on Cygwin does not work with AWS session-manager-plugin on Windows

I have a Windows 10 machine with Cygwin. I use mintty for most cli work. I am using the Windows version of session-manager-plugin from here with a Cygwin python version of awscli When I launch a ...
-2
votes
1answer
1k 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?
0
votes
0answers
39 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 ...
1
vote
1answer
332 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 ...
1
vote
0answers
28 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: ...
0
votes
2answers
544 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 ...
1
vote
1answer
347 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 ...
0
votes
1answer
61 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 ...
0
votes
1answer
56 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....
1
vote
1answer
49 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 ...
0
votes
1answer
283 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 ...
1
vote
0answers
41 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 ...
0
votes
0answers
897 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 ...
1
vote
0answers
41 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-...
0
votes
1answer
321 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 ...
0
votes
1answer
46 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 ...
-2
votes
1answer
39 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: ...
1
vote
0answers
38 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 ...
0
votes
2answers
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....
-1
votes
1answer
56 views

Deleted users still apear in terminal output

ubuntu 16.04 lts After creating a user with useradd sudo useradd -G sudo -m -d /home/user -s /bin/bash user and then deleting it with `sudo deluser user` the user still appears after typing ...
0
votes
1answer
1k views

bash does not show prompt (prompt missing)

I have a server that does not show standard bash prompt, after I log out from the machine. If I ssh to this server, I can do all operation there (e.g. ls, cwd, etc) Tried to reinstall bash (sudo apt-...
2
votes
2answers
657 views

Why does writing to the console a process's STDIN is attached to doesn't send input to the application itself?

Taken from this answer: Terminal 1: [ciupicri@hermes ~]$ cat shows on the tty but bypasses cat Terminal 2: [ciupicri@hermes ~]$ pidof cat 7417 [ciupicri@hermes ~]$ echo "shows on the tty but ...
0
votes
1answer
371 views

Putty Wyse60 emulation

I have AIX (v.7) box and using TinyTerm app. However Id prefer to use Putty instead. Problem is I do not have there proper key mapping - I miss there Wyse60 emulation. Is there any way to configure ...

1
2 3 4 5
9