CentOS 5 :: Getting The List Of Commands For Vi Editor?
Dec 22, 2010For example, when I want to have an identical line to the above line, I must press "yy" and then P (or p). Could somebody give me the list of such commands.
View 6 RepliesFor example, when I want to have an identical line to the above line, I must press "yy" and then P (or p). Could somebody give me the list of such commands.
View 6 RepliesI would like to find documentation on all the available terminal commands and syntax for CentOS 5.
I have googled and looked through the wiki and found nothing about the terminal to my ability.
As for what I am referencing by commands:
sudo: I get the su means super user
cd: change directory
rm: remove, I don't know how to remove folders.
General navigation and using the terminal to create files/directories/open file editor/etc..
i have ubuntu installed and vi version==version 7.2.79 but when i trying to use commands in vi most of them are not working. i am refering :[URL]..to execute command in vi.
View 1 Replies View RelatedI opened Alt-F2 > gconf-editor > metacity and used command_1 in keybinding_commands. The type was string and the value xterm. I then moved to global_keybindings and used run_command_1. The value was now <Control><Alt><Shift>p. Nothing happens when I press the key combination. I've tried other key combinations also. And I've tried to run root as root and as user. rebooted. Nothing happens. If I change an existing key combination it takes it immediately an xterm pops up.
View 1 Replies View RelatedNow and then i want to add a command for installed application that hasn't put an icon in the Main Menu. What is missing, that i do not know how to research, are the mysterious pieces of code following the application name in the Command line of the dialog box for making a new Menu entry, invariably including the % sign and letters for options. If i simply write the name, e.g. mc or aiksaurus (magnificent thesaurus), the new entry doesn't work, although it might work through the terminal or Alt+F2.
Needless to say, i will be VERY grateful. I am otherwise installing applications that cannot be used. I love this community and the vision...the love that will replace money and transform this world.
From where can i get a list of basic commands that can be run from the terminal from ubuntu ?for example:nautilusmounttopapt-get
View 9 Replies View RelatedI want to see the users list and the permissions of the users when i logged in a root and how to change the permissions of the users. 2.How to change the permissions for the commands. example:when i logged with my other user account(not with root user) i dont have a permission to use the move(mv) command. #mv filename /backup my error : Permission denied. I need to know how we can set the permissions for the commands even.
View 1 Replies View Relatedi have a java program and to run it, i have to go into terminal and typecd <where the file is>java -jar <filename>.jarthis works fine, but is there a way to make a shortcut/small program to do this for me when i double click?
View 3 Replies View RelatedIs there any way to list just the folders in a directory using bash commands? ( as the ls command lists all the files and folders )
View 3 Replies View Relatedif I open a terminal and hit [TAB] [TAB] it will display "Display all 2583 possibilities? (y or n) ". If I press y is there a way to capture the output and write it to a file? Not like it is a command so I can't just use a redirect to a file? If not I guess I could just do an ls on all locations of $PATH and capture that to a file.
View 7 Replies View RelatedWere can I find a complete list of commands for the terminal in ubuntu linux 9.10
View 9 Replies View RelatedList of 77 lines with the names of movies. For ease, let's say it's in a text file. What I want is a command line argument I can pass that'll read each line and pick one of those 77 lines at random, except I can't figure out how to do this. Is there a program I can just pipe the output of 'cat listofmovies.txt' to?
View 13 Replies View RelatedI've just started experimenting with SSH tunnels. I wanted a way to connect to MySQL on our website VPS but wanted the connection encrypted rather than just using PHP's mysql_connect() function and connecting to the remote IP. This seems to be working great. I'm also looking into autossh to make sure that the tunnel gets reconnected when it drops.is there a command/utility that can list the currently active SSH tunnels? Be great if there was a way of terminating an active tunnel through a command as well. Or is it a case of manually digging through the process list and killing the specific PID like I have been?
View 1 Replies View RelatedI 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 Relatedi am working on some kind of PBX and i have list of telephone numbers inside a file, i have to insert these numbers into the correct command and then telnet to a remote server and execute these commands. i can read the telephone numbers and insert them into the command with no problem, but when i try to insert these commands into the send i face problem. here is the basic code
#!/bin/bash
read msisdn < input
string="ZZZZ:MSISDN=$msisdn;"
[code]....
i can make external loop inside the Bash which read the input file and issue the command and then telnet and execute, but this will make the script connects and disconnects again for each line which cause high load on that server and hardwar problem. i am wondering if there is an option inside the expect interperter which makes the send read directly from a file... somthing like this:
expect "<"
send "input-filename
"
expect "<"
expect eof
I want to create a movie using some pictures and a some mp3 files. Does anyone knows a movie editor with gui for linux because i never created a movie before?
View 2 Replies View RelatedIs there a bluefish rpm that I can install on Centos 5.5 64 ? I did find some on the bluefish web site but all had a bunch of dependency issues..... had no clue where to find them.... yumex showed nothing.
View 6 Replies View RelatedOn windows I really only used Notepad++ as my text editor, it had two features that I loved.What I need to accomplish is what I would do with Notepad++ column editor.I could have like 100 lines, and place the cursor at a column, and goto edit>column editor, and I could insert an incrementing number. (I could also pad the incrementing number with 0s, this was GREAT for making batch files among other things.)So each line at that column had a number higher than the previous line.The other feature that I used sometimes was a search/replace with regex patterns.Does anyone know of an editor that has those features for linux? I am mostly after the column editor insert feature but if you know of one with both features that would rock.
View 1 Replies View RelatedHow default editor can be changed in redhat linux to different editor.
View 4 Replies View RelatedIs it possible to list/find/compare the program versions on a Centos system, against Redhat/Centos Errata/Security/Bug lists? Sort of looking for a way to make sure that all the packages on a system are ok, and not a security risk-- Without having to update every package. A pseudo code, in my mind is:
[Code]...
I just started setting up a linux box in the office...I have some experience with ssh commands but not setting up a linux system and stuff.The box is connected to our network but I have no clue how to make windows & osx talk with it. How can I go by doing that and also setting up an apache server to be able to connect through network. Right now I have apache/linux/mysql running it works when i go to localhost, but I would also like to let all the computers in office to access it. I would guess that will deal with virtual host which I know how to setup. I just need to setup an IP.
View 19 Replies View RelatedI have root access on this CentOS 5.5 machine but I am unable to run administrative commands such as service and chkconfig because it says the commands are not found.
Do I need to install additional packages or grant myself privileges that I don't have to run these commands?
I just updated my CentOS machine from 5.2 to 5.3. After rebooting, I found a few commands are not responding after the update.
The non-responding commands are:finger, groups,chown I did nothing after the update.
I am trying to determine if I should upgrade PHP's PEAR on my server. I am trying to check the version of PEAR currently installed. I am getting the following error when I use the pear -V command:Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)(/usr/share/pear:/usr/share/php) in System.php on line 459I tried adding /tmp to my php.ini file, but then when I use the pear -V command it doesn't do anything. I do not get any errors or anything.I am also trying to install symfony and have the same situation described above when I use the following command: pear cannel-discover pear.symfony-project.comDoes anyone have any thoughts? If not the solution, does anyone have any suggestions on how to begin troubleshooting this?
View 2 Replies View RelatedI have a problem while trying to get rpm fixed I removed it then it removed yum also. I was able to get rpm installed and tried to install yum there was a bunch of depency files i had to install. After that then every command results in Segmentation fault some commands work like pwd does but not ls, rpm, vi and most other ones ive tried. server is still up and running.
View 3 Replies View RelatedOur CentOS 5 server had a weird issue last Friday. We couldn't run any bash commands, such as ls, vi. It said that it could not find /bin/ls. The only commands we can run are internal commands, such as ps, cd. After we reboot the server, everything is back.
I don't know what's wrong with it. Does anyone give me a explanation?
For some reason, when using this kickstart file the commands in the post section chroot is not executed. I used the ksvalidator to check the syntax and its correct.
Code:
# Kickstart file.
install
cdrom
key --skip
lang en_US.UTF-8
[Code]...
Where can I put commands which should be executed just before
- logoff
- shutdown
I think there must be somewhere an opposite script to
.initrc
or
.bashrc
I have the following cron configuration in the 'crontab' file:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=<--- REMOVED -->
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
20 16 * * 1-5 root wget [URL]
07 30 * * 1-5 root wget [URL]
11 30 * * 1-5 root wget [URL]
My focus is on the three WGET commands. The problem is the first one works fine, runs at 4:20 p.m., but the other two never run! If I visit [URL] it works fine but cron never runs it.
I am getting Illegal instruction error commands like yum:
I have centos 5.3