Ubuntu Servers :: Up Key For Previous Commands Not Working?
Nov 8, 2010
My previous experience with Ubuntu desktop (which isn't much) while in the terminal the up key allowed me to see previously entered commands, but I have freshly installed Ubuntu Server Edition and the up key is not allowing me to do so, Is there a way to get this working?
View 3 Replies
ADVERTISEMENT
Apr 9, 2010
The other day I was practicing some of the famous Awk One-liners and noticed something interesting in the bash shell on ubuntu 9.04. Some specific awk commands would execute correctly but when I tried to use an up arrow to re-run the command that particular command was not present in my history. Is this an issue specific to me? specific to awk? Completely random?
View 2 Replies
View Related
Jul 20, 2011
I am new to Minix. I'm so impressed by the speed of the system. It looks elegant, I like it. However, I have a question about the shell. In Linux, while using a shell, up and down arrow keys can be used to navigate through previously executed commands. On Minix with the sh shell, I can only get numbers printed out on the screen. I remember I chose a US-std keyboard when installing. Is there any way to use the arrow keys to navigate through previous commands on Minix?
View 1 Replies
View Related
Apr 21, 2010
i have RHEL4. i m facing problem that all the previous command history is deleted when i restart the server or relogin the server. it is happening with all the users not with any one user.
View 2 Replies
View Related
Aug 3, 2010
I have a server running. I administer this server via ssh and sftp. Commands that are executed on the ssh prompt are killed when I close the ssh connection. Is it not?If I put a '&' or '&&' after it, will this process keep running when I close the ssh connection?In what other way could I start 'applications'/processes in the background? like rtorrent for example.
View 5 Replies
View Related
Nov 2, 2010
I'm trying to run ssh commands though PHP on my website. I found this tutorial for it: [URL] I've got a few problems here, when I do "apt-get install openssl-dev" I get this output:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package openssl-dev
[Code].....
View 7 Replies
View Related
Jul 26, 2010
I recently hired a new tech guy to start managing our servers. In doing this I went ahead and upgraded all the servers. It has been awhile now since I sent him the details of the new server and the last time I talked to him he was joking around with one of the other clients not realizing how long it took.
I know on other server moves, my old guy could have everything setup and running in a couple days as a good amount of time is waiting for the data to copy over. I am starting to wonder if this guy is going to try and throw a huge bill at me, so I would like to know what hes doing on the server with time stamps just so I can get a idea of how much time he has been logged into the server. Does this server OS have anything like this built in?
View 1 Replies
View Related
Oct 22, 2010
I am new to Linux, have used KDE/SLAX before but am now attempting to use linux on my old computer to accomplish these objectives:
1) Run an FTP so I (& my mates) can access files anywhere wit ease(no dramas).
2) Enable sharing of my drives so I can put files from Laptop into this computer
Now I have successfully Installed Ubuntu Server (Finallllly) but then messed up cuz I installed the Gnome GUI and now cant find any place where I can type any sudo commands. vsftpd should work for me right?
View 3 Replies
View Related
Nov 7, 2010
does anyone know how to set restrictions on the commands a user can run as sudo? i want to make it so they can only halt the system.
View 1 Replies
View Related
Jun 7, 2011
I followed this thread:[URL]...When I get to this part:sudo genprof firefox it does not work in the terminal. Is this still supported for Ubuntu 11?
Also, I installed the profiles. Is something supposed to happen now or do I need to configure them?
sudo apt-get install apparmor-profiles
View 6 Replies
View Related
Apr 22, 2010
What type of server am I on? code...
View 3 Replies
View Related
Sep 9, 2010
I have a server that is triple boot and the server is headless and accessed using ssh. So is there a way to tell grub before hand what os to choose or send commands to grub (of course I get rid of the timeout) to pick a different os other than the default one. Any ideas? I already know this is bad practice to have multiple os's on the same machine to be used as a server, but what about selecting a different kernel at start up.
View 7 Replies
View Related
Oct 25, 2010
I have had the same problem of /dev/sda1 becoming full and have been able to fix it with the commands:
sudo apt-get clean
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
But this time I am still unable to free significant space. Here is the output of various commands.
df -h
/dev/sda1 5.6G 5.4G 0 100% /
varrun 498M 108K 498M 1% /var/run
varlock 498M 0 498M 0% /var/lock
udev 498M 76K 498M 1% /dev
[Code].....
View 1 Replies
View Related
Dec 20, 2010
I'm running a server using ubuntu 10.04 x64. I want to disable access of groups to "bin" folder so they cannot execute commands.
[info: actually because of a bug in cPanel (the control panel I installed) Perl will give access to all hosting users to execute commands.]
So what I wanna do is to ban some groups on 'bin' folder, for example 'my_group1' and 'my_group2" cannot access bin but 'my_trusted_group' can access it. How is it possible?
View 1 Replies
View Related
Jun 27, 2011
I for the life of me can not find the list of CLI/console commands for Deluge. I'm trying to at least find the command to change global download speed.
View 3 Replies
View Related
Jan 3, 2011
Iam newbi to SUSE, I installed java in my SUSE linux Server edition, So i want to set the path in linux,So i created .bash_profile in in /root path using touch and added the path as "JAVA_PATH". When restart my linux the above command is not working and it show unknown command "JAVA_PATH", I can't able to boot in GUI mode, I can boot only in terminal mode, How to delete the file (.bash_profile in /root) ? And how to add java path in SUSE
Note: Before all the commands are working fine
View 3 Replies
View Related
Feb 26, 2010
I'm having issues with mt commands. For some reason, my server doesn't like backing up directories using tar.
Code:
# tar -czf /dev/st0 /www /home
ends up giving me an error message saying "removing / prefix" and then using the command
Code:
# mt -f /dev/st0 status
gives me an IOCTRL error. I've googled the error code and haven't come up with a viable fix. Thus far, the only way I've been able to check which files are on the tape is:
Code:
# tar -tzf /dev/st0
Of course, without getting the actual directories on the tape in the first place, the only files I've been able to transfer at this point are just singular files within the directories as opposed to the entire directories themselves.
View 1 Replies
View Related
Jan 15, 2010
I've got an annoying problem that 'man' and some other commands do not auto-complete (via TAB). e.g. typing: man rsyn (TAB, TAB, TAB, etc) will not auto-complete to 'man rsync' however, if i 'sudo -s' & then try the above, 'man' auto-completes everytime. (Directories always auto-complete successfully) My ~/.bashrc contains:
Code:
# enable bash completion in interactive shells
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
[code]....
View 8 Replies
View Related
Mar 18, 2010
I need to run to terminal commands at boot to get my wireless card working, the included drivers with ubuntu dosen't work for my card so I compiled my own broadcom drivers. I am on 9.10 ubuntu. I need these commands ran at boot in order for my wireless to work.
#sudo modprobe lib80211
#sudo insmod wl.ko
I have done these commands as per the readme included with the source files.
# load driver as described above
# cp wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
# depmod -a
View 2 Replies
View Related
Jul 19, 2010
I am working on Ubuntu 9.10.Since last two days there is issue while working with Terminal.Whenever I type a command and press enter it doesnt do anything. command is not executed. I guess its in loop. when I press Ctrl+C then it comes out of loop. this happens with all commands and I am not sure what is the problem.I have reinstalled Terminal but it did not worked.
View 8 Replies
View Related
Jun 14, 2010
I have Fedora 2.6.29. When Im trying to laod a kernel module by using modprobe, its throwing an error message 'Module not found'. Also, when I use 'lssci' command to see the list of SCSI devices, this also doesn't work, and throws an error 'Command not found'.
However, I have used insmod to load my module and I am able to see its entry in /proc/scsi/scsi file, but why 'modprobe' and 'lssci' are not working. Is there any way to resolve this problem?
View 14 Replies
View Related
Apr 9, 2009
I am trying to get F10 installed on L2 so that I can use the system the same way that I have been using L1 with F8. Specifically, I am using unison (with ssh) to crossload files between the desktop and the laptop. Unison works just fine when executed on the desktop crossloading to the F8 Laptop1. But when trying to do the same on L2, it hangs while trying to contact the server.Attempting to diagnose the problem has led me to ssh.I can use ssh to login to any of my systems from the desktop. E.g.,ssh delta
but attempting to execute a command via ssh simply hangs. E.g.,ssh delta "echo $PATH"
Both ssh login and ssh remote execution work fine when done to the F8 laptop 1.
I have installed tcsh on all systems and my login shell is csh (i.e., tcsh) on all machines.I have spent the better part of the last two days trying to find something but have failed. As far as I can tell, both L1 and L2 are configured identically:
firewall disabled
selinux disabled
and while I have not done a character-by-character comparison of the ssh and sshd configuration files, they appear (visually) to be the same, as shipped with the Fedora distribution.
I need some pointers on where to look for problems, etc.
View 5 Replies
View Related
Jan 25, 2010
Php file that basically runs a few commands and echoes the output. It's for checking things like temperatures etc, space free.
You can see it in action here: [url]
I've attached the actual php file.
Two questions:
1) What more can I add to it to give me even more information?
2) I want to add hddtemp but it requires sudo to run. How can I get around this?
View 4 Replies
View Related
May 15, 2011
Just a simple question
Code:
$ cat -
do in the Bash? I know 'cd -' changes directory to the previous working directory, but 'cat - ' does not seem to do the same thing.
View 3 Replies
View Related
Jun 30, 2010
I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).
Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.
I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.
View 1 Replies
View Related
Sep 22, 2010
Now that the xorg.conf file seems to be a thing of the past, where do I put my serverlayout commands etc in order to get the serial touchscreen working? It responds to touchcal but doesn't work in normal use, so I presume it just needs X to be forced into loading it at startup.
View 2 Replies
View Related
Jan 19, 2011
I just installed the lamp stack and so far my default site is working. But a 2nd site I made is not working.I created the config file in /etc/apache2/sites-availableit reads:Quote:
<VirtualHost myip:80>
ServerAdmin webmaster@mydomain.com
ServerName mydomain.com
[code]....
View 9 Replies
View Related
Mar 7, 2011
I have very interesting problem after ~10 PHP Fatal error, php 5(latest one) in apache2(latest one) in Ubuntu Server 10.10(with latest updates) just do not work. So if try any php page it's not working(user see white page), but HTML still work fine.What that can be? So only restart apache is help to back php. (we are running Wordpress blog 3.1)
View 2 Replies
View Related
Apr 25, 2011
I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]
[code]....
View 8 Replies
View Related
Apr 23, 2010
I upgraded Samba to 3.5.2 to enable Windows 7 to log in to the PDC. ACL was working with the Samba 3.0.28a that came with 8.04LTS. After upgrade I can now log in to the domain with Win 7 but ACL permissions are not working on Win7, XP or anything. They still show on the server but any attempt to change permissions on the workstation fails with "Access is Denied" and only user/group/other permissions are doing anything. Anyone know what changes for the ACL were made between the two versions? I know they're working on switching to VFS modules but setting "vfs objects = acl_xattr"
View 1 Replies
View Related