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.
427
questions
4
votes
1
answer
4k
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
2
answers
3k
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
1
answer
340
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
...
1
vote
1
answer
11k
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 ...
2
votes
4
answers
59k
views
Adminstrator cannot log on to server via remote desktop after changing default domain policy
I wanted to enabled remote desktop access for a domain security group so I search and followed the instruction here to get to the setting which was shown as "Not Defined" then I change the setting to ...
1
vote
2
answers
4k
views
crontab: command not found in CentOS
I tried to setup a cron job in my new CentOS VPS server over SSH. I typed in the command
crontab -e and I got the following error message:-
-bash: anacrontab: command not found
Any idea how I can ...
3
votes
2
answers
2k
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
1
answer
818
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 ...
30
votes
3
answers
97k
views
How to start qemu directly in the console (*not* in curses or SDL)
I seem to recall being able to start qemu with only the terminal emulator output, with the graphic window disabled. And here I don't mean with the ncurses interface, that one is nice, but I want the ...
9
votes
3
answers
26k
views
What is the export command supposed to do in Linux?
What is the export command supposed to do in Linux?
0
votes
1
answer
2k
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 ...
87
votes
4
answers
140k
views
How can I find the path to an executable in OSX
Is there a command I can use to easily find the path to an executable? I'm looking for identify on my local machine - something like pwd?
pwd identify
=> /usr/local/bin/identify
0
votes
1
answer
6k
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
4
votes
3
answers
30k
views
How to autocomplete long file names in terminal
If I have in current directory a file with a long name starting with "build" I can write in console "build", press Tab and autocomplete type full filename for me. However if I have multiple files ...
3
votes
2
answers
3k
views
How to exit xen domu when using linux terminal
I usually use putty to connect on a xen domus.
To exit domus after using "xm console", it's ctrl + 5
But how can I exit vm console on linux terminal?
58
votes
1
answer
18k
views
Block select on a Linux console?
Is there any Linux console (konsole, gnome-terminal, etc.) that allows selecting text in a block mode, like you can in a Windows cmd.exe window, using Mark and drawing a rectangle?
1
vote
2
answers
13k
views
Sending a message to a remote terminal
Is there a way to send a message to a remote terminal similar to using the wall command for other users on the local system? In this scenario I want to specify a username@hostname and have a message ...
-1
votes
2
answers
594
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
0
answers
969
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 ...
20
votes
2
answers
5k
views
Reverse bash console text flow
This is a bit of a weird question and I'm not sure that there is any easy answer to it but I am very interested in finding a solution.
So when I work on a linux machine via a console I find that I am ...
3
votes
6
answers
7k
views
How do I launch terminal commands into multiple tabs?
Is there a way with Applescript to launch multiple tabs in Terminal and execute commands against them?
I have a project that requires me to launch several services in Terminal to run and monitor ...
1
vote
3
answers
1k
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
1
answer
271
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,...
42
votes
5
answers
25k
views
How to make the 'less' command handle UTF-8?
On my Mac terminal, printing UTF-8 works in general, but the less doesn't work correctly.
So this works correctly:
$ echo -e '\xe2\x82\xac'
€
but piping it into less gives something like this:
...
0
votes
1
answer
172
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
1
answer
108
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
3
answers
7k
views
ps ax | grep java with no wrapping in the terminal?
Is there a way to execute ps ax | grep java without it wrapping on the terminal?
3
votes
2
answers
17k
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
2
answers
4k
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
1
answer
4k
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 ...
1
vote
3
answers
165
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 [ ***** ]...
31
votes
5
answers
11k
views
Getting ;5D when hitting ctrl + arrow key in a Terminal on FreeBSD
On centos I can skip a word by hitting ctrl + arrow (left or right) in a terminal. When I ssh into a FreeBSD box and I try the same pattern I get:
$ tail -f 20120412.log;5D;5D;5D
(each try = ;5D)
...
2
votes
2
answers
2k
views
freeze and thaw tmux and/or terminal sessions?
I would like to be able to freeze and thaw tmux sessions. That is, to take a complex set of session state, persist it, and bring it back from some persistent store later. Essentially, git stash for ...
0
votes
1
answer
145
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-...
13
votes
3
answers
31k
views
Nginx Restart Issues
All of the sudden when restarting Nginx I get the following error:
Restarting nginx: [alert]: could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2011/02/...
0
votes
0
answers
242
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
2
answers
6k
views
RDS 2012R2 "Preparing the destination computer" Long
I've just setup a new RDS Deployment on a 2012 R2 domain. When client's connect to the RemoteDesktop there is a considerable delay at the "Preparing the destination computer" stage. I can resolve this ...
0
votes
2
answers
362
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 ...
14
votes
1
answer
9k
views
OS X Terminal lines don't go into scrollback
I have a problem that crops up when using Mac OS X's Terminal (TERM=xterm): sometimes it gets itself into a state where lines that scroll off the top are not added to the scrollback buffer. I'm not ...
1
vote
2
answers
233
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 ...
2
votes
3
answers
9k
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 ...
4
votes
2
answers
918
views
control + punctuation doesn't register in terminal
For the purposes of using emacs in a terminal, I want to use key combinations like Control-'. But when I try that key combination, it just writes an ' to the command line. The same thing happens for ...
0
votes
1
answer
373
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
1
answer
2k
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
1
answer
12k
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
1
answer
67
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
vote
0
answers
5k
views
What is RDSAppXPlugin?
In windows 2012 event viewer in the "Applications and Services > Microsoft > Windows > TerminalSerices - LocalSessionManager > Operational" path I can see the following event:
"Plugin RDSAppXPlugin ...
0
votes
1
answer
93
views
ssh -N steals keystrokes
When I run an ssh session purely for tunnelling purposes, I start it like this:
ssh -N -L 5432:localhost:5432 user@host &
However, when I do so, about every second keystroke in the terminal ...
36
votes
1
answer
4k
views
Recover a running script from a terminal session
So I'm using GNU Screen to manage multiple running scripts/programs. The multiplexing & detachability is quite helpful.
I removed a script from disk and now I'm having some trouble finding the ...
8
votes
6
answers
7k
views
How can I watch a terminal window remotely?
I left the office earlier with an active terminal window running a script on a Centos 7 server. Now I've SSHing in from home and I want to see where it's got to. Is this possible? Can I rejoin the ...