Ubuntu :: Single Tab To Complete Command?
Mar 7, 2011
I have recently installed Ubuntu 10.10 Server onto a old PC. Everything seems to be working fine except that i can't tab the next command.Like when you are typingcd hom (Then you press tab and the 'e' appears.)When i double click tab I get a list of all the possible directories but I wont seem to work when I press it one time just to complete my command.Anyone got a clue how to fix this?(I am new to this community but I got to say i Love it. We use Ubuntu at our university and it rocks!)
View 3 Replies
ADVERTISEMENT
Oct 2, 2009
i want to run init 0 as root after my torrent download completes. i use ktorrent as a downloader and Ubuntu as my OS.how should i make the command run automatically as soon as my download completes.
View 2 Replies
View Related
May 11, 2011
cat filename| awk '{print $3}' | cut -c -3 | cut -c 2- | grep 66
this returns the lines containing "66" at 2nd 2 characters of 3rd column of a line, now i need complete lines for this, how can i do it?
View 6 Replies
View Related
Jul 31, 2010
For as long as i can remember, using arrows (and home/end) in a bash shell that has a command running would print some fancy ^[[A caracters and then return the prompt at the end of this.
Now this behavior has changed. Using the arrows while a command is running actually moves the cursor on the screen. When the command completes the prompt appears at the new cursor position which is kind of strange and messes the screen.
For testing, just enter "sleep 10" and during the wait move the cursor with the arrows and home/end.
How can i get back the original behavior?
> rpm -q bash
bash-4.1.7-1.fc13.x86_64
View 2 Replies
View Related
Jul 19, 2011
I delete a particular file often. first I have to cd then I have to rm.Is there a way to do this on a single line?
example
cd ./ssh rm known_hosts
that doesn't but is there a way to do it?
View 6 Replies
View Related
Apr 15, 2010
I went to a help site because I wanted to install an IRC client named seamonkey. I followed the directions step by step, copy and pasting each and every command into my terminal command line as per the instructions. Every single command produced an error. Needless to say, I was unable to install it. What's even more frustrating is I can't even post the url for the site here so someone can see what commands I was using.
View 10 Replies
View Related
Dec 1, 2010
Can we set password for linux board's in non-interactive mode.I didn't find suitable option for this in man page.
View 1 Replies
View Related
Apr 26, 2010
Would like to know how to cat the below output.
Code:
grep userlist_file /etc/vsftpd/vsftpd.conf | cut -c15-
Below which is the output for above command.
[code]...
View 6 Replies
View Related
Sep 17, 2010
I posted a blog on how to install 64 bit adobe flash plugin in Ubuntu Lucid in a single command
[URL]
The command is
sudo aptitude remove flashplugin-nonfree flashplugin-installer && mkdir -p flashplugin-64 && cd flashplugin-64 && wget -c http://download.macromedia.com/pub/l..._091510.tar.gz && tar xzf flashplayer_square_p1_64bit_linux_091510.tar.gz && sudo cp libflashplayer.so /usr/lib64/mozilla/plugins/
View 2 Replies
View Related
Mar 18, 2011
I've been searching high and low for a solution to my problem, and have not had much luck as to yet!The situation is: I have two files containing bits of info that both need to be included in a single command, such as a for loop, but as separate elements. What I need to do is basically this:Code:ssh <servers in list a> ls -la | grep <items in list b>Does anyone have any thoughts on how I might do this? Is it possible to do using bash scripting alone?
View 3 Replies
View Related
Jun 8, 2011
How to remove all foldernames which contains spaces in Desktop with a single command?
View 7 Replies
View Related
Sep 3, 2010
Is it zypper in <package> or zypper up <package> or both?
View 4 Replies
View Related
Sep 10, 2010
What is the single command that will remove all 'other'permissions from all files and directories under /home.
Just starting to learn Linux.
View 1 Replies
View Related
Jan 16, 2010
I'm trying to create a user john with default password 'abcdef'. I used the following command.
useradd john -p abcdef
I can't login with the password. in /etc/shadow file I can see the password in clear text format. how I can create a user along with password.
View 3 Replies
View Related
Apr 20, 2010
I wish to allow a user to use sudo to run a single command (service app status) to determine if my application app is running, in my sudoers file i have: user ALL= /sbin/service app status I understand that there is a parameter called timestamp_timeout that will set the timeout for the 'user', but requires at least 1 entry of the root password.
I wish to allow the user to do "sudo service app status" and not have to enter the root password ever(maybe once is ok), but still make the user enter the root password for all other root activities. Is there a way to prevent the password entry for this command only and no others?
View 3 Replies
View Related
Jul 5, 2011
i have 30 linux PCs running. i need to check the performance of all pcs( memory,ram and process usage) in single command or in GUI mode.In solaris we have perf script to check performance in GUI mode. i need same type in linux?
View 1 Replies
View Related
Jul 18, 2010
I'd like to copy a file, say widgets/water.txt, to all subfolders in the folder widgets using a single command. So if the folder widgets has 10 subfolders like widgets/blue, widgets/green, etc. I'd like to copy water.txt to all of them with one command.
I tried the commands
Code:
cp water.txt ./*/water.txt
cp water.txt ./*/
However these don't seem to work. The latter gives 'cp: omitting directory' errors.
View 7 Replies
View Related
Nov 22, 2010
I have 10 files of .dat formatsayA MCDR .datB MCDR .datand so one upto 10 dat filehow i convert these 10 dat files to txt files using single command or script
View 6 Replies
View Related
Aug 12, 2010
I want to watch a number of processes in "D" status repeatedly with following command:Code:# watch -n 1 'top -b -n 1 | awk '{if ($8 == "D") {print; count++} } END {print count}''but it didn't work. I also tried with double quote. Can I use 'watch' command is this case?PS: I know 'while' and 'sleep' can do the same but it is dirty workaround.
View 2 Replies
View Related
Mar 24, 2010
I am trying to write a very simple script that will go to every subdirectory of a single directory and run a command (lets call it make_ndx).I know I can write this the long way with in a text document with something like:
cd /"the directory"/"the 1st subdirectory"
make_ndx
cd ..
cd "the 2nd subdirectory"
cd ..
Alternatively, I also tried: for i in 'find /path/somemorepath -type d -mindepth 1'; do cd $i; make_ndx -f *.gro; done which returns me with the error cd: find: no such file or directory. But if I run the find command by itself to test if I am calling the right directories, it gives me the exactly the output I am looking for. Any ideas? Should I just write the find results to a file and loop through the contents of the file (which seems a little bit like overkill) or am I just making a simple typographical mistake and I am just not seeing it?
View 7 Replies
View Related
Jun 23, 2011
I increase my knowledge in vim in two ways. Little hints about doing this or that and scattered studies using the vim help files. Please do not believe I always rely on the first one.
View 12 Replies
View Related
Mar 31, 2010
I am using SLES10 and i checked with command crontab -l and when i compared it with the cron.d/daily/monthly/hourly , all they are different. is there any single command that list out all the cronjobs that exist under the system.
View 3 Replies
View Related
Oct 15, 2009
I am running Fedora 8. Each time I run a YUM command, I get the message that there are unfinished transactions, and to run yum-complete-transaction. Upon running yum-complete-transaction, it fails with this error. How can I remove this uncompleted transaction so I can finish the last one?
View 2 Replies
View Related
May 13, 2011
Have this script which is reading in a series of files, one at a time with while-do-done loop, each file goes through various greps/awk's where this info is then saved to various files for later use. i.e....
Script is being run on Linux Red Hat,
In one of the grep/awk's the output (currently) are 2 columns (min max), i.e....| awk '{print $1, $2}' | sort -u which outputs (e.g.)
The number of "min max" pairs varies from file to file. Want to output a single column of unique numbers from the min max pairs & get the number of them for input to a file...i.e...
Where <PROCESS> is some process/technique that will generate a single column of integers (increment of 1) to pipe into the next one (sort -u)
i.e. (example from above)
Have tried command seq - only works for single pair input i.e.
Is there any command like seq etc which will output a single column based on a input of min max numbers (increment 1) to pipe onwards to next command?
View 4 Replies
View Related
Oct 13, 2010
I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?
View 1 Replies
View Related
Mar 1, 2011
How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).
More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.
View 1 Replies
View Related
Jan 15, 2011
I am intended to simply make printf give "001 002 003 004 006.... 150" but with the single command line of SH (dash) ... not easy ...
Code:
tucholsky:~$ seq 1 1 150 | sed 's/([0-9]+).*/1/g' | tr '
' ' '
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
[code]...
For the geeks, which distro/version is it, based on the code above
View 6 Replies
View Related
Dec 9, 2010
I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...
View 3 Replies
View Related
Feb 3, 2010
whenever I try and boot the computer begins to load correctly, but after the scrolling ubuntu splash, I just get a black screen.
64bit Ubuntu 9.10
View 6 Replies
View Related
Feb 11, 2010
i'm using Ubuntu 9.10. I just installed koffice (Version 1.x) which includes kformula.
Then i realized that koffice 2.x is already available which seems to be called "koffice-kde4" in the repositories... But koffice-kde4 doesn't have kformula included - where is it?
how i could install the complete koffice 2?
View 2 Replies
View Related