General :: Can't Close Multiple Terminals?
Sep 3, 2010I just started using Fedora Linux Console. I know how to open multiple consoles, but i don't know how to close them.
View 5 RepliesI just started using Fedora Linux Console. I know how to open multiple consoles, but i don't know how to close them.
View 5 Replieswhen i am logged into my server via SSH how can i spawn many ssh terminals? is there a xterm command for this?
View 6 Replies View RelatedI am using red hat Linux 4 I have two question.
Normally in GUI interface i open multiple terminal at a time like one for log file and one for configuring any file etc etc.
The problem is normally I do work on run level 3 but in that way how can i open multiple terminal at at time ? Is there any way...
2- When I use the command
Code:
# tail -f /var/log/messages
in GUI i normally close the windows after viewing the log file messages.Is there any hot key by which I can again see the prompt example [root@localhost ~}# to write the command instead of closing the terminal windows ?
When i start my Ubuntu it doesnt go directly into xserver/desktop mode. This is because my machine is very slow. Therefor i exclusivly use the terminal. I only hate the fact that there is only one terminal and i cant switch between them. ctrl-shift-F2 doesnt work. How can i use multiple terminals before having logged into X?
View 3 Replies View RelatedI want to count the number of users who have logged in multiple terminals ? How will I get this ? I always get the total number of users. How will I get the uniq number of users with multiple logins ?
View 3 Replies View RelatedI've been out of the Linux loop for a little while, but a customer of mine wants a "No Virus) desktop environment, I have gone through the process of installing and configuring Ubuntu 10.10 to work with their client side software, but for the life of me, I can't remember if or how I can create an exact image of this file-system to install on all of the desktops.I would need to have all of the installed programs, Security Certificates, Display settings... basically, I need exactly what I have right now installed from the disc so that "IF" the customer needs to install the environment on new systems, I can just pop the disc in and run.
View 1 Replies View RelatedI'm trying to learn to set up code and web hosting etc and learn about server admin so I've been resisting the urge to install a gui. However, I would like to know if there is some way to make the console (I think that's what its called - basically its like a single terminal window) have two "multiple terminals" similar to how I can open multiple terminals in the desktop version?
View 2 Replies View RelatedIs there a way to "save" a layout of terminals on Ubuntu?Let's say I have 4 Terminals on a workspace that I'd like to save/restore at will, how could I do this?UPDATE:create gnome-terminal desktop entryedit the preferences and under "Title and Command" be sure to set "Keep initial title" for "When terminal commands set their own titles"use wmctrl (available on universe repo) to control windowUsing the above procedure, one can create as many desktop profiles for gnome terminals and control them by "title" using wmtrl -R $title_here.The profiles are kept under ~/.gconf/apps/gnome-terminal/profiles.
View 2 Replies View RelatedThe usual vim yank and paste works only in the same window (but does work across files and close/save commands). Is it possible to make it work across terminals (yank from window in one terminal and paste in another) and if so, how?
View 1 Replies View RelatedI am making a bash script. I have captured user input like so. code...
But it does not work. Airodump-ng "takes over" and the script does not continue.
How do I make it so that I can make a new Terminal, or allow more commands to take place on the current one, allow the output from airodump-ng to be shown, and keep the caught user input?
I'm using Ubuntu 9.10, GNOME and would like it so that anyone with a GUI Terminal, Konsole or whatever can execute the script successfully.
I'm confused...I looked up on Google and couldn't find anything! Just "Beginners guide to Bash Scripting" and "How to BASH script" but nothing relevant that answer my question!
Every time I reboot my linux machine I have to set up 5 or 6 terminals and Im trying to find a way to do this automatically. Bind a script to a shortcut or on startup that starts several terminals (extra point if theyre tabbed) and have each terminal ssh to different servers.
View 3 Replies View RelatedHow can I split an output of a command to two terminals? one will get stdout and the other will get stderr. The best I could do is:
On first terminal code...
This works ok but it prints the errors over and over again every time, is there any better way to redirect the errors to another terminal?
what is short cut key to toggle between pseudo terminals in red hat? how can i create customized short cut keys in red hat?
View 2 Replies View Relatedsocat - exec:'bash -li',pty,stderr,ctty -> bash: no job control in this shell
What options should I use to get fully fledged shell as I get with ssh/sshd? I want to be able to connect the shell to everything socat can handle (SOCKS 5, UDP, OpenSSL), but also to have a nice shell which correctly interprets all keys, various Ctrl+C/Ctrl+Z, tab completion, up/down keys (with remote history).
- Found "setsid" socat option. It fixes "no job control". Now trying to fix Ctrl+D.
- socat file:`tty`,raw,echo=0 exec:'bash -li', pty, stderr, setsid, sigint, sane. Not it handles Ctrl+D/Ctrl+Z/Ctrl+C well, I can start Vim inside it, remote history is OK.
Is there a way or command to keep track all the previously run applications from all terminals that are connected to your linux machine? Something that will display the name of the application, start time, and end time of its execution?
View 3 Replies View RelatedI'm trying to connect one computer to two others in an ad-hoc infrastructure.
[computer 1] ---- [computer 2] ---- [computer 3]
computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.
[Code]...
I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.
I tried the coding posted above.
find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....
but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"
I'm starting to have A LOT of opened windows in my machine. Sometimes within a project, I have e-mail/task management/personal e-mail/twitter, and a lot of different opened applications/terminals in my Linux workstation.Sometimes it would be interesting to have different workspaces to projects instead of this configuration I have nowadays that are classes of work (bad name, I know, but I think you got the idea).I'm starting to think about using two monitors: one with Corporate Management, Work and Personal. The second monitor is only the development state: each workspace here is about a project being worked on instead of groups of works like before. A workspace may be implementing different classes for example.
My question is: I just want to change to a second monitor using the mouse. I want to still be able to change workspaces in the same monitor using keyboard shortcuts. The keyboard shortcuts wouldn't change monitors, just worskpaces on the same monitor. All the tutorials I read (like this one) only tells how to use multiple monitors but doesn't answer my question about keyboard shortcuts.Does Linux (Ubuntu 10.04 Lucid Lynx or Debian 5.0.5 Lenny) support this envisioned setup (Different workspaces in a way that keyboard workspace switching only works in the current monitor) ? If so, how?I haven't tested this setup, that's why I'm asking. In this question the user says it works exactly how I want it to behave, can someone else confirm it?
I'm looking at setting up a couple automated systems: Here are a few examples:
* Internal accounting system to download and process emails
* Public web server to visit
I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?
To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.
How to search multiple words in multiple lines, inside a directory including sub-directory? Pls. give easy example. I want to search the files (in /xx folder and all subfolders) that have header.h included and used x() function. I tried $grep -r "header.h" | grep -r "x(" /Folder/subfolder/ > search.log
View 7 Replies View RelatedOccasionally i get a "No space on device" message on all open terminals and in logs.How do i make it go away.
View 9 Replies View RelatedThe buttons to minimize and close, in the upper right-hand corner, have disappeared, making it impossible to close my browser and shut down my computer.I don't know what to do.
View 9 Replies View Relatedi know the command to start the x server is "startx" and ctrl alt delete is the keyboard short cut or atleast on slackware, to close X. i wanted to know what the comand is though.
View 5 Replies View RelatedI'm working on a script to manage some stuff on my server and I'm trying to figure out how I can close my script when I'm done with it. I open it using &, but how can I kill it with another script? I'm trying to do this programmatically but I'm very unfamiliar with Linux.
View 2 Replies View RelatedI tried to close the browser windows; but everything seems freezed. how to close this application from terminal?
View 2 Replies View RelatedI opened a previous thread in this forum about possible partitioning schemes and don't know how to close it.
View 1 Replies View Relatedplay on linux is the only program sorry what it is doing is when i go to install a game and click apply it just stops then when i go to close the program down it says its not responding and wants me to either wait or force quit?
View 2 Replies View RelatedI have something like:cd project && python manage.py runserver &cd utilities && ./coffee_auto_compiler.pyAnd I want both of them to close on Ctrl-C (or some other command). How can I accomplish that?EDIT:I tried using jobs -x kill and kill `jobs -p `, but it doesn't seem to kill what I need. Here is what I mean:oon 8119 0.0 0.0 7556 3008 pts/0 S 13:17 0:00 /bin/bashmoon 8120 6.8 0.4 24568 18928 pts/0 S 13:17 0:00 python manage.py runserverjobs -p give me just process 8119, but I also need to close 8120, since it's the thing that the first command opened.If it helps, the commands are actually in a Makefile, and I want it to run two daemons at the same time (and somehow close them at the same time).
View 3 Replies View RelatedI'd like to make the ls -laR /media/myfs on Linux as fast as possible. I'll have 1 million files on the filesystem, 2TB of total file size, and some directories containing as much as 10000 files. Which filesystem should I use and how should I configure it?As far as I understand, the reason why ls -laR is slow because it has to stat(2) each inode (i.e. 1 million stat(2)s), and since inodes are distributed randomly on the disk, each stat(2) needs one disk seek.Here are some solutions I had in mind, none of which I am satisfied with:Create the filesystem on an SSD, because the seek operations on SSDs are fast. This wouldn't work, because a 2TB SSD doesn't exist, or it's prohibitively expensive.
Create a filesystem which spans on two block devices: an SSD and a disk; the disk contains file data, and the SSD contains all the metadata (including directory entries, inodes and POSIX extended attributes). Is there a filesystem which supports this? Would it survive a system crash (power outage)?Use find /media/myfs on ext2, ext3 or ext4, instead of ls -laR /media/myfs, because the former can the advantage of the d_type field (see in the getdents(2) man page), so it doesn't have to stat. Unfortunately, this doesn't meet my requirements, because I need all file sizes as well, which find /media/myfs doesn't print.Use a filesystem, such as VFAT, which stores inodes in the directory entries. I'd love this one, but VFAT is not reliable and flexible enough for me, and I don't know of any other filesystem which does that. Do you? Of course, storing inodes in the directory entries wouldn't work for files with a link count more than 1, but that's not a problem since I have only a few dozen such files in my use case.
Adjust some settings in /proc or sysctl so that inodes are locked to system memory forever. This would not speed up the first ls -laR /media/myfs, but it would make all subsequent invocations amazingly fast. How can I do this? I don't like this idea, because it doesn't speed up the first invocation, which currently takes 30 minutes. Also I'd like to lock the POSIX extended attributes in memory as well. What do I have to do for that?Use a filesystem which has an online defragmentation tool, which can be instructed to relocate inodes to the the beginning of the block device. Once the relocation is done, I can run dd if=/dev/sdb of=/dev/null bs=1M count=256 to get the beginning of the block device fetched to the kernel in-memory cache without seeking, and then the stat(2) operations would be fast, because they read from the cache. Is there a way to lock those inodes and/or blocks into memory once they have been read? Which filesystem has such a defragmentation tool?
I installed LM9 and it seems like my close maximize minimize disappeared
View 3 Replies View Related