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
0answers
16 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
33 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 ...
0
votes
0answers
24 views

Launch linux terminal with multiple tabs and commands running

I'm trying to launch a terminal with multiple tabs and commands running. I'm running Xubuntu so I'm using the xfce4-terminal command for this but I'm open to other solutions that also work on my ...
1
vote
0answers
18 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
0answers
47 views

Server process being killed

I am trying to run a minecraft server (using spigot) off of a pi 4. I tried increasing the RAM it can use, but all I get is (*Old one from before I installed spigot): ./startserver.sh: line 1: 792 ...
0
votes
2answers
147 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
45 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
37 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
37 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
44 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
78 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
37 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
503 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
27 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
156 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
39 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 ...
-1
votes
1answer
36 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
36 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
1k 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
36 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
402 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-...
0
votes
0answers
125 views

mysqld_safe --skip-grant-tables exits before i can type mysql-u root to rest root password

Made some simple mistakes--don't have backup for my server, and uninstalling/reinstalling in several different manners hasn't helped. I've attempted a few shell scripts to slow the processing of the "...
2
votes
2answers
371 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
210 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 ...
4
votes
1answer
480 views

What are the differenced between SuperMicro console terminal types ANSI, VT100 and VT-UTF8

I tried to find a comparison between various terminal types configurable on SuperMicro console to serial BIOS redirection but I was not able to find any. Can someone make a brief comparison of these? ...
0
votes
1answer
341 views

differences % and $> command line result end of line

For an exercise, I had to make a file print_groups.sh. When I do sh print_groups.sh the result should be a list of groups of $USER separated by a comma. I had two different attempts: groups $FT_USER ...
-1
votes
1answer
2k views

Random Sleep in Crontab/Terminal [duplicate]

I want in terminal or in crontab(both) be able to put a random time. Something like Sleep $(1-300) pkill screen && ./start just a random simple example
-1
votes
2answers
66 views

how to get file download connections on linux

I have a site with video content (mp4 files). When people are watching videos, they are downloading video files from my site. I want to know the number of the active connections via the linux ...
1
vote
0answers
562 views

Outlook on Terminalserver loses connection. Event ID 26

Problem Symptoms: Users experience daily disconnects and reconnects in Outlook running on a Terminal Server and have to log in again. They can not log in instantly but have to wait for approx. 1 ...
2
votes
1answer
211 views

AWS - Get Windows password for EC2 Instance

I'm trying to receive the default Windows password so I can RDP into my EC2 instance. According to the AWS documentation, it's just as simple as sharing the contents of the Key Pair that used during ...
1
vote
3answers
573 views

Solaris 11 find empty folders (-empty not work)

How to find empty dir and delete in Solaris 11. I try this: find . -type d -empty Output: find: bad option -empty find: [-H | -L] path-list predicate-list
0
votes
1answer
55 views

OpenSSH client works, but Putty can only receive data

There is an application with a custom SSH interface that authenticates then launches a command line utility. It works as expected using OpenSSH's Client: Login Prompt -> Username/pass <- Main ...
0
votes
1answer
99 views

How to display processes using memory between an interval? (in bash)

How can I display processes that are using memory between an given interval in terminal? For exemple: processes that are using between 50 and 100 MB of Memory. I tried: ps aux | awk '{print $4}' | ...
3
votes
2answers
10k views

Install Apache to CentOs 7 installed but not showing in the browser

I hope someone can help me, I am trying to set up a VPS, i have a small VPS to learn on before i use my main VPS. Ok so, I have installed Apache without any problems and when i try " sudo service ...
2
votes
2answers
2k views

Change directory to “This PC” / “Computer” from .BAT batch file

I'm using a batch file to automatically launch a software at login. This software maps a remote drives to which one letter is assigned (R:) and opens the file explorer to R:. I would like to append a ...
-2
votes
1answer
1k views

How to Find and delete File Older than 3 years?

I'm new with server maintenance job. Now I must find and delete .JPG File older than 3 years. on linux terminal I have googled and found a script like this find /path/to/files* -mtime +365 -exec rm ...
0
votes
1answer
100 views

ssh text out of sync when OS X > ubuntu > amazon linux via iterm2

I am frequently running into an issue where the text on my screen is out of sync with the cursor. As you can see here, and here, when I hit backspace, it thinks that it is the (left) end of the line,...
1
vote
3answers
79 views

I want the bash script to echo only if I execute and not echo if executed by a cron job

I want to echo to the terminal if the script is being executed by me, in the flesh or I want to echo to a log file if it is being done via a cron job. Ubuntu 16.04 example: #!/bin/bash if [ ***** ]...
2
votes
1answer
1k views

pgadmin won't connect to Postgresql via ssh on macOS

I am trying, with no success, to connect pgAdmin 4 to my Postgresql installation on Linode using ssh tunnel as specified in https://linode.com/docs/databases/postgresql/securely-manage-remote-...
1
vote
1answer
4k views

After installing RDS on WinServer 2016 I still can only connect with two users?

What I'm trying to do: I have a software that multiple users are supposed to use on one system. Because a standard installation of WinServer2016 can only hold a maximum of two users at once I googled ...
0
votes
1answer
28 views

Change/add text to current user@server [closed]

Its kinda hard to pick a good title, sorry for that! When you login to Linux, you see the user and the domain where you can type your commands. [user@location domain.nl]$ mv ~/example ~/my-new-...
0
votes
1answer
2k views

linux + tput: No value for $TERM and no -T specified

I use in my bash script the tput command in order to colored the text as tput setaf 2 when I run the script from putty or console every thing is ok but when I run some external WIN application ...
0
votes
0answers
147 views

Cannot connect to OpenVPN server under Ubuntu 14.04 (from terminal), but all is fine in Windows

In Windows all is ok. In Ubuntu I run command sudo openvpn --config client.ovpn and get TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) ...
0
votes
2answers
198 views

Sed command to replace code in every files

sed -ri '1 s/.*<\?php \$xgzdxgn.*\$tdjwdrzy.*\$vbtpmtzqq-1; \?>//g' *.php How to run this command on folders and sub-folders in a single command ( for all php files ). when i try to use this ...
1
vote
2answers
62 views

Linux CentOS-7 give a certain user acces to only a certain file path

I would like to give a created user a new home directory and have him only be able to access that certain home directory, however, the directory the user is supposed to access has already been created ...
1
vote
3answers
5k views

How can I launch gparted in centos 7 minimal

I have already installed gparted because I want resize some partitions on a box running centos 7 minimal. So I can ssh into the box and only have access to the terminal. I run the command gaprted to ...
0
votes
1answer
74 views

Displaying multiple terminals in a single window

I'm trying to setup a dedicated computer for displaying server statuses, and I'd like to showing the output of htop for about 5 servers simultaneously in a grid of terminals. What's the most ...
-3
votes
1answer
585 views

Recursively removing the content of a directory but not a directory itself [duplicate]

I have a directory which contains other directories and files of unknown depth. How can I delete only the content of the directory -- nested directories and files -- but not directory itself? I've ...
2
votes
1answer
9k views

Terminal Server 2016 RemoteApp Create Windows Installer Package

I'm working on migrating our current terminal server (Windows Server 2008 R2) to a new server with Server 2016. I've installed all the roles on the new server and setup my apps. Works perfectly (...
-5
votes
1answer
57 views

“date” returning a month as a 3-char word [closed]

At the moment I call date this way: date '+%Y %m %d' # ==> 2017 12 01 How should I adjust it so that it return a month in the 3-char format? Like this: date '+%Y %m %d' # ==> 2017 dec ...

1
2 3 4 5
8