Solutionz For IT Problems - Linux Commands Solutionz For IT Problems - Linux Commands

  • Home
  • Ubuntu
  • php
  • Forum
  • Home
  • Ubuntu
  • php
  • Forum

Showing category "Terminal Commands" (Show all posts)

Basic Linux Commands

Posted by on Saturday, April 3, 2010, In : Terminal Commands 
These list of Linux commands will help you when you are working with the Terminal

A

  • alias:         Allows you to set aliases and view the current aliases.
  • awk:          Search for a pattern within a file
  • alien:         Converts .tgz and rpm's to .deb format.
B
  • banner:       Prints characters as a poster.
  • badblocks:  Searches a device for bad blocks.
  • biff:             Turns mail notification on and off.
  • bg:             Move a job running in the foreground to the background.
  • bzip2:         Used to compre...

Continue reading ...
 

Print lines matching a pattern with the command : grep

Posted by on Saturday, December 12, 2009, In : Terminal Commands 
NAME
       grep, egrep, fgrep, rgrep - print lines matching a pattern

SYNOPSIS
       grep [OPTIONS] PATTERN [FILE...]
       grep [OPTIONS] [-e PATTERN | -f FILE] [FILE...]

DESCRIPTION
       grep  searches  the named input FILEs (or standard input if no files are named, or if a single hyphen-minus (-) is
       given as file name) for lines containing a match to the given PATTERN.   By  default,  grep  prints  the  matching
       lines.

       In addition, three variant programs egrep, fgrep and r...
Continue reading ...
 

Execute a command as another user with the command : sudo, sudoedit

Posted by on Saturday, December 12, 2009, In : Terminal Commands 
NAME
       sudo, sudoedit - execute a command as another user

SYNOPSIS
       sudo [-n] -h | -K | -k | -L | -V | -v

       sudo -l[l] [-AnS] [-g groupname|#gid] [-U username] [-u username|#uid] [command]

       sudo [-AbEHnPS] [-a auth_type] [-C fd] [-c class|-] [-g groupname|#gid] [-p prompt] [-r role] [-t type]
       [-u username|#uid] [VAR=value] [-i | -s] [command]

       sudoedit [-AnS] [-a auth_type] [-C fd] [-c class|-] [-g groupname|#gid] [-p prompt] [-u username|#uid] file ...

DESCRIPTION
 ...
Continue reading ...
 

Change user ID or become superuser with the command : su

Posted by on Saturday, December 12, 2009, In : Terminal Commands 
NAME
       su - change user ID or become superuser

SYNOPSIS
       su [options] [username]

DESCRIPTION
       The su command is used to become another user during a login session. Invoked without a username, su defaults to
       becoming the superuser. The optional argument - may be used to provide an environment similar to what the user
       would expect had the user logged in directly.

       Additional arguments may be provided after the username, in which case they are supplied to the user´s...
Continue reading ...
 

Remove files or directories with the command : rm

Posted by on Saturday, December 12, 2009, In : Terminal Commands 
NAME
       rm - remove files or directories

SYNOPSIS
       rm [OPTION]... FILE...

DESCRIPTION
       This manual page documents the GNU version of rm.  rm removes each specified file.  By default, it does not remove
       directories.

       If the -I or --interactive=once option is given, and there are more than three files or the -r, -R, or --recursive
       are  given,  then  rm  prompts  the user for whether to proceed with the entire operation.  If the response is not
       affirmative, the ...
Continue reading ...
 

Merge lines of files with the command : paste

Posted by on Saturday, December 12, 2009, In : Terminal Commands 
NAME
       paste - merge lines of files

SYNOPSIS
       paste [OPTION]... [FILE]...

DESCRIPTION
       Write lines consisting of the sequentially corresponding lines from each FILE, separated by TABs, to standard out‐
       put.  With no FILE, or when FILE is -, read standard input.

       Mandatory arguments to long options are mandatory for short options too.

       -d, --delimiters=LIST
              reuse characters from LIST instead of TABs

       -s, --serial
              paste one file at a ...
Continue reading ...
 

Copy files and directories with the command : cp

Posted by on Saturday, December 12, 2009, In : Terminal Commands 
NAME
       cp - copy files and directories

SYNOPSIS
       cp [OPTION]... [-T] SOURCE DEST
       cp [OPTION]... SOURCE... DIRECTORY
       cp [OPTION]... -t DIRECTORY SOURCE...

DESCRIPTION
       Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.

       Mandatory  arguments  to  long  options are mandatory for short options
       too.

       -a, --archive
              same as -dR --preserve=all

       --backup[=CONTROL]
              make a backup of each existing destination file

       -b     l...
Continue reading ...
 
« Back to posts
 
 

Make a free website with Yola