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.

419 questions
2
votes
1 answer

Creating users on OSX 10.5 and up from the command line

Is this even possible anymore? I've seen tutorials which use niutil (not available on my Mac) and dscl. My output from dscl is the following though, kind of odd: neutron:~ username$ sudo dscl / -create /Users/deadline Data source (/) is not valid.
RandomInsano
  • 451
  • 1
  • 5
  • 19
2
votes
3 answers

Temp Profile Loading on computer

I am getting these errors on several different users and computers. Any ideas? {Event Type: Error Event Source: Userenv Event Category: None Event ID: 1515 Date: 2/28/2011 Time: 8:30:21 AM User: XXX Computer: …
tech.pro
  • 21
  • 1
  • 3
2
votes
6 answers

Ctrl + c is not working for certain applications on Linux

It is a really weird problem, but on new systems(Fedora, Ubuntu) ctrl+c has no effect for certain tools: if I execute yum list which runs for almost a minute I can't interrupt to run with ctrl+c $time yum list >/dev/null ^C^C^C^C^C^C^C^C^C The…
Istvan
  • 2,582
  • 3
  • 22
  • 29
2
votes
2 answers

TTY "Serial" Terminal over USB?

I have a few servers in a rack that like to drop their network connection, requiring a restart and/or handheld intervention. I purchased a Linksys NSLU2 and installed Debian on it in order to create a serial terminal. However, with USB-Serial…
magneticMonster
  • 133
  • 2
  • 4
2
votes
4 answers

FreeBSD tcsh and terminal window size

When I'm working on my FreeBSD server's ssh, it always assume that terminal width is 80 columns. E.g. man pages show up in one thin column and all programs that use COLUMNS and LINES environment variables to guess terminal size work only in 80…
2
votes
7 answers

Network equipment console cables

A lot of network devices has a terminal RJ-45 socket, which is usually a simple COM-port. So, to configure such a device, you have to connect RJ-45 socket to PC's (or terminal's) DB-9 COM-port. Documentation usually says: "use the terminal cable,…
Alexey Shatygin
  • 736
  • 4
  • 11
2
votes
2 answers

Send email based on grep results

I'm using WebInject (CLI not GUI) to test out online web services. I was going to go with a third party until I found this little gem and realized what I could save... What I want to accomplish is to grep the results of WebInject (Perl script) . If…
JohnyD
  • 1,614
  • 3
  • 20
  • 29
2
votes
1 answer

Ubuntu 10.4 Lucid Server Minimal Install: Slow terminal scrolling

I have a minimal install of Ubuntu 10.4 Server for testing and learning purposes. There is a very annoying occurrance: whenever I try to "man dpkg" or any command that load a few screens length of text (eg. "ls -al") the redraw speed of the console…
noname
2
votes
2 answers

History in linux terminal

I'm running Ubuntu 9.1 and every time I open a terminal window, I lose the previous command's history. How can I configure it so it's kept even after rebooting?
xain
  • 677
  • 3
  • 13
  • 24
2
votes
3 answers

Simple Ubuntu scripts to connect to a server via terminal

Im relatively new to Ubuntu, Im wondering how easy it is to write what I think is called a shell script to make tasks a little easier. For example I frequently connect to a server - ssh -p 123 me@mysite.com Can and how could I shorten this to a…
jjodat
2
votes
1 answer

How to customize terminal server so that users can only save data to their home directory?

I'm new to terminal servers and would like to customize my users' environments so that they save all their files to their home directories. I don't want them to have my documents or any other folders on their terminal server session other than…
niko
  • 61
  • 4
2
votes
1 answer

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 terminal in a file so that if bash_history is…
Fardin
  • 21
  • 1
2
votes
4 answers

crontab - how to create in Terminal?

I'm trying to run a scheduled task on my shared Linux server using the crontab via Terminal on my Mac. I can login to my ssh OK, and can view directories etc with ease. I try and create/edit my crontab by using... crontab -e But i get the…
user34990
2
votes
1 answer

Start a VPN session using a Terminal script

I use an OSX Terminal session to start a VPN connection. The command that I execute at the prompt is: /etc/netlock/cvc -c :: This works as expected. I would like to save this to a script file that I can simply double-click to start. I created a…
craibuc
  • 467
  • 2
  • 5
  • 15
2
votes
1 answer

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: ssh my-site-with-a-docker-engine.example.com…
Xavi Montero
  • 355
  • 3
  • 18