How to Stop all processes on linux
>> Wednesday, April 8, 2009
To Stop all the processes in the linux machine the command goes as below
Command: halt
Which will Stop all processes.
To Stop all the processes in the linux machine the command goes as below
Command: halt
Which will Stop all processes.
Starting & Stopping
>> Shutdown the system now and do not reboot
Command: shutdown -h now
>> Shutdown the system in 5 minutes and reboot
command: shutdown -r 5
>> Shutdown the system now and reboot
Command: shutdown -r now
>>Stop all processes and then reboot - same as above
Command: reboot
>> Start the X system
Command: startx
How to connect to the FTP?
On the command prompt type ftp command with the arguments
- ftp "REMOTE SERVER"
If your server is having the Authentication please provide the username and the password.If the login is successful then you are in the FTP to the REMOTE SERVER.
What are the commands can be used?
ascii
bell
binary
bye
case
cd remote-directory
cdup
chmod mode file-name
close
cr
delete remote-file
debug [debug-value ]
dir [remote-directory ] [local-file ]
disconnect
form format
get remote-file [local-file ]
glob
hash
help [command ]
idle [seconds ]
lcd [directory ]
ls [remote-directory ] [local-file ]
macdef macro-name
mdelete [remote-files ]
mdir remote-files local-file
mget remote-files
mkdir directory-name
mls remote-files local-file
mode [mode-name ]
modtime file-name
mput local-files
newer file-name [local-file ]
nlist [remote-directory ] [local-file ]
nmap [inpattern outpattern ]
ntrans [inchars [outchars ] ]
open host [port ]
prompt
proxy ftp-command
put local-file [remote-file ]
pwd
quit
quote arg1 arg2 ...
recv remote-file [local-file ]
reget remote-file [local-file ]
remotehelp [command-name ]
remotestatus [file-name ]
rename [from ] [to ]
reset
restart marker
rmdir directory-name
runique
send local-file [remote-file ]
sendport
site arg1 arg2 ...
size file-name
status
struct [struct-name ]
sunique
system
tenex
trace
type [type-name ]
umask [newmask ]
user user-name [password ] [account ]
verbose
Example
yourserver>ftp "REMOTE SERVER NAME"
ftp> get image1.jpg
This is used to transfer a image file from remote to the local machine.
What are other ftp methods available?
The Different methods of ftp's available are
Console FTP clients
NcFTP
lukemftp
lftp
cftp
yafc
gFTP
WXftp
guiftp
LLNL XDIR and XFTP
The linux copy command go as below
cp [OPTION]... SOURCE DEST
cp [OPTION]... SOURCE... DIRECTORY
cp [OPTION]... --target-directory
The copy command is used major copy operation some them are listed below
make a backup of each existing destination file
like --backup but does not accept an argument
copy contents of special files when recursive
same as --no-dereference --preserve=link
if an existing destination file cannot be opened, remove it and try again
prompt before overwrite
follow command-line symbolic links
link files instead of copying
always follow symbolic links
same as --preserve=mode,ownership,timestamps
don't preserve the specified attributes
always make simple backups
Example
File copy
cp file1.txt newdir
File copy from directory to other
cp /home/file.txt /home/file.bak
Copy all file to different directory
cp *.txt "destination directory"
Recursive copy
cp -r /home/files/* /home/backup
© Blogger templates Palm by Ourblogtemplates.com 2008
Back to TOP