IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Linux command in my everyday life

3 posters

Go down

Linux command in my everyday life Empty Linux command in my everyday life

Post by BIT0112-Rokon Wed Feb 09, 2011 12:47 pm

Linux command in my every day life:

ls – directory and file listing
ls -al formatted listing with hidden files
cd [directory_name] change directory to directory_name
cd goto home
pwd - present working directory
mkdir [directory_name] create a directory directory_name
rm [file_name] delete file_name
rm -r [directory_name] delete directory directory_name
rm -r [file_name] forcefully delete file file_name
rm -f [directory_name] forcefully delte directory directory_name
cp [file_1] [file_2] copy file_1 to file_2
mv [file_1] [file_2] rename or move file_1 to file_2
touch [file_name] create or update file_name
cat > [file_name] standard input into file_name
less [file_name] read file_name
chmod 777 [file_name] permission to read, write execute for all
chmod 755 [file_name] permission rwx for owrner, rx for group and world
ssh [user_name]@[host_name] – connect to host as user
ssh -p [port] [user_name]@[host_name] – connect to host on port as user
whereis [application_name] show possible location for application_name
locate [file_name] show possible location for file file_name
ping [host_name] ping to a host
whois [domain_name] get information for a domain
Ctrl +C halts the current command
Ctrl + Z stop the current command,
Ctrl + L clear the terminal texts
BIT0112-Rokon
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

http://blog.codexplo.org

Back to top Go down

Linux command in my everyday life Empty Re: Linux command in my everyday life

Post by BIT0122-Amit Thu Feb 10, 2011 1:41 am

If you give this command, your most used commands in terminal will show up Very Happy

Code:
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head

My commands are:

Code:
sudo
cd
fakeroot
lintian
man
ls
gzip
cat
killall
gunzip

Rokon explained most of them. Anyway,
fakeroot allows to run a command in root environment. (fake)
lintian is an utility software which can be used for checking the construction of a debian file.
man is obviously manual. Gzip is used for Gzipping.
Cat is used to show file contents. Killall is for killing things.
Gunzip is for Gunzipping Very Happy
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Linux command in my everyday life Empty Re: Linux command in my everyday life

Post by BIT0112-Rokon Thu Feb 10, 2011 9:31 am

my most used commands are

414 sudo
164 cd
129 ls
65 exit
21 chmod
16 less
14 man
14 echo
11 hello
7 ruby

I used exit 65 times. :p
BIT0112-Rokon
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

http://blog.codexplo.org

Back to top Go down

Linux command in my everyday life Empty Re: Linux command in my everyday life

Post by BIT0129-Tabassum Thu Feb 10, 2011 11:10 pm

Thanks for the first two posts Smile
rep++

My most used commands-

Code:
167 sudo
109 ping
102 cd
58 exit
37 man
32 lsusb
25 cbm
24 zoomdial
18 clear
14 tree

BIT0129-Tabassum
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

http://probe-tabassum.blogspot.com

Back to top Go down

Linux command in my everyday life Empty Re: Linux command in my everyday life

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum